Does anyone know how to find the next available UID and GID values for the
users and groups when setting their Unix attributes? There are suggestions
that this can be done by searching the entire directory for users and groups,
get their UID and GID values and find out the next one. Before I go down this
path, I would like to know if there is better solutions.
Thanks
- Ashish
When you import an NIS domain, initially there is no value set for the
attributes msSFU30MaxUidNumber and msSFU30MaxGidNumber. On the system that I
have, the ADUC sets the uid to 10000 the first time I added a user to the NIS
domain. Do you know how it decides what number to use initially?
Thank a lot.
Nick
- Ashish
Another question if I may.
With ADUC, when you add an AD user to an NIS domain, it also sets values for
attributes "msSFU30Name", "uid" and "unixUserPassword". My questions is where
it gets the values for those attributes. It seems that it sets the values for
"msSFU30Name" and "uid" using the same value of either "cn", "displayName" or
"name" attributes. For the "unixUserPassword", I am assuming it is just set
to the same value as the user's AD password.
Thanks
Nick
Thanks
Nick
msSFU30Name and uid can be set to the same value as sAMAccountName.
unixUserPassword attribute contains users' NIS password and it is
populated by the password filter that is installed when you install
Password Sync component on the DCs. This password filter intercepts
the password at password change, encrypts it using crypt or md5 and
stores the hash in unixUserPassword that is later used by Server for
NIS to authenticate the users over NIS.
- Ashish