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 enter an administration password. Then I go to this OpenLDAP tutorial

Code:
https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html
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)"

Here's my backend LDIF file.

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
What is the default password for OpenLDAP? Why can't I use the password set at the backend database?


Thank you.