I too have been having a terrible time install openLDAP - first on a
brand new 8.04 LTS server and now on another one (it's a development
box).
I do
sudo apt-get install slapd ldap-utils
then
sudo dpkg-reconfigure slapd
Saying "No" to Omit OpenLDAP server configuration? (which is confusing -
why not Continue openLDAP server configuration? then have the answer
default to "Yes")
DNS Domain Name as
imparisystems.local
Organization name as (What is this? What should it be?)
admin
Password / twice (my supersecret password)
Database backend to use HDB
Do you want the database to be removed when slapd is purged? No
Move old database? Yes
Allow LDAPv2 protocol? No
The configuration then comes back with
Stopping OpenLDAP: slapd.
Moving old database directory to /var/backups:
- directory unknown... done.
Creating initial slapd configuration... done.
Creating initial LDAP directory... done.
Reloading AppArmor profiles : done.
Starting OpenLDAP: slapd.
And then the first step is to configure your LDAP by typing
ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W olcDatabase={1}hdb
Enter LDAP Password:
And everytime I get
ldap_bind: Invalid credentials (49)
ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W
olcDatabase={1}hdb
--
OpenLDAP doc page is horrible
https://bugs.launchpad.net/bugs/355400
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs