Operating System - HP-UX
1820724 Members
2985 Online
109627 Solutions
New Discussion юеВ

HP-UX CIFS and NFS Mounts to Windows Server

 
SOLVED
Go to solution
Jon Schneider_1
Advisor

HP-UX CIFS and NFS Mounts to Windows Server

I am having a problem and I have a question about proper implementation of NFS.

1.) When I mount a CIFS share on a Windows server as root, I can access it fine as root but no one else can, even with very explicit unix permissions to the mountpoint.

2.) Because of issue # 1 I have loaded Microsoft Services for Unix on my windows server but am experiencing difficulty mounting the NFS shares. As per usual...the MAN pages are worthless.

Any help would be appreciated.

Thanks
Thank you, sir! May I have another!?
7 REPLIES 7
Darren Prior
Honored Contributor

Re: HP-UX CIFS and NFS Mounts to Windows Server

Hi Jon,

Have a read about the "guestUser" config file variable in the CIFS client manual (available at http://docs.hp.com ) I believe this will give you the functionality you require.

regards,

Darren.
Calm down. It's only ones and zeros...
Steven E. Protter
Exalted Contributor

Re: HP-UX CIFS and NFS Mounts to Windows Server

There should be items in the event log of the microsoft server that should give the codes as to why the failure occured.

Also if the NFS shares or on Unix there should be entries in the /var/adm/syslog/syslog.log file

If the NFS shares are on Windows go back to the event log.

Implementation question. cifslogin should be able to mount normal Microsoft Windows share. All you need to make that work right is have a user on the Microsoft box and have that password securely stored for the cifslogin process to submit.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jon Schneider_1
Advisor

Re: HP-UX CIFS and NFS Mounts to Windows Server

SIn response to Darren:

Thank you...that kinda helps...but I can't give everyone access, it has to be limited, preferrably by unix account (i have groups set up and perms config'd on the mountpoint). Also, after authenticating to the Windows server I am still getting a "ksh: mnt: permission denied" error trying to cd to the folder.

In response to Steven:

RE: NFS - I am currently logging NFS events to a log file (attached) and it is of little or no assistance.

RE: CIFS - How are you suggesting, I currenlty sudo to root and mount it using "cifsmount //server.fqdn.dns/share /mnt/server/share -U username -P password -s" but it seems restricted to root.
Thank you, sir! May I have another!?
Darren Prior
Honored Contributor
Solution

Re: HP-UX CIFS and NFS Mounts to Windows Server

Hi Jon,

In that case I think each user would need to run cifslogin to authenticate themselves to the Windows server.

guestUser is ideal for when you want everyone to have access, but I guess you could use permissions to withhold access.

regards,

Darren.
Calm down. It's only ones and zeros...
Pablo Rudaeff
Advisor

Re: HP-UX CIFS and NFS Mounts to Windows Server

Hi Jon,
Did you check the sfu user mapping and the share permissions on the windows side?
Bests regards,
Pablo
Jon Schneider_1
Advisor

Re: HP-UX CIFS and NFS Mounts to Windows Server

Where would I find the sfu user mapping?
Thank you, sir! May I have another!?
Pablo Rudaeff
Advisor

Re: HP-UX CIFS and NFS Mounts to Windows Server

Hi Jon,
In the istallation of sfu ver 3.5 choose user mapping server. This services maps windows users (can be local or domain) to unix users.
There are two methods of work:
1. Simple mapping: the services tryes to map users and groups with the same name
2. Advanced Mapping: you need to map user by user and group by group manualy.

The way to do that: copy the passwd and group files from unix to the name server (Windows for SFU)

There is a lot of documentation in:
http://www.microsoft.com/sfu

Best regards,
Pablo