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

Re: Question about 'userpassword' value



Dieter Kluenter wrote:
> ZhangPu <zhang@fjh.fujitsu.com> writes:
>
>>Question 1:
>>
>>>If userpassword value is stored with base64 code in database,
>>>is this base64 value fixed?
>
> The value of the attribute userpassword is not stored base64 encoded,
> but only the input/output value is displayed base64 encoded, see RFC
> 2849.

This is not entirely correct. Salt and hash are indeed base64-encoded and the hashing scheme is prefix.

But yes, userPassword attribute is completely base64-encoded in LDIF output of ldapsearch.

See various articles under

http://www.openldap.org/faq/data/cache/419.html

Ciao, Michael.