1) use of ldapi:/// fails:
ldap_url_parse_ext(ldapi:///????x-mod=0777)
daemon: bind(10) failed errno=2 (No such file or directory)
slap_open_listener: failed on ldapi:///????x-mod=0777
The cause seems to be that the ./configure script had bad settings -
the binary expects /var/run/run/ldapi instead of the proper
/var/run/ldapi
2) error in parsing the saved ldif file:
Setting up slapd (2.2.23-1) ...
Enabling LDAPv2 support... already enabled.
Updating config access directives... done.
Moving old database directories to /var/backups:
Loading from /var/backups/slapd-2.1.30-3:
- directory dc=cavein,dc=org... slapadd: could not parse entry
(line=316) failed.
Well, that was a helpful message (I know, not your fault) :)
The issue seems to be that slapcat created the root entry like this:
uidNumber: 0000
gidNumber: 0000
but slapadd barfs on that, saying it is an invalid number! Changing
the 0000 to 0 for the user and group settings worked fine
Versions of packages slapd depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii debconf 1.4.47 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libiodbc2 3.52.2-3 iODBC Driver Manager
ii libldap-2.2-7 2.2.23-1 OpenLDAP libraries
ii libltdl3 1.5.6-6 A system independent dlopen wrappe
ii libperl5.8 5.8.4-8 Shared Perl library
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii libslp1 1.0.11a-2 OpenSLP libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
ii perl [libmime-base64-perl] 5.8.4-8 Larry Wall's Practical Extraction
ii psmisc 21.6-1 Utilities that use the proc filesy
Message-Id: <email address hidden>
Date: Fri, 01 Apr 2005 16:24:53 -0800
From: Richard A Nelson <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: slapd: Unstable upgrade (2.1 -> 2.2) failures
Package: slapd
Version: 2.2.23-1
Severity: grave
Justification: renders package unusable
1) use of ldapi:/// fails: parse_ext( ldapi:/ //????x- mod=0777) listener: failed on ldapi:/ //????x- mod=0777
ldap_url_
daemon: bind(10) failed errno=2 (No such file or directory)
slap_open_
The cause seems to be that the ./configure script had bad settings -
the binary expects /var/run/run/ldapi instead of the proper
/var/run/ldapi
2) error in parsing the saved ldif file: slapd-2. 1.30-3:
Setting up slapd (2.2.23-1) ...
Enabling LDAPv2 support... already enabled.
Updating config access directives... done.
Moving old database directories to /var/backups:
Loading from /var/backups/
- directory dc=cavein,dc=org... slapadd: could not parse entry
(line=316) failed.
Well, that was a helpful message (I know, not your fault) :)
The issue seems to be that slapcat created the root entry like this:
uidNumber: 0000
gidNumber: 0000
but slapadd barfs on that, saying it is an invalid number! Changing
the 0000 to 0 for the user and group settings worked fine
-- System Information: ISO-8859- 1)
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages slapd depends on: base64- perl] 5.8.4-8 Larry Wall's Practical Extraction
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii debconf 1.4.47 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libiodbc2 3.52.2-3 iODBC Driver Manager
ii libldap-2.2-7 2.2.23-1 OpenLDAP libraries
ii libltdl3 1.5.6-6 A system independent dlopen wrappe
ii libperl5.8 5.8.4-8 Shared Perl library
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii libslp1 1.0.11a-2 OpenSLP libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
ii perl [libmime-
ii psmisc 21.6-1 Utilities that use the proc filesy
-- debconf information: fix_directory: true organization: dc=cavein, dc=org upgrade_ slapcat_ failure: ldap_v2: true no_configuratio n: false move_old_ database: true suffix_ change: false slave_databases _require_ updateref: database_ destdir: /var/backups/ slapd-VERSION autoconf_ modules: true password_ mismatch: config: true upgrade_ slapadd_ failure: database: when needed purge_database: false
slapd/
* shared/
slapd/
slapd/backend: BDB
* slapd/allow_
slapd/
slapd/
slapd/
slapd/
* slapd/dump_
slapd/
* slapd/domain: cavein.org
slapd/
* slapd/invalid_
slapd/
* slapd/dump_
slapd/
slapd/admin: