linagora / obm-deploy

[ARCHIVED] Ansible based OBM deployment system
GNU General Public License v3.0
4 stars 8 forks source link

Setting ldap_rootpw for ldapadmin in the OBM database #37

Open recid opened 10 years ago

recid commented 10 years ago

This operation is necessary cause the automaton use the ldapadmin password defined in the obm database. However in the ldap role we define a password for ldapadmin. So we have 2 choices : 1/ Either we set in the slapd.conf template the SSHA footprint containing the default ldapadmin usersystem_password 2/ Or on the ldap role, we define a task which updates the ldaproot passwd directly in the database.

On the point 2/, we have to setup the openldap-clients packages or develop a postgresql module which launches SQL queries. The point 1/ is the fastest solution to implement

What do we do ?

recid commented 10 years ago

For the moment we choose the solution 1.

max-k commented 10 years ago

In my opinion, the better option is this one :

But this can be done later.