Environment
Novell eDirectory 8.8 for Linux
Situation
Schema is modified to add an attribute definition using ldapmodify
and ldif file.
ldif file for schema definition is missing the syntax definition for the attribute.
EX:
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: (OID number
NAME 'attr-name'
DESC 'attribute description'
SUP dn
SINGLE-VALUE )
Stack of core:
#0 0xf7f19c8b in TCMalloc_Central_FreeList::FetchFromSpans ()
from /usr/lib/libtcmalloc_minimal.so.0
#1 0xf7f19b75 in TCMalloc_Central_FreeList::RemoveRange ()
from /usr/lib/libtcmalloc_minimal.so.0
#2 0xf7f19f4e in TCMalloc_ThreadCache::FetchFromCentralCache ()
from /usr/lib/libtcmalloc_minimal.so.0
#3 0xf7f1bcee in DSUtilInit () from /usr/lib/libtcmalloc_minimal.so.0
#4 0xf7f1b41a in malloc () from /usr/lib/libtcmalloc_minimal.so.0
#5 0xf7de3e4d in SAL_malloc () from //opt/novell/eDirectory/lib/libsal.so.1
#6 0xea560da5 in PM_malloc (size=32)
at /dirtech/rravi/proj/ldapserver/ldap_server/ldapunix/src/prmem.cpp:84
#7 0xea5dc3a3 in unidup (s=0x95e2fbc)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsmisc.cpp:64
#8 0xea56149d in PS_strdup (string=0x95e2fbc, width=2)
at /dirtech/rravi/proj/ldapserver/ldap_server/ldapunix/src/prstring.cpp:93
#9 0xea5a46ac in GetMappingListCB (context=1818558474, value=0xf60394f8,
clientData=0xf6039730)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsconfig.cpp:4050
#10 0xf55cfc29 in WGetReadBuffer ()
from /opt/novell/eDirectory/lib/nds-modules/libnds.so
#11 0xf55cfe7a in DCReadToCB ()
from /opt/novell/eDirectory/lib/nds-modules/libnds.so
#12 0xf7e1dcf7 in DDCReadToCB ()
---Type to continue, or q to
quit---
from //opt/novell/eDirectory/lib/nds-modules/libdsloader.so.1
#13 0xea5a97de in ProcessAddMapChanges (nds=0x891e000,
addListMapHead=0x90c5ea0, isClass=false)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsconfig.cpp:3410
#14 0xea5ac40b in ProcessMapChanges (nds=0x891e000,
attrMapsToDelete=0xf603a618, classMapsToDelete=0xf603a4f0,
addAttrMapHead=0x90c5ea0, addClassMapHead=0x0, attrsAdded=0x8f52d00,
classesAdded=0x0)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsconfig.cpp:3975
#15 0xea5e9afd in ModifySchema (pb=0x8ec3810)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsmodifyschema.cpp:583
#16 0xea590a31 in DoModify (pb=0x8ec3810)
at /dirtech/rravi/proj/ldapserver/ldap_server/src/modify.cpp:170
#17 0xea56f76c in OperationThread (op=0x91044b0)
at /dirtech/rravi/proj/ldapserver/ldap_server/src/connection.cpp:184
#18 0xea561a8b in TPSetAvailableWorkInfo (data=0x82ae5a0)
at /dirtech/rravi/proj/ldapserver/ldap_server/ldapunix/src/prthread.cpp:1380
#19 0x08058bed in PoolWorker ()
#20 0xf7c752ab in start_thread () from /lib/libpthread.so.0
#21 0xf7be7a4e in clone () from /lib/libc.so.6
ldif file for schema definition is missing the syntax definition for the attribute.
EX:
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: (OID number
NAME 'attr-name'
DESC 'attribute description'
SUP dn
SINGLE-VALUE )
Stack of core:
#0 0xf7f19c8b in TCMalloc_Central_FreeList::FetchFromSpans ()
from /usr/lib/libtcmalloc_minimal.so.0
#1 0xf7f19b75 in TCMalloc_Central_FreeList::RemoveRange ()
from /usr/lib/libtcmalloc_minimal.so.0
#2 0xf7f19f4e in TCMalloc_ThreadCache::FetchFromCentralCache ()
from /usr/lib/libtcmalloc_minimal.so.0
#3 0xf7f1bcee in DSUtilInit () from /usr/lib/libtcmalloc_minimal.so.0
#4 0xf7f1b41a in malloc () from /usr/lib/libtcmalloc_minimal.so.0
#5 0xf7de3e4d in SAL_malloc () from //opt/novell/eDirectory/lib/libsal.so.1
#6 0xea560da5 in PM_malloc (size=32)
at /dirtech/rravi/proj/ldapserver/ldap_server/ldapunix/src/prmem.cpp:84
#7 0xea5dc3a3 in unidup (s=0x95e2fbc)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsmisc.cpp:64
#8 0xea56149d in PS_strdup (string=0x95e2fbc, width=2)
at /dirtech/rravi/proj/ldapserver/ldap_server/ldapunix/src/prstring.cpp:93
#9 0xea5a46ac in GetMappingListCB (context=1818558474, value=0xf60394f8,
clientData=0xf6039730)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsconfig.cpp:4050
#10 0xf55cfc29 in WGetReadBuffer ()
from /opt/novell/eDirectory/lib/nds-modules/libnds.so
#11 0xf55cfe7a in DCReadToCB ()
from /opt/novell/eDirectory/lib/nds-modules/libnds.so
#12 0xf7e1dcf7 in DDCReadToCB ()
---Type
from //opt/novell/eDirectory/lib/nds-modules/libdsloader.so.1
#13 0xea5a97de in ProcessAddMapChanges (nds=0x891e000,
addListMapHead=0x90c5ea0, isClass=false)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsconfig.cpp:3410
#14 0xea5ac40b in ProcessMapChanges (nds=0x891e000,
attrMapsToDelete=0xf603a618, classMapsToDelete=0xf603a4f0,
addAttrMapHead=0x90c5ea0, addClassMapHead=0x0, attrsAdded=0x8f52d00,
classesAdded=0x0)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsconfig.cpp:3975
#15 0xea5e9afd in ModifySchema (pb=0x8ec3810)
at /dirtech/rravi/proj/ldapserver/ldap_server/nds/ndsmodifyschema.cpp:583
#16 0xea590a31 in DoModify (pb=0x8ec3810)
at /dirtech/rravi/proj/ldapserver/ldap_server/src/modify.cpp:170
#17 0xea56f76c in OperationThread (op=0x91044b0)
at /dirtech/rravi/proj/ldapserver/ldap_server/src/connection.cpp:184
#18 0xea561a8b in TPSetAvailableWorkInfo (data=0x82ae5a0)
at /dirtech/rravi/proj/ldapserver/ldap_server/ldapunix/src/prthread.cpp:1380
#19 0x08058bed in PoolWorker ()
#20 0xf7c752ab in start_thread () from /lib/libpthread.so.0
#21 0xf7be7a4e in clone () from /lib/libc.so.6
Resolution
This issue has been reported to development.
Fix: Add a valid syntax value
EXAMPLE:
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: (1.3.6.1.4.1.250.1.99
NAME 'attr-name'
DESC 'attribute description'
SUP dn
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
SINGLE-VALUE )
Fix: Use iManager to add attribute to schema. The iManager plugin walks through all the requirements for schema changes.
Fix: Add a valid syntax value
EXAMPLE:
dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: (1.3.6.1.4.1.250.1.99
NAME 'attr-name'
DESC 'attribute description'
SUP dn
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
SINGLE-VALUE )
Fix: Use iManager to add attribute to schema. The iManager plugin walks through all the requirements for schema changes.