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

Jhon P
2015-03-23T21:37:02Z

Correct me if I'm wrong?

 You say that by RSAT and NIS I add a uid and gid for each user in the DC.
 As mentioned here:
https://wiki.samba.org/index.php/Using_RFC2307_on_a_Samba_DC#Check_if_RFC2307_is_used_by_your_Domain_Controllers

 If I do this, users are added to the passwd file on the domain controller or
saved to the db sam?

Im go to try this tomorrow.

That big problem is not provisioned with  RFC2307!!!!


> Date: Mon, 23 Mar 2015 20:55:23 +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 23/03/15 20:28, Jhon P wrote:
> > Question:
> > When you add users to the ADDC the UID users are always going to be
> > different from those obtained by the DC winbind Member?
>
> If you add uidNumbers & gidNumbers to users and groups you will get the
> same ID numbers everywhere, here is an example:
>
> On a DC:
>
> root at dc01:~# getent passwd rowland
> EXAMPLE\rowland:*:10000:10000:Rowland Penny:/home/EXAMPLE/rowland:/bin/bash
>
> And on my laptop (a linux client):
>
> rowland at ThinkPad ~ $ getent passwd rowland
> rowland:*:10000:10000::/home/rowland:/bin/bash
>
> >
> > I talk about destroy the member server, because I have the freedom to
> > do it again if necessary, this server is not in production.
> >
> > Regards.
> >
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba