[Samba] Next uid with sambaUnixIdPool
npillao at hotmail.com
Tue Jan 11 04:03:06 MST 2011
I have a doubt trying to set the users' RID since when I join a machine into the domain through smbldap-useradd, this script queries to my domain what is the next uid number available (uidpool) and then add +1 to that uid for the next time. It is ok, the problem is when I want to create a posix sam account through PHPLdapAdmin, since I try it:
As you see, on the sidsuffix section, I try to query to (objectClass=sambaDomain)(sambaDomainName=domain_name) (my domain) what is the its uid and then with the true flag I try to add 1 the next uid for the next time and finally I calculate the RID *2;+1000. But it doesn't work since the value that I get is an autosearch.
Any advice will be really appreciate.
More information about the samba