[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Backend meta with a Netscape DS bug ?
- To: openldap-devel@OpenLDAP.org
- Subject: Backend meta with a Netscape DS bug ?
- From: Florent Solt <florent.solt@gmail.com>
- Date: Thu, 29 Sep 2005 15:32:31 +0200
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EBJTA0EDCNkeT9Ud0ttaVD6YWQ8O7LxFji9jKyJ8r4d6XU9dDT0JcLozGw2OQdAcD65XvPA6sZNnfFZ7N7K2QDr9XK46Ijb+MtZDE5h+UwTs7UhhQQX7o6KP3eJPIxDXNEr1iLVWUOO8q94BdP5AS/OsQj6FxvvfFu4xBxAxaeA=
Hello all,
I recently configure a openldap 2.3.7 with a bdb and a meta backend.
The meta backend is subordinate to the bdb backend, like this :
database meta
subordinate
rootdn "cn=manager,o=dhcp,c=fr"
suffix "ou=machines,ou=paris,o=dhcp,c=fr"
uri "ldap://10.1.1.3/ou=machines,ou=paris,o=dhcp,c=fr"
acl-authcDN "cn=dhcpmanager,ou=paris,o=dhcp,c=fr"
acl-passwd "secret"
pseudorootdn "cn=dhcpmanager,ou=paris,o=dhcp,c=fr"
pseudorootpw "secret"
database bdb
suffix "o=dhcp,c=fr"
rootdn "o=dhcp,c=fr"
rootpw secret
directory /opt/openldap-2.3.7/var/openldap-data
index objectClass eq
The remote server is a Netscape directory server 4.12 (quite very old, i know :)
and when search through the meta backend i have this error :
slapd: schema_init.c:2089: IA5StringNormalize: Assertion
`!((val)->bv_len == 0)' failed.
Do you know why and perhaps, do you know how to solve it ?
PS: I tried this crappy patch in schema_init.c but it do not solve my problem :
+ if BER_BVISEMPTY( val ) {
+ int size = 5;
+ val->bv_val = malloc(size);
+ val->bv_val = strncpy(val->bv_val, "empty", size);
+ val->bv_len = size;
+ }
- assert( !BER_BVISEMPTY( val ) );
Thanks.