[Samba] How to provision many users with unix Attributes without RSAT
luis.sanchez.sanchez at gmail.com
Thu Jan 22 09:56:37 MST 2015
I would like to provision a huge number of users to a Samba AD/DC and I
would like to have the unix attributes set too. I don't want to use the
RSAT GUI and manually set each.
Is there any tool or script I can use to get that?
I have identified some attributes in the AD that are added when I set unix
attributes with RSAT GUI. However there must be more changes...
These are the attributes:
I don't know how the unixUserPassword is obtained.
The uid and uidNumber must be unique afaik, but there must be a last used
uid or something... If I add the unix attributes manually without the RSAT
GUI (the uid is the next free one) when I run the RSAT GUI on another user
it chooses a uid already used.
More information about the samba