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

ldap-backend binary-attribute (ITS#1491)



Full_Name: Rechtberger Friedrich
Version: 2.0.18
OS: Debian Linux 2.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.116.64.10)


server configured with --enable-ldap=yes --with-ldap-module=static

I use the server as an ldap-proxy "database ldap".
The schema definitions included in slapd.conf are core.schema, cosine.schema,
inetorgperson.schema.

1.) using: request userCertificate not binary
ldapsearch -h ldapproxy.at -b "o=Organization" "cn=Name" "userCertificate"
brings as result the dn and userCertificate with the values
output with ./slapd -d2 shows 

request 1 done
ber_flush: 97 bytes to sd 10
ldap_write: want=97, written=97
ldap_read: want=1, got=1
ldap_read: want=1, got=1
ldap_read: want=2, got=2

ldap_read: want=2103, got=2103      ......->dn + userCertficate
ber_flush: 2107 bytes to sd 9       ......->dn + userCertficate
ldap_write: want=2107, written=2107 ......->dn + userCertficate

... and all is o.k. for the client

2.) using: request userCertificate binary
ldapsearch -h ldapproxy.at -b "o=Organization" "cn=Name"
"userCertificate;binary" 
brings as result only the dn
output with ./slapd -d2 shows 

request 1 done
ber_flush: 104 bytes to sd 10
ldap_write: want=104, written=104
ldap_read: want=1, got=1
ldap_read: want=1, got=1
ldap_read: want=2, got=2

ldap_read: want=1102, got=1102   ......->dn + userCertficate
ber_flush: 70 bytes to sd 9      ......->only dn, where is the certificate ?
ldap_write: want=70, written=70  ......->dn

and nothing o.k.
What cuts userCertificate ?

Is this a OpenLDAP's problem?
Best regards!