[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: fedora and openldap

Judith Flo Gaya wrote:
> Hello,
> After some time dealing with ldap and fedora, I'm stuck with an
> strange behaviour.
> I can successfully change the password for a certain user using the
> ldappasswd command, after this change (either done by the manager of
> the ldap or the same user) I can successfully ssh to the machine
> using this password.
> In this moment if I do slapcat I can see a password with this form:
> e01ENX1pMjcvdjYyeEFvNmI4R212YUdQeDZ3PT0=
> Instead if I change the password using the password command, I can
> see passwords much longer than the above one, this is what I can see
> after changing the passwd.

You use different password hash algos:

sh-3.2$ echo e01ENX1pMjcvdjYyeEFvNmI4R212YUdQeDZ3PT0= |base64 -d

sh-3.2$ echo e2NyeXB0fSQxJER1VDNiMEtQJE1GNmQ5UGo4YXhSQXp0RW9VNDVUNDA= |base64 -d

Maybe you should change to {SSHA}.