[Samba] Replicating "samba-tool user create"-behaviour via ldap

Luca Olivetti luca at wetron.es
Fri May 8 11:56:58 MDT 2015


El 08/05/15 a les 18:43, Johannes Amorosa | Celluloid VFX ha escrit:

> Can someone point me to a documentation
> which settings need to be set via ldap - basically copying the
> samba-tool behaviour adding an (unprivileged ) user.
> Is this even possible via ldap?

Yes, it is possible.
Look here for some code snippets:
http://marcitland.blogspot.com.es/2011/02/python-active-directory-linux.html
Not everything there is needed and it's not 100% copy & paste but it
will give you an overview of the steps required to create a user.


Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004  Fax +34 935883007


More information about the samba mailing list