Smba + LDAP - LDAP guide

Petr Kubánek petr at kubanek.net
Tue Jan 18 15:00:33 UTC 2011


Hi,

there seems to be error in the Samba - LDAP guide. Our experiences show
that command to add LDIF to LDAP:

ldapadd -x -D cn=admin,cn=config -W -f /tmp/cn\=samba.ldif

should be replaced with:

sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/cn\=samba.ldif 

as the first complaints with wrong credentials. We try different thinks
which we believe were password for admin,config, but we so far received
only "invalid credentials" with the first command.

If the first command works, please can someone provide password which
should be used?

Thanks a lot

Petr Kubanke
http://rts2.org





More information about the ubuntu-doc mailing list