[Pkg-openldap-devel] Bug#440632: ldapadd with 'objectClasses' instead of 'objectClass' brings slapd down

Thomas Sesselmann thomas.sesselmann at kip.uni-heidelberg.de
Mon Sep 3 09:23:31 UTC 2007


Package: slapd
Version: 2.3.30-5
Severity: grave



Hello,

i am used debian etch.

I am wrongly used the misspelling Attribute 'objectClasses' instead of 'objectClass'
in ldapadd and then the slapd dies ...

I have verified this with a new (debian default) installation
with no special things and anonymous ldapadd!




floh at lenny:~$ ldapadd -x
dn: uid=test5,ou=SONST,ou=people,dc=kip.uni-heidelberg,dc=de
objectClasses: top


adding new entry "uid=test5,ou=SONST,ou=people,dc=kip.uni-heidelberg,dc=de"
ldap_add: Invalid syntax (21)
        additional info: objectClasses: value #0 normalization failed


=> now there are no slapd-processes left ... (the slapd process is dead)

floh at lenny:~$ ldapsearch -h ldap uid=test4
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)

root at ldap:~# ps -ef |grep slap
root     21036 14161  0 10:30 pts/0    00:00:00 grep slap



The Log '/var/log/syslog' for the crash (loglevel 4095):
Sep  3 10:32:50 ldap slapd[21091]: daemon: read activity on 12
Sep  3 10:32:50 ldap slapd[21091]: connection_get(12)
Sep  3 10:32:50 ldap slapd[21091]: connection_get(12): got connid=3
Sep  3 10:32:50 ldap slapd[21091]: connection_read(12): checking for input on id=3
Sep  3 10:32:50 ldap slapd[21091]: ber_get_next on fd 12 failed errno=11 (Resource temporarily unavailable)
Sep  3 10:32:50 ldap slapd[21091]: daemon: select: listen=6 active_threads=0 tvp=NULL
Sep  3 10:32:50 ldap slapd[21091]: daemon: select: listen=7 active_threads=0 tvp=NULL
Sep  3 10:32:50 ldap slapd[21091]: daemon: select: listen=8 active_threads=0 tvp=NULL
Sep  3 10:32:50 ldap slapd[21091]: do_add
Sep  3 10:32:50 ldap slapd[21091]: >>> dnPrettyNormal: <uid=test5,ou=SONST,ou=people,dc=kip.uni-heidelberg,dc=de>
Sep  3 10:32:50 ldap slapd[21091]: <<< dnPrettyNormal: <uid=test5,ou=SONST,ou=people,dc=kip.uni-heidelberg,dc=de>, <uid=test5,ou=sonst,ou=people,dc=kip.uni-heidelberg,dc=de>
Sep  3 10:32:50 ldap slapd[21091]: do_add: dn (uid=test5,ou=SONST,ou=people,dc=kip.uni-heidelberg,dc=de)
Sep  3 10:32:50 ldap slapd[21091]: conn=3 op=4 ADD dn="uid=test5,ou=SONST,ou=people,dc=kip.uni-heidelberg,dc=de"
Sep  3 10:32:50 ldap slapd[21091]: <= str2entry NULL (ssyn_normalize 21)
Sep  3 10:32:50 ldap slapd[21091]: send_ldap_result: conn=3 op=4 p=3
Sep  3 10:32:50 ldap slapd[21091]: send_ldap_result: err=21 matched="" text="objectClasses: value #0 normalization failed"
Sep  3 10:32:50 ldap slapd[21091]: send_ldap_response: msgid=5 tag=105 err=21
Sep  3 10:32:50 ldap slapd[21091]: conn=3 op=4 RESULT tag=105 err=21 text=objectClasses: value #0 normalization failed






best regards

Thomas Sesselmann

-- 
Dipl.-Inf. Thomas Sesselmann         __O
Kirchhoff-Institut für Physik      _\-<,
Universitaet Heidelberg          _(_)/(_)_
INF227 / D-69120 Heidelberg
Tel.:   +49/6221/54-9132
E-Mail: Thomas.Sesselmann at kip.uni-heidelberg.de
gpg-key: 0x9392E54B  or finger -l tsesselm at ix.urz.uni-heidelberg.de





More information about the Pkg-openldap-devel mailing list