Samba4 Linux user has two uid's

Rowland Penny repenny at f2s.com
Thu Mar 21 14:01:48 MDT 2013


HI,
If You join a S3 client to a S4 domain you get a different uid on the 
client and server i.e.

Info from the client
$ id user
uid=21105(user) gid=20513(domain_users) 
groups=20513(domain_users),1101(BUILTIN\users)

Info from the server
# id user
uid=3000016(DOMAIN\user) gid=100(users) groups=100(users)

Now if you mount a share onto the client from the server via pam_script:

mount -t cifs //server/dropbox /home/dropbox -o 
username=user,cruid=userid,sec=krb5i,multiuser,nobrl,mapchars,mfsymlinks,noserverino 


If a file is now created in the share by the user, the user immediately 
looses all rights to it from the client.

Is this a CIFS problem or a Samba4 problem?

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba-technical mailing list