[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: userPassword Problem
Anup Chopra wrote:
> hi all,
> I have used LD AP Browser/Editor for creating userPassword attribute.
> But i have a problem here while reading this attribute. When i read this
> attribute with the openldap ldapsearch utility it works fine. But when i
> try and read this userPassword attribute with JNDI it gives me some
> garbage characters and then these characters change everytime i run the
> program. All the other attributes are being read properly through JNDI.
> Can anybody guess what the problem is ?? Can anybody using JNDI for
> reading userPassword attribute help me out by sending the code for
> doing the same. My code is attached .
> Thanks in advance
> Anup Chopra
>
I think that the problem is that the password is encrypted and JNDI doesn't decrypts the password. You have to find a way to go
arround the problem or to decrypt the password.
--
Rafael Alberto M. Torres (rmtorres@infopulse.pt)
Infopulse Portugal
Praça dos Poveiros 56 2º Sl. 4-8
4000 393 Porto
Portugal
Tel:+351 22 3389103 Fax:+351 22 3389104
http://www.infopulse.pt