Operating System - Linux
1828923 Members
2433 Online
109986 Solutions
New Discussion

Re: SFU 3.5 NFS server -> export users home drive to Linux

 
Donny Jekels
Respected Contributor

SFU 3.5 NFS server -> export users home drive to Linux

I have installed sfu 3.5, nfs server, nfs suthentication server.

installed sfu 3.5 on all my DC's with NIS and user name mapping. ldap user integration works great adn added kerberos authentication.

Now I am trying to use NFS from windows .

The share mounts fine, but hangs when I cd into the mounted file system or trying to do a file listing.

any ideas?
"Vision, is the art of seeing the invisible"
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: SFU 3.5 NFS server -> export users home drive to Linux

Shalom Donny,

I suspect the user id of the windows box does not match any user ID on the NFS share system.

From ssh/telnet, lets see the permissions on the folder. ls -la

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
Donny Jekels
Respected Contributor

Re: SFU 3.5 NFS server -> export users home drive to Linux

SEP, high long time no speak/chat/post etc..

anyway below is the df for the mounted file system from Windows.

chiwsp011:/support 293515584 186487104 107028480 64% /mnt/ntfs
[djekels@corlap001 ~]
$

This ID does not live in /etc/passwd its mapped in AD

[djekels@corlap001 ~]
$ id
uid=1017(djekels) gid=1000(dvmt) groups=1000(dvmt)


and I am logged in over ssh with kerberos credents
[djekels@corlap001 ~]
$ env | grep SSH
SSH_CLIENT=10.20.5.140 3184 22
SSH_TTY=/dev/pts/0
SSH_CONNECTION=10.20.5.140 3184 10.20.5.62 22
[djekels@corlap001 ~]

not that the kerberos credents are used for the NFS communications, just thought I'd bring you upto speed on my setup.

[djekels@corlap001 ~]
$ klist
Ticket cache: FILE:/tmp/krb5cc_1017_oQhgQV5511
Default principal: djekels@BREAKWATER.COM

Valid starting Expires Service principal
03/27/06 09:21:48 03/27/06 19:03:24 krbtgt/BREAKWATER.COM@BREAKWATER.COM
renew until 04/03/06 10:03:24


I am using putty with gssapi compiled and log into linux wiht my windows credentials.

"Vision, is the art of seeing the invisible"
Donny Jekels
Respected Contributor

Re: SFU 3.5 NFS server -> export users home drive to Linux

# ls -ld /mnt/ntfs
drwx------ 2 nfsnobody nfsnobody 64 Mar 20 15:04 /mnt/ntfs

ok. now I see the perm on the nfs share. but on linux I cannot mount a share as a regular user...
"Vision, is the art of seeing the invisible"
Bill Thorsteinson
Honored Contributor

Re: SFU 3.5 NFS server -> export users home drive to Linux

Add user to the options on the mount in
/etc/fstab, and users should be able to mount
the share.

Alternatively, use the automounter, and let
it mount the share when needed.