Date: Tue, 1 Jul 1997 15:57:08 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: current@freebsd.org Subject: LDAP update Message-ID: <199707012257.PAA05255@phaeton.artisoft.com>
next in thread | raw e-mail | index | archive | help
Well, I have narrowed the LDAP problem down to a bad interaction with the ndbm code. When compiled to use ndbm, an explicit flush prior to a the close fails to write the data aout to the database files. The failing flush occurs in the ldif2ldbm program when it is attempting to inialize the database, and results in zero length database files. The subsequent LDAP lookups over the wire fail to obtain the requested data. I went to the BSD btree code, and the problem went away. I also went tot he BSD hash code, and the problem also went away. So there is a bug in ndbm, but I don't have it pegged any closer than that. The LDAP server is at: ftp://terminator.rs.itd.umich.edu/ldap/ldap.tar.Z if the current ndbm maintainer is interested in tracking down the problem. Use the .ps or .pdf "slapd guide", section 2 "A Quick-Start Guide to Running slapd", pages 10 and 11. In step 7 "Create a database", add the parameter "-d 65535" to get debug information about the database creation. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707012257.PAA05255>