Write hash password to LDAP when creating a new user
Posted
by
alibaba
on Server Fault
See other posts from Server Fault
or by alibaba
Published on 2013-10-18T08:48:57Z
Indexed on
2013/10/18
9:59 UTC
Read the original article
Hit count: 208
I am working on a project with a central user database system. One of the requirements of the system is that there should be only one set of users for all the application. FreeRADIUS and Samba are two my applications that both use LDAP as their backend. Since users must be the same for the entire system that contains many other applications, I have to read the list of users from the central database and recreate them in the LDAP directories for Samba and FreeRADIUS. The problem is that users are sent to me from another entity and I can save them in the database with their hash passwords. I don't have access to their cleartext passwords. I am wondering if I could enter directly a hash password for a new user in LDAP with my preferred hash mechanism. If not, can any one tell me what strategy I have to use?
I am running my server on UBUNTU 12.04 and all other applications are the latest versions. My database system is PostgreSQL 9.2.
Thank you
© Server Fault or respective owner