Commit Graph

203 Commits

Author SHA1 Message Date
Kurt Zeilenga
73b6351420 backport millionth second bug fix from HEAD 2001-09-10 17:21:22 +00:00
Kurt Zeilenga
3691e61aab enable max_incoming checks 2001-05-07 02:03:35 +00:00
Kurt Zeilenga
961c374694 Fix ref 2001-05-07 00:43:22 +00:00
Kurt Zeilenga
71c7e77a39 Add sb_max_incoming to reasonable default 2001-05-05 02:57:17 +00:00
Kurt Zeilenga
cf9880e3ef Plug rdwr lock leak 2000-07-27 18:43:21 +00:00
Randy Kunkee
c10c4d6957 Fix MAXARGS boundary condition problem: slapd crashed if number of tokens
parsed == MAXARGS (only applicable if you have really large objectclasses).
2000-07-19 01:29:44 +00:00
Kurt Zeilenga
5e4d9d028a Apply suggested fix to:
1.2.10 build problems under Digital UNIX 4.0D (ITS#590)
2000-06-16 20:46:18 +00:00
Kurt Zeilenga
cd1f1b31e8 Fix back-shell realloc bug (reverting version to 1.2.11re) 2000-06-09 01:44:48 +00:00
Kurt Zeilenga
ffa942aa19 ITS#579: fix client_addr == NULL crash 2000-06-08 23:15:44 +00:00
Kurt Zeilenga
8e44ebb0a4 Normalize group oc/member values per attribute syntax (hopefully DN), not CIS 2000-06-06 07:45:12 +00:00
Kurt Zeilenga
8d33a4e8c4 ITS#512: raise MAXDBCACHE to 128 2000-06-03 03:39:46 +00:00
Kurt Zeilenga
0c226bc65b Import openldap-ldbm perms from devel 2000-05-29 05:54:05 +00:00
Kurt Zeilenga
35504eb7da ITS#527: slapd_shutdown is static, remove extern in header 2000-05-09 17:14:28 +00:00
Kurt Zeilenga
1ce2f09193 Change compiled in LDBM default directory 2000-05-03 12:42:09 +00:00
Kurt Zeilenga
3ec5247a71 Change slapd.conf example directory to $localstatedir/openldap-ldbm 2000-05-03 12:20:30 +00:00
Randy Kunkee
5e34ff9584 Include refcnt > 0, which makes reporting of number of records to process
more correct (still doesn't account for records that won't be processed
due to a restart).
2000-04-26 01:05:44 +00:00
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