[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
"new style" on ubuntu 8.04
- To: list openldap-technical <openldap-technical@openldap.org>
- Subject: "new style" on ubuntu 8.04
- From: Luis Paulo <luis.barbas@gmail.com>
- Date: Wed, 31 Mar 2010 04:33:27 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=7Xs+oErdi7+6E2jiRxNnDZBth7kVm9ZP2J/yMXmuHiU=; b=cMLfWL/SY1jj9mTSvbq3UOcCtwYKGg/B+JpDN27GyJNd4VJZbYuNsmRDrPncNErHIh WfnqWK7Z4gM4YbFEned3Cv6Cr7G1SySsqsYJ+XIaI5sZrD3WXOShcpFQHcNs0JNYleRl +elJCqYocSSSbf0I41d/PbQAVTTtLmKCMidLY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nUPwdrvSMLFkhApyjv3/5saTn2ggkTfeCVDz8j/i4UfPOppTKCDUZVmk3b4sIKkZW+ 03P1mNwG2eesD1mbHPlbASGdnS2lx1G4M0kbHFhG8aV3YsNK1MEl1hG2R2x3wK+lq6pS j2dNwktKQhiY/rRofQfwzzD1uANoVDWtd3ekU=
Hi, all
I am installing openldap for the first time. On ubuntu 8.04 server.
Things are going, I have a server, still without SASL, and a client working.
I used the migration tools, and set rootdn and rootpw on my database conf
I was reading a bit more, and I saw a command that didn't work
$ ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W olcDatabase={1}hdb
on https://help.ubuntu.com/9.10/serverguide/C/openldap-server.html (note, 9.10, not 8.04)
A bit more reading, and I tried to get the "new style" configuration as in http://www.openldap.org/doc/admin24/slapdconf2.html with
$ sudo mkdir /etc/ldap/slapd.d
$ sudo chown -R openldap:openldap /etc/ldap/slapd.d
$ sudo slaptest -f /etc/ldap/slapd.conf -F /etc/ldap/slapd.d
and change, in /etc/default/slapd,
SLAPD_CONF=/etc/ldap/slapd.d
Still can't run the command (with the plain rootpw password from the old slapd.conf)
$ ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W olcDatabase={1}hdb
ldap_bind: Invalid credentials (49)
I've read http://www.openldap.org/doc/admin24/appendix-common-errors.html
and am now trying to check things and reading around the "new style" and ACL's.
Should I be able to run that command and use the "new style" with ubuntu 8.04 (hardy)?
If so, I'll thank you for any help.
PS:
ii slapd 2.4.9-0ubuntu0.8.04.3 OpenLDAP server (slapd)
ii ldap-utils 2.4.9-0ubuntu0.8.04.3 OpenLDAP utilities
ii migrationtools 47-3ubuntu2 Migration scripts for LDAP
Linux main 2.6.24-27-server #1 SMP Fri Mar 12 01:23:09 UTC 2010 x86_64 GNU/Linux