[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap 2.4.9 dies adding uid of a single character (overlay unique uid)



291168@telefonica.net wrote:
openldap 2.4.9 Suse 11.0

The following entries has been added successfully:

	dn: o=my-org,dc=my-domain,dc=com
	dn: ou=People,o=my-org,dc=my-domain,dc=com
	dn: uid=rvg,ou=People,o=my-org,dc=my-domain,dc=com
	dn: ou=Servers,o=my-org,dc=my-domain,dc=com

Working with he basic configuration, only adding the overlay unique which is working fine. A same uid cannot be added to the branch People and Servers.

	overlay unique
	unique_uri ldap:///?uid?sub

But, in adding the following entry:

dn: uid=1, ou=People, o=my-org, dc=my-domain, dc=com
userPassword: secret
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
cn: xxxxxxxxxxxxx
sn: xxxxxxxxxxx
uid: 1

openldap dies

ldapmodify -a -x -D "cn=Manager,o=my-org,dc=my-domain,dc=com" -w secret ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

The last logs are:

Aug 28 09:28:32 localhost slapd[3423]: conn=1 op=1 ADD dn="uid=1,ou=Servers,o=my-org, dc=my-domain, dc=com"
Aug 28 09:28:32 localhost slapd[3423]: bdb_dn2entry("uid=1,ou=servers,o=my-org, dc=my-domain, dc=com")
Aug 28 09:28:32 localhost slapd[3423]: => bdb_dn2id("o=my-org, dc=my-domain, dc=com")
Aug 28 09:28:32 localhost slapd[3423]: bdb_dn2id("ou=servers,o=my-org, dc=my-domain, dc=com")
Aug 28 09:28:32 localhost slapd[3423]: bdb_dn2id("uid=1,ou=servers,o=my-org, dc=my-domain, dc=com")
Aug 28 09:28:32 localhost slapd[3423]: unique_add

<http://www.openldap.org/faq/data/cache/59.html> ?

p.


Ing. Pierangelo Masarati OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------