We have been trying to integrate open ldap with jetspeed 1.4b3. I could talk
to ldap etc. But the authentication fails beacause of the function
UnixCrypt.crypt () We had the same password in both ldap and also entered the
same password thru jetspeed, but it looks like the passwords mismatch somehow.
I was wondering if the encryption methods have to be the same. Could any please
throw some light on this.

I looked at the source code and found that ldap authentication class was doing
this, it took the password from ldap for a given user, took the first serven
characters off, and sent it to the UnixCrypt.crypt method. the crypt method
took the 3 characters from this string as salt, and tried to encrypt the user
entered password and match it. I wasn't sure why the first seven characters of
the ldap password were removed.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to