enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #03366
[Bug 1314859] [NEW] segfault in slapd when using ldapadd
Public bug reported:
I am using ubuntu 12.04 with slapd/ldap-utils at version
2.4.28-1.1ubuntu4.4. When using ldapadd type command, I am getting
segfault and slapd process crashing(killing the ldap server).
Apr 30 23:44:44 spine2core slapd[12720]: is_entry_objectclass("", "2.16.840.1.113730.3.2.6") no objectClass attribute
Apr 30 23:44:44 spine2core kernel: [25247.781818] slapd[12838]: segfault at 7f01e1e69710 ip 00007f01e1bc5d07 sp 00007f01d8a8f0e0 error 7 in slapd[7f01e1b41000+128000]
This only happens on a particular scenario whereby I load up a DN whilst
slapd is stopped using slapadd/ldif file, this DN is an orphan object
with parent not in directory (or ldif file). Example:
dn: uniqueidentifier=a, uid=b, ou=People, o=xyz
First, we setup ou=People, o=xyz, then the ldif file has the above DN only but the parent dn: uid=b, ou=People, o=xyz does not exist in the ldif file. So slapadd inserts this orphan object in LDAP with warning. When I try to insert the parent object dn: uid=b, ou=People, o=xyz using ldapadd, it throws the seg fault and crashes (doing the same offline again using slapadd works fine).
Any ideas please?
Thanks,
Azhar
** Affects: openldap (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to openldap in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1314859
Title:
segfault in slapd when using ldapadd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1314859/+subscriptions
Follow ups
References