[ubuntu-uk] LDAP server Invalid credentials

Tony Travis a.travis at abdn.ac.uk
Tue Jan 18 14:06:55 UTC 2011

On 14/01/11 22:31, Jacob Mansfield wrote:
> I have been trying to set up an LDAP server for some time now. when I
> finally found an up-to-date tutorial at
> http://www.zarafa.com/wiki/index.php/Zarafa_LDAP_cn_config_How_To the
> first step of this has worked fine however when running the command
> ldapadd -x -D cn=admin,dc=cyberkingsolutions,dc=co,dc=up -W -f base.ldif
> I am prompted for a password. I enter the password I have used at all
> other points tn the tut and are met with a fail message: ldap_bind:
> Invalid credentials (49) when not entering a password at the prompt
> (just hitting return) I get ldap_bind: server is unwilling to perform
> (53) additional info: unauthenticated bind (DN with no password) disallowed.
> [...]

Hi, Jacob.

I'm struggling my way up the LDAP learning curve too ;-)

Look at the 'rootpw' settings in:


There can be different passwords for read access and admin access (e.g. 
to update). You can create a new password hash using:



Dr. A.J.Travis, University of Aberdeen, Rowett Institute of Nutrition
and Health, Greenburn Road, Bucksburn, Aberdeen AB21 9SB, Scotland, UK
tel +44(0)1224 712751, fax +44(0)1224 716687, http://www.rowett.ac.uk
mailto:a.travis at abdn.ac.uk, http://bioinformatics.rri.sari.ac.uk

More information about the ubuntu-uk mailing list