Hi all,
I have a notification when using slapadd: bdb_db_open: warning - no DB_CONFIG file found in directory /usr/local/openldap/var/openldap-data: (2)
I try to fix it following site: http://www.secure-computing.net/wiki/index.php/OpenLDAP
chown -R ldap:ldap /usr/local/openldap/var/openldap-data
buit it failed:
chown: invalid user: `ldap:ldap'
What's i'm doing wrong? Maybe i don't understand about openldap 2.4.6...
Please help,
Best Regards,
--
*********************************** EVERYTHING HAS JUST BEGUN...
On 08/28/2011 06:52 AM, Nguyen, Quoc Khanh wrote:
Hi all,
I have a notification when using slapadd: bdb_db_open: warning - no DB_CONFIG file found in directory /usr/local/openldap/var/openldap-data: (2)
I try to fix it following site: http://www.secure-computing.net/wiki/index.php/OpenLDAP
chown -R ldap:ldap /usr/local/openldap/var/openldap-data
buit it failed:
chown: invalid user: `ldap:ldap'
What's i'm doing wrong? Maybe i don't understand about openldap 2.4.6...
You need to change the user and group to what is appropriate on your own system.
Ok... I did aboves as root user. So i try: chown -R root:root /usr/local/openldap/var/openldap-data And it worked OK... Thanks for your information. Best Regards,
On 08/28/2011 11:23 AM, Nguyen, Quoc Khanh wrote:
Ok... I did aboves as root user. So i try: chown -R root:root /usr/local/openldap/var/openldap-data And it worked OK... Thanks for your information.
Note: Running OpenLDAP as root is not required nor recommended. You should use a dedicated, non-privileged user account.
openldap-technical@openldap.org