Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: hgomez on January 19, 2005, 08:30:40 PM

Title: how to know what is in /etc/openldap/ldap.pw
Post by: hgomez on January 19, 2005, 08:30:40 PM
I'm implementing SAMBA+PDC+LDAP, all is working fine, but I don’t know what password is using to rootdn, with esmith::util::LdapPassword (); can be obtained but is possible obtain it in clear text????
Thanks.
Title: Re: how to know what is in /etc/openldap/ldap.pw
Post by: CharlieBrady on January 19, 2005, 09:42:14 PM
Quote from: "hgomez"
I'm implementing SAMBA+PDC+LDAP, all is working fine, but I don’t know what password is using to rootdn, with esmith::util::LdapPassword (); can be obtained but is possible obtain it in clear text????
Thanks.


That is in clear text.

If you are doing development work, please discuss it (and seek help) on the devinfo mailing list.
Title: Re: how to know what is in /etc/openldap/ldap.pw
Post by: hgomez on January 21, 2005, 06:25:22 PM
Quote from: "CharlieBrady"
Quote from: "hgomez"
I'm implementing SAMBA+PDC+LDAP, all is working fine, but I don’t know what password is using to rootdn, with esmith::util::LdapPassword (); can be obtained but is possible obtain it in clear text????
Thanks.


That is in clear text.

If you are doing development work, please discuss it (and seek help) on the devinfo mailing list.


Ok, let me redifine my question: How I can to know what is in /etc/openldap/ldap.pw? I know I can change it, in fact is what I do, but may I using the deafault password in it? for example: If U install phpldapadmin, it take password from this file and in order to work.

right now it has: {SSHA}xo1bpqkVewUIerhhJ+4c0/SGw0aA0d2g that mean "secret".
Thanks.
Title: how to know what is in /etc/openldap/ldap.pw
Post by: gregswallow on January 21, 2005, 07:23:32 PM
AFAIK, the ldap password is also stored in /root/.my.cnf (it is the mysql root password as well).
Title: Re: how to know what is in /etc/openldap/ldap.pw
Post by: hmuhammad on January 21, 2005, 07:36:36 PM
Quote from: "hgomez"


right now it has: {SSHA}xo1bpqkVewUIerhhJ+4c0/SGw0aA0d2g that mean "secret".
Thanks.


Not secret... rather long and hard to guess/remember...

... that long string of characters *is* the clear text password, not an encrypted representation.

Hasan

P.S.

You'll find interests/help for development of your package at http://lists.contribs.org/mailman/listinfo/devinfo
Title: Re: how to know what is in /etc/openldap/ldap.pw
Post by: gregswallow on January 21, 2005, 08:04:35 PM
Quote from: "hmuhammad"
... that long string of characters *is* the clear text password, not an encrypted representation.
Are you sure about that?  On my server the password is 76 characters long, and does not contain {SSHA} at the beginning...

hgomez, Are you using 6.0.1 or 6.5beta1?  Did you update the openldap rpm?  It might also be in clear text in /etc/openldap/slapd.conf - it is on my server anyways.