Results 1 to 1 of 1
hello,
I'm using Ubuntu 10.04 server and I've just installed openldap using the command
Code:
apt-get install slapd ldap-utils migrationtools
During the installation, there was no prompt asking me to ...
- 09-08-2010 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 70
OpenLDAP admin password?
hello,
I'm using Ubuntu 10.04 server and I've just installed openldap using the command
During the installation, there was no prompt asking me to enter an administration password. Then I go to this OpenLDAP tutorialCode:apt-get install slapd ldap-utils migrationtools
At the step when I want to add new entry to the frontend LD, LDAP asking me for a password. I entered my password that was set using the olcRootPW as told in the tutorial but I come up with an error message saying "Invalid credentials (49)"Code:https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html
Here's my backend LDIF file.
What is the default password for OpenLDAP? Why can't I use the password set at the backend database?Code:# Load dynamic backend modules dn: cn=module,cn=config objectClass: olcModuleList cn: module olcModulepath: /usr/lib/ldap olcModuleload: back_hdb # Database settings dn: olcDatabase=hdb,cn=config objectClass: olcDatabaseConfig objectClass: olcHdbConfig olcDatabase: {1}hdb olcSuffix: dc=example,dc=com olcDbDirectory: /var/lib/ldap olcRootDN: cn=admin,dc=example,dc=com olcRootPW: administrator olcDbConfig: set_cachesize 0 2097152 0 olcDbConfig: set_lk_max_objects 1500 olcDbConfig: set_lk_max_locks 1500 olcDbConfig: set_lk_max_lockers 1500 olcDbIndex: objectClass eq olcLastMod: TRUE olcDbCheckpoint: 512 30 olcAccess: to attrs=userPassword by dn="cn=admin,dc=example,dc=com" write by anonymous auth by self write by * none olcAccess: to attrs=shadowLastChange by self write by * read olcAccess: to dn.base="" by * read olcAccess: to * by dn="cn=admin,dc=example,dc=com" write by * read
Thank you.


Reply With Quote