[ILUG] Moving authentication to LDAP

Martin Feeney martin at tuatha.org
Thu Jan 31 14:36:44 GMT 2002


On Thu, 31 Jan 2002 14:16:51 Mel wrote:

> b) Migrating the passwd file in such a way that a persons ldap password
> is
>   the same as their login password. for this, the migrate_passwd tool is
>   not he answer. When I imported the encrypted password with {crypt} in
>   front of it, it didn't work. I suspect because the shadow passwords are
> md5

Try migrating the passwd file to an ldif.  Edit the produced ldif and 
substitute all instances of {crypt} with {md5}.  Then import that ldif.

Note you may also need libnss_ldap and change passwd, group and shadow in 
nsswitch.conf to "files ldap [nis [nisplus]]"

Martin.




More information about the ILUG mailing list