[Samba] samba-tool user create - how to get next available uid from active directory

John Gardeniers jgardeniers at objectmastery.com
Fri Sep 16 22:20:47 UTC 2016


Attached is a Perl script I use for this. Edit the domain and account 
info to suit your environment. We use a dedicate LDAP account for this 
kind of stuff.

regards,
John


On 17/09/16 00:32, niya levi via samba wrote:
> Hi all
>
> is there a way to retrieve the next available uid from the active
> directory to apply it  as a rfc2307 attribute to a new user ?
>
> shadrock
>
>



More information about the samba mailing list