[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd crushed when modify schema
- To: <openldap-software@OpenLDAP.org>
- Subject: slapd crushed when modify schema
- From: "William.Zhang" <william.zzw@gmail.com>
- Date: Thu, 15 Jun 2006 16:21:30 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=DWzjd5VSfFXXVHp2cZwoGU8C0VT8cBbkTUp1nDRETPFKjh+phdyLqnP0wPcybKLxsmmIU6Bb7TE9JL0TVa6d/1G8BGX0rX2PV4QazL14yjeak91vYklUFY6uOwC+7/PlqeWkx/XQ1XFMZQDxUNUfv0w0ngF4q24MrUyjK1evovw=
hi, all
I want to add a object and attribute by config database,
here is my ldif:
dn: cn={2}test,cn=schema,cn=config
changetype: add
objectClass: olcSchemaConfig
cn: {2}test
olcObjectIdentifier: {0}TestRoot 1.3.6.1.4.1.1000
olcObjectIdentifier: {1}TestAttributeType TestRoot :3
olcObjectIdentifier: {2}TestObjectClass TestRoot :4
olcAttributeTypes: {0}( TestAttributeType :8 NAME 'myTestAttr' DESC 'test' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
olcObjectClasses: {0}( TestObjectClass :4 NAME 'myTestOC' DESC 'test' SUP top STRUCTURAL MUST ( myTestAttr ) )
I add it by ldapmodify utility, but slapd crashed :
connection_get(17): got connid=0
connection_read(17): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 28 contents:
ber_get_next
ber_get_next on fd 17 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <cn=config>
<<< dnPrettyNormal: <cn=config>, <cn=config>
do_bind: version=3 dn="cn=config" method=128
do_bind: v3 bind: "cn=config" to "cn=config"
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 17
connection_get(17): got connid=0
connection_read(17): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 482 contents:
ber_get_next
ber_get_next on fd 17 failed errno=11 (Resource temporarily unavailable)
do_add
ber_scanf fmt ({m) ber:
>>> dnPrettyNormal: <cn={2}test,cn=schema,cn=config>
<<< dnPrettyNormal: <cn={2}test,cn=schema,cn=config>, <cn={2}test,cn=schema,cn=config>
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt (}) ber:
Segmentation fault
I am using 2.3.24, is there anything wrong ? thanks !