Commit Graph

187 Commits

Author SHA1 Message Date
Randy Kunkee
5b508b89c5 Make slurpd work when restarting in one-shot mode. 2000-04-26 01:03:47 +00:00
Ben Collins
47f53d7b6f for slurpd's replica directory (slurpd.status, and rej file) use a subdir of what the user specifies (add replica/ to it) to avoid /tmp races. A lot of the files that slurpd uses cannot be opened with O_EXCL, nor can we safely determine if there are any hardlinks from another file to it, so we create our own subdirectory so we can control the perms, even in /tmp 2000-04-24 17:03:23 +00:00
Ben Collins
c142f710ef filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use 2000-04-24 16:47:21 +00:00
Ben Collins
25e7406293 when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions 2000-04-24 16:46:13 +00:00
Ben Collins
a132d14fa7 use strcpy instead of sprintf when all we have is two args (source and dest) 2000-04-24 16:44:01 +00:00
Ben Collins
4777232c83 when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions 2000-04-24 16:40:57 +00:00
Kurt Zeilenga
d697f1588c Fixed back-ldbm/modify mutlivalued indexing bug
Fixed -llber seqorset buffer overrun bug (ITS#479)
2000-03-17 19:41:22 +00:00
Kurt Zeilenga
b2d69a03ec Missing entry causes slapd to segfault (ITS#482)
Fix provide by Paul Turgyan <pturgyan@umich.edu>
2000-03-17 02:15:50 +00:00
Kurt Zeilenga
5d03f07f53 Bind should never return No Such Object. 2000-03-03 21:05:28 +00:00
Kurt Zeilenga
6ff85ccfad ITS#464: fix multiple userPassword support 2000-02-24 17:58:47 +00:00
Kurt Zeilenga
b21a90d20a Add support for users to -DSLAPD_UNDEFINED_OC_IS_NOT_EXTENSIBLE
(undefined by default) to allow installers to disable undefined
objectclass implies extensible object behavior.
2000-01-27 17:38:38 +00:00
Kurt Zeilenga
1ca3c43cdb Remove TCPD/RLOOKUP interdependency 2000-01-18 02:10:20 +00:00
Kurt Zeilenga
850bfb9caf Incorporate modify* attributes in add to workaround netscape bug.
LDAPext has agreed that the specs should updated to call for this
behavior in RFC2252bis.  Hopefully this won't break any existing
clients.
2000-01-17 18:46:06 +00:00
Howard Chu
200ab98fdf Fix ITS#402 - index corruption in idl_insert_key 1999-12-20 15:57:19 +00:00
Kurt Zeilenga
c0e6911dea ITS#374: index presence filter bug fix. 1999-12-10 18:07:59 +00:00
Kurt Zeilenga
83eeda7ca8 Update slapd.conf to match quick start guide example 1999-12-04 18:38:38 +00:00
Kurt Zeilenga
25bae9a825 ITS#357: don't crash when at_cn == NULL. 1999-11-17 22:58:01 +00:00
Kurt Zeilenga
4a431684d0 Take address of enclosing structure (in_addr), not member (s_addr). 1999-11-03 21:14:19 +00:00
Kurt Zeilenga
2c87d24f31 Change slapd/delete stats message for consistency. 1999-11-03 18:16:51 +00:00
Kurt Zeilenga
dae3c8ab5d Don't create a subtree dn index. 1999-11-03 01:05:19 +00:00
Kurt Zeilenga
f08e56e055 Apply ACL to lastmod attributes. 1999-10-29 20:00:47 +00:00
Kurt Zeilenga
3aadcd7689 Change default referral (commented out) 1999-10-21 03:42:39 +00:00
Kurt Zeilenga
5abd99a962 Import TCP_NODELAY support from devel. 1999-10-15 18:04:22 +00:00
Kurt Zeilenga
964886ee5c Fix -c vs -H typo (ITS#154) 1999-09-25 16:16:05 +00:00
Kurt Zeilenga
effdc6193a Initialize li_nextid_file. 1999-09-22 21:11:42 +00:00
Ben Collins
d4f275c85f * configure.in: Added better check for libwrap (the old way failed when
libwrap was a dynamic library) and also included extraneous check for
  -lnsl after libwrap check (from head branch). Add -lwrap to new subst
  var WRAP_LIBS so we have more control over where it get's linked
  (dynamic libwrap causes problems when we link to programs that don't
  define certains globals that libwrap expects).
* build/top.mk: Added placeholder for WRAP_LIBS subst
* servers/slapd/Makefile.in: Added $(WRAP_LIBS) to the slapd and sslapd
  link command line specifically so it doesn't get thrown in with the rest
  of the LIBS.
* configure: rebuilt
1999-09-22 14:58:56 +00:00
Kurt Zeilenga
90ae0d68da Use ptrdiff_t and initial default_referral to NULL. 1999-09-15 21:01:24 +00:00
Kurt Zeilenga
2d8441f161 ITS#211 ldbmcat core dump fix due to #if[n]def HAVE_BERKELEY_DB typo 1999-09-09 21:16:05 +00:00
Kurt Zeilenga
ebc746bf35 Apply devel IDL fixes... 1999-09-03 01:24:13 +00:00
Kurt Zeilenga
be865bca0e ITS#276: make copy of errno before it gets slammed. 1999-09-01 00:33:54 +00:00
Kurt Zeilenga
c9de09b1d0 Fix *=+=* bug.
Plug leak of ber.
1999-08-28 06:15:43 +00:00
Kurt Zeilenga
dc563b12f9 Missed one free() of edn 1999-08-20 21:20:12 +00:00
Kurt Zeilenga
5891513478 Import Hallvards idl memory plugs from devel. 1999-08-20 20:21:51 +00:00
Kurt Zeilenga
6d074e0911 Fix leak of edn when binding as rootdn. 1999-08-20 20:09:48 +00:00
Kurt Zeilenga
d1f0e487bc Fixed slapd/back-ldbm memory leak of lastmod attributes (ITS#249 ITS#250) 1999-08-20 18:27:50 +00:00
Kurt Zeilenga
3844a51c77 Need ref attribute type as well. 1999-08-11 17:04:49 +00:00
Kurt Zeilenga
2175bd791a Add uidObject, dcObject, and referral. 1999-08-11 16:46:18 +00:00
Kurt Zeilenga
02084bdcb4 Import Julio ldif2ldbm fixes from devel. 1999-07-31 04:02:52 +00:00
Kurt Zeilenga
a1f409edd3 Fix the ITS#179 fix. 1999-07-31 03:44:05 +00:00
Kurt Zeilenga
4757124319 Fixed slapd ldbm modified attrs on failure (ITS#179) (ITS#181) 1999-07-29 23:13:47 +00:00
Kurt Zeilenga
33c5d487a5 Slightly improvement over last commit (ITS#238 fix). 1999-07-28 23:21:53 +00:00
Kurt Zeilenga
6fc11aceb4 Fix index_change_values NULL vals bug (ITS#238) 1999-07-28 22:58:41 +00:00
Kurt Zeilenga
ef9f7d9bed Enable slapd tcp keep alives 1999-07-26 18:09:39 +00:00
Kurt Zeilenga
b3d0bd8d5c Support attribute types list and only parameters on cn=config
and cn=monitor.
1999-07-25 20:32:12 +00:00
Kurt Zeilenga
f3a02a704e Allow "*" in attribute type list to select all attributes.
No distinction is made between user and operational attributions.
1999-07-25 20:30:15 +00:00
Kurt Zeilenga
36d0c37d01 Don't call Debug() inside of a signal handler. 1999-07-20 07:10:35 +00:00
Kurt Zeilenga
c875e72b11 Fixed slapd substring_comp_candidates null intersection bug (ITS#228)
Fixed slapd modify: delete of last attribute value bug (ITS#229)
1999-07-20 02:17:25 +00:00
Kurt Zeilenga
9b66348db4 Add <ac/time.h> for SGI IRIX. 1999-07-09 21:06:57 +00:00
Juan Gomez
1082a5a9d5 Finishes growing index file fix. Ready for 1.2.4? 1999-07-08 20:40:03 +00:00
Juan Gomez
573e279d87 Initial step of index files fix, more tomorrow. 1999-07-08 10:00:15 +00:00