Hai, How the value of ''userpassword'' is stored in the database(BDB)? I added an entry by specifying the following attributes, dn: uid=exuser,ou=People, dc=example,dc=com uid: exuser uid: 100 givenName: exuser userPassword: exuser123 objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson cn: exuser sn: exuser The user is added to the database succefully.I can able to see the encrypted password while retrieving it (but i am adding it using the clear text format). I want to know how the password is actually stored in the database? Pls advice me. --- Regards, Hariharan.R
David Boreham
2006-May-05 13:04 UTC
Re: [Fedora-directory-users] UserPassword value in backend?
> > > The user is added to the database succefully.I can able to see the > encrypted password while retrieving it (but i am adding it using the > clear text format). > > I want to know how the password is actually stored in the database?The hashed value is stored (much the same as /etc/passwd). You can dump the database using db_dump -p (get the right version for the version of BDB used in your FDS). The primary index is the file id2entry.db4. That''ll show you exactly what''s stored.