[COLUG] NFS on Windows Unified Data Storage Server 2003

Scott Merrill skippy at skippy.net
Tue Aug 21 09:13:26 EDT 2007


Brian Miller wrote:
>> Windows UDS speaks CIFS, NFS2 and NFS3.  The file server is a member of
>> the Active Directory.  The workstations with which I am testing are
>> members of the AD, using Kerberos for login authentication, and LDAP for
>> nsswitch lookups.  From a Linux client, I can do `getent passwd` and
>> `getent group` to see those user and group accounts which have been
>> supplied with UNIX credentials within the AD.
>>
> 
>> I'm curious if anyone on the list has any insight that might assist me.
>>   Are there client-side NFS mount options I can try?  I'm currently
>> using these:
>> rw,nosuid,nodev,noatime,nodiratime,nfsvers=3,posix,rsize=32768,wsize=32768
>> I have tried with both nfsvers=2 and nfsvers=3.
>>
> 
> Have you considered using the smbmount option from Linux to Windows?  That 
> would authenticate the Linux user to AD using Windows protocols, and would 
> eliminate the use of NFS mounts.  It also means you don't have to mess around 
> with getting Windows to "speak Linux", but rather are using the Samba.org 
> hacks of the CIFS protocol.  

RHEL4 and and above use CIFS, rather than SMB.  I can execute this:
# mount -t cifs -o credentials=/etc/samba/ad.cred //fs1/home /mnt

But then the contents of the mount are all owned by root.  I can chown
and chgrp on a user's directory in the CIFS-mounted share, and I see on
the Linux client that ownership has changed.  The permissions on the
home directory are reported as mode 777; but as root I cannot access the
contents of that user's home directory.

Are the specific mount.cifs options you might recommend?

-- 
GPG 9CFA4B35 | skippy at skippy.net | http://skippy.net/


More information about the colug432 mailing list