On Wed, Feb 02, 2011 at 10:49:55PM +0100, John Espiro wrote:
Ubuntu 10.10 server 64bit
...
Entering: ldapmodify -x -D 'cn=config' -W -f log.ldif
Gives me: Enter LDAP Password: ldap_bind: Invalid credentials (49)
Run ldapmodify on the same box as the server, as root. Point to the ldapi:/// URL, and use the EXTERNAL SASL mechanism. Drop the other authentication args (-x, -D, -W)
$ sudo bash # ldapmodify -Y EXTERNAL -H ldapi:/// ...rest of args...
Regards,
Brian.