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

Re: import userpassword via LDIF



At 10:04 PM 2/14/01 -0800, dannyman wrote:
>On Wed, Feb 14, 2001 at 09:38:47PM -0800, dannyman wrote:
>[...]
>> I have tried this in LDIF:
>> userpassword: {crypt}1234567890abc
>> userpassword: {CRYPT}1234567890abc
>> userpassword: 1234567890abc
>> 
>> The entry adds just fine, but when I try to ldapsearch, I get stuff like:
>> userPassword:: Zk9BeFZHZDZ0aHlsYw==
>> userPassword:: e2NyeXB0fWZPQXhWR2Q2dGh5bGM=
>[...]
>
>Yes ... ldapadd is base64-ifying my {crypt} passwords.
>
>:<

No, ldapsearch is presenting the value in base64 form.  The
value in the server is as you provided to the ldapadd.