NEXTID value incremented improperly

Jim Doyle (jrd@bu.edu)
Sat, 3 Aug 1996 17:19:22 -0400 (EDT)

I am using slapd from the 3.3 release, without any patches.

When performing a bulk-add of improperly formatted entries using
LDAP add, NEXTID is incremented for each entry that is attempted
even though the data is NEVER committed to the ldbm backing store.

i.e.
-----
....
adding new entry cn=Eugeniusz Zych, uid=F1648, o=Boston University, c=US
ldap_add: No such object
ldap_add: matched: o=Boston University,c=US

adding new entry cn=Shelby A Zymroz, uid=X44981, o=Boston University, c=US
ldap_add: No such object
ldap_add: matched: o=Boston University,c=US
----

-rw-r--r-- 1 root other 5 Aug 3 17:11 NEXTID
-rw-r--r-- 1 root other 519 Aug 3 17:08 TEST.tlog
-rw-r--r-- 1 root other 0 Aug 3 17:08 TEST.tlog.lock
-rw------- 1 root other 0 Aug 3 17:08 cn.dbb
-rw------- 1 root other 0 Aug 3 17:08 dn.dbb
-rw------- 1 root other 0 Aug 3 17:08 dn2id.dbb
-rw------- 1 root other 0 Aug 3 17:08 id2children.dbb
-rw------- 1 root other 16384 Aug 3 17:08 id2entry.dbb
-rw------- 1 root other 0 Aug 3 17:08 objectclass.dbb
jrd@ns2(34)$ more NEXTID
1091

-- Jim

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jim Doyle Boston University Information Technology
Systems Analyst/Programmer Distributed Systems Group tel: 617-353-8248
"UNIX for a stronger America" email: jrd@bu.edu fax: 617-353-6260
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++--+-+-+-+-+-+-