Johannes Amorosa | Celluloid VFX
2015-May-08 16:43 UTC
[Samba] Replicating "samba-tool user create"-behaviour via ldap
Hi, right now we're wrapping "samba-tool user add somthing " in a script to add a user in our samba 4.1 AD environment. We're doing all kinds of (read-only) queries which works fine for us. We need more control so I want to get rid of this limitation and do our user management directly via ldap. I'm unsure which entries I need to set via ldap, so we don't break our database. 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? Thank you for your time JA Linux cell-dc-04 3.8.0-44-generic #66~precise1-Ubuntu SM sernet-samba-ad 4.1.17 -- Johannes Amorosa | Celluloid VFX
Luca Olivetti
2015-May-08 17:56 UTC
[Samba] Replicating "samba-tool user create"-behaviour via ldap
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
Johannes Amorosa | Celluloid VFX
2015-May-12 08:25 UTC
[Samba] Replicating "samba-tool user create"-behaviour via ldap
On 05/08/2015 07:56 PM, Luca Olivetti wrote:> 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. > > > ByeThank you ! -- Johannes Amorosa | Celluloid VFX