Commit Graph

7610 Commits

Author SHA1 Message Date
Pierangelo Masarati
ba8027b016 fix back-ldbm build 2005-10-13 22:20:52 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Kurt Zeilenga
4d0de8b3c5 cleanup 2005-10-13 04:33:01 +00:00
Kurt Zeilenga
5085d1f8ff cleanup 2005-10-13 02:08:14 +00:00
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Howard Chu
e66b6188bb ITS#4078 fix buffer alignment 2005-10-12 17:34:06 +00:00
Kurt Zeilenga
2890a5d035 TLS is configured after listener creation 2005-10-12 16:58:22 +00:00
Howard Chu
1ea0c0dbda Remove obsolete csn variables 2005-10-12 07:59:51 +00:00
Howard Chu
f2930835ce ITS#4077. I wonder if we should have an ARG_OCTAL flag to preserve the
representation ... ?
2005-10-11 18:57:34 +00:00
Howard Chu
8b783dace6 Use ldap_unbind_ext, don't depend on ldap-int.h 2005-10-11 03:05:13 +00:00
Howard Chu
9aa064434c Fix writefds init on Windows 2005-10-11 02:56:56 +00:00
Howard Chu
44e9209629 Remove lint 2005-10-11 02:16:09 +00:00
Pierangelo Masarati
644d9000f9 fix ITS#4073 2005-10-10 14:54:14 +00:00
Howard Chu
4b75493252 Improve prev commit 2005-10-09 21:20:40 +00:00
Howard Chu
8204cbc212 ITS#4035 let underlying backend know about updated rootdn 2005-10-09 21:17:18 +00:00
Howard Chu
4f0c386c68 ITS#4072 prevent ldaps listeners when TLS is not configured 2005-10-09 20:04:49 +00:00
Howard Chu
f54bc26357 ITS#4072 ldap_pvt_tls_init_def_ctx() returns LDAP_NO_SUPPORT if not
sufficiently configured. Update slapd/slurpd to act appropriately.
2005-10-09 19:55:39 +00:00
Pierangelo Masarati
97614859be fix ITS#4071 2005-10-08 19:39:56 +00:00
Pierangelo Masarati
03db9632dd improve previous commit (ITS#4071) 2005-10-08 18:54:03 +00:00
Pierangelo Masarati
5420344f05 allow rwm to work with either the real or the virtual naming context equal to the empty DN 2005-10-08 10:56:10 +00:00
Howard Chu
851c65ac5b ITS#4068 fix queued UUIDs 2005-10-07 00:31:38 +00:00
Howard Chu
a79ae8da3e Better fix for req_pwdexop_s 2005-10-06 20:34:30 +00:00
Howard Chu
d973acec0d Silence valgrind complaint 2005-10-06 20:06:53 +00:00
Howard Chu
ccc1cb5fb3 Fix req_pwdexop definition 2005-10-06 20:04:12 +00:00
Kurt Zeilenga
b78c9dfa00 Add back proper bv_len initialization
Need to find and fix test010 properly.
2005-10-06 19:27:53 +00:00
Howard Chu
82998790bb Cleanup 2005-10-06 19:11:13 +00:00
Howard Chu
8050701f56 Plug memleak 2005-10-06 19:04:39 +00:00
Howard Chu
f14f6472e7 Plug memleaks 2005-10-06 18:45:53 +00:00
Howard Chu
0a41d1db7b ITS#4017 add TLSDHParamDir for Diffie-Hellman key parameters 2005-10-05 20:07:32 +00:00
Howard Chu
ebb23234ca Call normalizer directly, not rdnNormalize. 2005-10-05 15:51:34 +00:00
Howard Chu
2027e19e01 Fix rdn timestamp normalization 2005-10-05 08:59:59 +00:00
Howard Chu
f093f6788f ITS#4066 ignore writes that aren't under the unique_base 2005-10-05 06:18:56 +00:00
Pierangelo Masarati
0d76419984 add missing space (ITS#4061) 2005-10-04 10:02:54 +00:00
Howard Chu
0f69daacac Don't flush psearch queue in main search, let the qtask do it. 2005-10-04 02:29:25 +00:00
Howard Chu
59155d9029 Fix abandon checks, syncop use count. 2005-10-03 22:59:25 +00:00
Howard Chu
2233041bd0 Fix prev commit op initialization, runqueue startup latency 2005-10-03 04:49:35 +00:00
Howard Chu
da1a1f9133 ITS#4027 select_backend should ignore manageDSAit when glue is in use. 2005-10-03 03:12:32 +00:00
Howard Chu
7486ef93df Tweak prev commit, avoid rescheduling running qtask 2005-10-02 12:28:50 +00:00
Howard Chu
190d6e768d Fix runq scheduling 2005-10-02 12:26:02 +00:00
Howard Chu
52e8aaea3c Fix prev commit modrdn 2005-10-02 10:48:28 +00:00
Howard Chu
4d44d54144 Minimize base lookups 2005-10-02 05:01:45 +00:00
Howard Chu
47a055b59b Always queue psearch responses (ITS#3671 revisited) 2005-10-02 03:58:00 +00:00
Howard Chu
62f7c85be4 Add slap_overinfo oi_origdb field to point to original BackendDB 2005-10-02 01:23:09 +00:00
Pierangelo Masarati
ada7954667 deal with the case a pseudorootn is not defined 2005-10-01 18:31:14 +00:00
Pierangelo Masarati
01bb0fa1ea plug selected leaks resulting from ITS#4056 & ITS#4057 implementation; may need further cleanup and reworking to streamline a bit 2005-10-01 18:07:00 +00:00
Howard Chu
d878abf48f ITS#4049,4051 - verify oldPassword when provided. 2005-10-01 15:12:39 +00:00
Kurt Zeilenga
d72f862fa7 Removed initialization of old.bv_len and new.bv_len cures
the recent test010 failure!  hmmmm.....
2005-09-30 16:14:50 +00:00
Howard Chu
024c4bb13f ITS#4050 compare normalized DNs when detecting modrdn 2005-09-30 06:39:37 +00:00
Kurt Zeilenga
9449c5709e ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
longer works well.
2005-09-29 20:30:09 +00:00
Kurt Zeilenga
63e843d200 Remove lint 2005-09-29 20:03:04 +00:00
Hallvard Furuseth
a5ac474f2f Remove unused variable 2005-09-29 09:32:25 +00:00
Kurt Zeilenga
741029dc87 cannot ignore old password when setting sasl password 2005-09-29 08:05:38 +00:00
Kurt Zeilenga
68ae7408dc ITS#4049: oldPassword cannot be ignored, error for now
Add tests to confirm proper behavior
2005-09-29 08:00:33 +00:00
Kurt Zeilenga
e1029524b6 Refuse empty old and/or new passwords 2005-09-29 07:49:15 +00:00
Kurt Zeilenga
55b8685688 cleanup 2005-09-28 18:03:35 +00:00
Howard Chu
1769485868 Fix prev commit, reset parent == slap_entry_root 2005-09-28 16:08:01 +00:00
Howard Chu
98a13edc39 ITS#4047 fix nested overlay configuration 2005-09-28 08:30:14 +00:00
Howard Chu
20cb8f49f9 ITS#4025 add pretty/normal for pwdAttribute that recognizes descr's as
well as numeric OIDs
2005-09-27 16:15:59 +00:00
Howard Chu
12733ab92f ITS#3996 fix glue/syncprov interaction 2005-09-27 15:10:57 +00:00
Howard Chu
a0db9c1341 Fix dn2id_add/del parent cache updates 2005-09-27 14:11:10 +00:00
Kurt Zeilenga
d10832b0c8 entryUUID schema to use IANA (newly) assigned OIDs 2005-09-26 18:37:50 +00:00
Howard Chu
fc9bce707d Check log_ops before logging unbind and abandon 2005-09-26 09:49:03 +00:00
Howard Chu
052a4ae6c4 More hdb optimizing - cache subtree IDLs, not just onelevels 2005-09-26 07:30:36 +00:00
Hallvard Furuseth
05f5c7525b Fix snprintf() format 2005-09-26 04:39:51 +00:00
Howard Chu
86bd3651e1 ITS#4040 move initialization 2005-09-25 06:12:41 +00:00
Howard Chu
5697278574 ITS#4040 fix uniqueMemberMatch when value is zero-length 2005-09-25 06:11:35 +00:00
Howard Chu
9213019114 ITS#4039 2005-09-25 03:43:20 +00:00
Pierangelo Masarati
37f4e80929 hide unused member (will likely be removed) 2005-09-24 18:46:01 +00:00
Pierangelo Masarati
112be0118e cleanup states/timeout handling in back-ldap/meta; add connection pooling and defer of pseudoroot bind to back-meta 2005-09-24 18:39:26 +00:00
Pierangelo Masarati
e2c9c843e1 fix previous commit; cleanup few 64 bit issues 2005-09-24 17:09:19 +00:00
Howard Chu
bf7194aba9 ITS#3923 make perl_back_open symmetric with perl_back_close 2005-09-23 11:54:48 +00:00
Howard Chu
5fd0e53b15 ITS#4031 don't update syncCookie if it has invalid ctxcsn 2005-09-22 21:22:00 +00:00
Howard Chu
dd21d3a29f ITS#4030 fix alias deref for Finding, fix alias error code propagation. 2005-09-22 21:12:04 +00:00
Kurt Zeilenga
f3e13ec5f5 Don't use #ifdefs in the inside of a macro 2005-09-19 22:17:22 +00:00
Pierangelo Masarati
ae0b39e3cc use result of validation (ITS#4028) 2005-09-19 09:06:29 +00:00
Hallvard Furuseth
023d510766 Support POSIX 1003.1-2001 without XSI extensions (ITS #2667):
Do not use test -a/-o.  Use shell features like &&, || or case...esac.
Use grep instead of egrep (but not the not-yet-portable Posix variant grep -E).
Based on a patch from Paul Eggert.
2005-09-17 22:22:15 +00:00
Howard Chu
61d96fa17c Add dummy reference to librewrite to force it to link 2005-09-17 00:55:50 +00:00
Pierangelo Masarati
b79d4bdce5 issue additional useful warning messages; may eventually turn into errors? 2005-09-16 15:00:13 +00:00
Howard Chu
3a9814e725 Fix prev commit, BIG_ENDIAN was broken 2005-09-16 01:56:36 +00:00
Howard Chu
aa0cc7b835 More hdb tweaks, add radix sort code from mbackes@symas.com 2005-09-16 01:25:40 +00:00
Howard Chu
13154b25e3 Fix SWAP macro 2005-09-15 13:54:26 +00:00
Howard Chu
4a7f5e33bd More optimizing - try harder to avoid sorting 2005-09-15 08:29:58 +00:00
Howard Chu
20223a9ca5 Fix ISTACK space 2005-09-15 03:59:11 +00:00
Howard Chu
d269703322 Yet another idl_merge fix (test032 failure) 2005-09-15 03:49:52 +00:00
Howard Chu
6411c57028 Fix prev commit, use BDB_IDL_LAST() 2005-09-15 03:19:26 +00:00
Howard Chu
1c2e20527e Silence return val warnings in prev commit 2005-09-15 02:02:27 +00:00
Howard Chu
9b641006cb ITS#4029 Fix misplaced lines in prev commit 2005-09-15 01:22:22 +00:00
Howard Chu
37ad7614de Add syncdata keyword, to select different sync data formats. Defaults
to "default", can be set to "accesslog" or "changelog". changelog is
not fully implemented yet.
2005-09-14 15:27:20 +00:00
Howard Chu
285f841bd6 Add a "nopresent" keyword to skip the present phase; for backends that are
only used for logging (c.f. accesslog overlay) the present phase is useless.
2005-09-14 15:25:52 +00:00
Howard Chu
5e1ab5aba3 Add CSN management 2005-09-14 15:18:48 +00:00
Howard Chu
f1ffe0076f Zero out op2 2005-09-14 14:10:25 +00:00
Howard Chu
2babdaab9e Add flag for only logging successful operations 2005-09-14 09:11:03 +00:00
Howard Chu
9b1d798ad2 Change slap_ad_undef_remove() to slap_ad_undef_promote().
AttributeDescriptions must never be freed in a running slapd.
2005-09-14 06:17:59 +00:00
Howard Chu
aa3297aa36 More back-hdb search optimization 2005-09-13 07:55:01 +00:00
Hallvard Furuseth
a2a587c6ca Add missing comma between Debug() args 2005-09-13 03:35:53 +00:00
Howard Chu
9df4ae7d6b Fix prev commit 2005-09-12 05:52:55 +00:00
Howard Chu
ab2b541988 Tweak stack size in prev commit 2005-09-12 03:56:21 +00:00
Howard Chu
2dd87ed9e6 Use quicksort instead of heapsort for hdb_idl_sort 2005-09-12 03:54:52 +00:00
Pierangelo Masarati
9129a2f7ee silence warnings 2005-09-10 18:59:35 +00:00
Pierangelo Masarati
ceb9c15bdd put logging under Debug(); silence warnings; s/warnings/errors/ #ifdef'd 2005-09-10 18:42:33 +00:00