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

slapd for NT, terminates in dn2id_add



Hello all:


I am running the slapd server with source code pulled down on Jan 5, 2000.

My slapd.conf is set to:

database	ldbm
suffix		"dc=XXX"
rootdn		"cn=mike, dc=XXX"
rootpw		mike
directory	.\\tmp


When I try to add 

dn: dc=XXX
cn: abc
sn: abc
objectclass: top
objectclass: person

the slapd server terminates because of an assert in \back-ldbm\dn2id.c
weather I use ldap_add in my own program or an ldif file with
ldapmodify.exe.

int
dn2id_add(
    Backend	*be,
    const char	*dn,
    ID		id
)
{
	int		rc, flags;
	DBCache	*db;
	Datum		key, data;
	struct ldbminfo *li = (struct ldbminfo *) be->be_private;

	Debug( LDAP_DEBUG_TRACE, "=> dn2id_add( \"%s\", %ld )\n", dn, id, 0
);
	assert( id != NOID );   <<<<<<<<<<<<<

Does anyone have any thoughts?


Thank you!

Mike

Michael Fappiano
Computer Associates