Hariharan R
2006-Jul-03 12:40 UTC
[Fedora-directory-users] Retrieving User Password From Fedora Directory Server
Dear all, I am using FDS 7.2 on FC3 for my development. I am storing userprofile along with user password to the FDS database (BDB). When i look the user profile in console i seen that the password value has been encrypted. Fine. If i do ''ldapsearch'' , it doesn''t returns the ''userpassword'' attribute and its value. How i can get the userPassword attribute and it''s value using LDAP search command. Is there is any way to convert the encrypted password to plain text one. I am in an urgent need , so please any one guide me. Thanks in advance. --- Regards, Hariharan.R
Felipe Alfaro Solana
2006-Jul-03 12:46 UTC
Re: [Fedora-directory-users] Retrieving User Password From Fedora Directory Server
> I am using FDS 7.2 on FC3 for my development. I am storing userprofile > along with user password to the FDS database (BDB). When i look the user > profile in console i seen that the password value has been encrypted. > Fine. If i do ''ldapsearch'' , it doesn''t returns the ''userpassword'' > attribute and its value.> How i can get the userPassword attribute and it''s value using LDAP > search command. Is there is any way to convert the encrypted password to > plain text one.You can''t... when you set/change the password, it''s processed by hashing function and the result value is stored in the userPassword attribute. You can, however, disable that kind of processing and store the passwords in cleat-text (which I would recommend against since it''s a security hole) by using the console to configure the password-hashing mechanism and setting it to none.
Jeff Gamsby
2006-Jul-03 16:26 UTC
Re: [Fedora-directory-users] Retrieving User Password From Fedora Directory Server
Hariharan R wrote:> Dear all, > > I am using FDS 7.2 on FC3 for my development. I am storing > userprofile along with user password to the FDS database (BDB). When i > look the user profile in console i seen that the password value has > been encrypted. > Fine. If i do ''ldapsearch'' , it doesn''t returns the ''userpassword'' > attribute and its value.Are you doing an ''ldapsearch'' as "Directory Manager"? Try ''-D "Directory Manager" -w -''> How i can get the userPassword attribute and it''s value using LDAP > search command. Is there is any way to convert the encrypted password > to plain text one.No. AFAIK the hashes are one-way.> > I am in an urgent need , so please any one guide me. > > Thanks in advance. > > --- > Regards, > Hariharan.R > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users