[Samba] Samba3/OpenLDAP2.1.x Tools

Benjamin Krein superbenk at superk.org
Thu Aug 14 17:16:41 GMT 2003

I'm trying to configure a Samba3/OpenLDAP2.1.x PDC following the very
sparse documentation that is out there with little success.  My current
issue is finding a set of tools that will work successfully with Samba3
and the new samba.schema that works with OpenLDAP2.1.x.  I've been
trying recently to get the IDEALX tools to work, but without success.  

Does anyone have any suggestions on which tools to use for account
maintenance with an LDAP backend?  I'd hate to have to create all my
accounts individually by hand everytime I wanted to add a new machine or
something.  Plus I'm not sure how the SID's are created.

Here is my latest output from the IDEALX smbldap-useradd.pl tool while
trying to create a machine account.  The posixAccount portion gets
completed, but it fails to add the sambaSamAccount information:

debian:/usr/local/sbin# smbldap-useradd.pl -w test
sh: line 1: /usr/local/sbin/mkntpwd: No such file or directory
ldapmodify: update failed: uid=test$,ou=Computers,dc=domain,dc=com
ldap_modify: Invalid syntax (21)
        additional info: sambaLMPassword: value #0 invalid per syntax
/usr/local/sbin/smbldap-useradd.pl: error while adding samba account to

PS  I'm using OpenLDAP 2.1.22, Samba3 beta2, IDEALX tools ver. 1.14,
Debian sid.

Benjamin Krein

More information about the samba mailing list