[Samba] Winbind Understanding

Ryan Kather rkather at missionpenguin.com
Wed Aug 3 13:25:15 GMT 2005


> try to mount with cifs and uid/gid option (-o uid=winusers)

I think you misunderstand my intent.  Mounting with cifs and uid/gid
options, presents every file on the system as owned by the mounted user.

For Example;

mount -t cifs -o username=someuser,domain=THEDOMAIN,uid=10345,gid=10035
//WINDOWS/SHARE /mnt/SHARE

ls -al /mnt/SHARE/wugudp.dll

-rwxrwSrwt  1 THEDOMAIN\someuser THEDOMAIN\citrix users 49152 May 29  2002
wugudp.dll

getfacl wugudp.dll
# file: wugudp.dll
# owner: THEDOMAIN\134someuser
# group: THEDOMAIN\134citrix\040users
user::rwx
group::rw-
other::rwx

I am not looking to present the mounted filesystem with rights matching
the mounted user.  I am looking for a way to present the mounted
filesystem with the real windows users.  IE, if winbind says
THEDOMAIN\Administrator is uid 10369 The owner of wugudp.dll should be
10369 in the mounted cifs share.

Is there a way I can present the actual Windows owners and groups as Linux
owners and groups?  I thought this was the purpose of winbind with windows
ACL mapped to the Linux extended ACL.

> greez

Tell me about it :)



More information about the samba mailing list