[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: unable to perform authenticated binds

--On Tuesday, November 02, 2010 11:07 PM +0100 Benjamin Griese <der.darude@gmail.com> wrote:

Hello Tim,

the "password" you supply won't work, as it is not encoded in base64.

Try to generate a password hash + base64-enc with "slappasswd" and set
this string as your password hash for rootpw.


There is no requirement that the password value for the rootpw entry in slapd.conf be SSHA hashed or Base 64 encoded.


rootpw	secret

is perfectly valid.

Also, an LDIF file with

userPassword: secret

is also perfectly valid, as either slapadd or slapd (via ldapadd) will take care of encoding it to Base64.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration