[Samba] New User NIS Domain & UID
viktor at troja.ch
Sat Nov 14 07:41:36 UTC 2015
I had exactly the same questions to the list about two months ago. See
my answers to you below in your text.
On 14.11.2015 06:25, Henry McLaughlin wrote:
> I have created an AD domain controller using the following guide:
> I am seeking to setup a domain member using the following guide:
> I have opted to use idmap_ad using the following guide:
> All of the kerberos and DNS tests pass.
> On the member server wbinfo -u lists all the users
> On the member server wbinfo -g lists all the groups:
> On the member server getent passwd only lists only the users where a unix
> id has been set in ADUC.
> Does this mean the NIS domain and UID must be set for every user manually
> using the following:
Yes, it's just like that.
> It appears strange that this is not done when the domain was originally
> When creating a new user is there a way to specify a default NIS domain and
> have the UID set automatically?
There seems no built-in way to do so, unfortunately. I guess that's
because Samba does not want to assume a "one size fits all" approach. In
order to achieve this, you would have to script user creation.
More information about the samba