[Samba] UID and GID mapping throw DC and Member DC

Jhon P patocius at hotmail.com
Wed Mar 25 08:43:40 MDT 2015


hehe, nice.
Ok, I will use user.map on the member server, It sounds more puritanical. XD


> Date: Wed, 25 Mar 2015 13:02:15 +0000
> From: rowlandpenny at googlemail.com
> To: samba at lists.samba.org
> Subject: Re: [Samba] UID and GID mapping throw DC and Member DC
> 
> On 25/03/15 12:36, Jhon P wrote:
> > Ok, im try add uidNumber for the user and it works, on both servers 
> > UID is equal. :-)
> > I can change the uid of the administrator or it may cause problems?
> >
> 
> There are two schools of thought here, you can add a uidNumber to 
> 'Administrator' but if you do this, you will have to change ownership 
> from 'root'  to 'Administrator' of anything that needs to be changed 
> from windows. You can instead, map 'Administrator' to 'root' on a member 
> server with a line in smb.conf: 'username map = /etc/samba/user.map' and 
> the map file '/etc/samba/user.map' containing:
> 
> !root = DOMAIN\Administrator DOMAIN\administrator Administrator 
> administrator
> 
> This is done automatically on an AD DC without the map file.
> 
> You pay your money and take your choice :-)
> 
> Rowland
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
 		 	   		  


More information about the samba mailing list