Commit Graph

7681 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
fb3fc81c7e improved authz_backend detection for internal databases (ITS#4018) 2005-09-10 09:56:29 +00:00
Howard Chu
214e13eecc Tweak newsuperior error codes 2005-09-10 01:51:34 +00:00
Howard Chu
fc784ad8fd ITS#2757 remove isroot checks, simplify 2005-09-10 01:49:46 +00:00
Howard Chu
262c44772d ITS#2757 remove be_isroot checks, simplify... 2005-09-10 01:16:55 +00:00
Howard Chu
f1e05336f1 ITS#3979 restore old (RE21, RE22) search order 2005-09-09 11:43:13 +00:00
Howard Chu
3673cceb6c ITS#3979 only support tool entry points if root DB has them 2005-09-09 11:37:00 +00:00
Howard Chu
beaa0f2250 ITS#3979 better check for duplicate bi_open functions 2005-09-09 07:40:54 +00:00
Howard Chu
c8f977e1b7 ITS#3981 ch_realloc( addr, 0 ) frees addr, return NULL 2005-09-09 07:06:58 +00:00
Howard Chu
ba39e3fe00 ITS#3989 more fixes 2005-09-09 04:53:56 +00:00
Pierangelo Masarati
866148810e release resources (ITS#4016) 2005-09-09 02:37:38 +00:00
Howard Chu
d4c3093996 Silence valgrind warnings 2005-09-09 01:44:42 +00:00
Howard Chu
9944c9c461 ITS#4015 silence pointer/integer size warnings 2005-09-08 23:47:19 +00:00
Kurt Zeilenga
bb19302db6 cast pointer to long instead of int to hopefully avoid
truncation.  Change does at least silence warning.
2005-09-08 21:38:20 +00:00
Pierangelo Masarati
366ef40ceb plug one-time leaks 2005-09-08 20:46:48 +00:00
Pierangelo Masarati
1c2aef6050 fix format and signedness issues 2005-09-08 20:18:43 +00:00
Howard Chu
aa897eae90 ITS#4010 fixes complaint, larger problem remains 2005-09-08 15:28:36 +00:00
Pierangelo Masarati
daa7b11ff5 don't bother about the port if none is given (ITS#4012) 2005-09-08 15:13:01 +00:00
Pierangelo Masarati
3093f97767 fix messages in previous commit 2005-09-08 14:32:09 +00:00
Pierangelo Masarati
5f20374de1 reject registrations when back-monitor is not configured 2005-09-08 14:23:35 +00:00
Howard Chu
a59c109109 Check errcode from dn2entry before using ei 2005-09-08 11:14:12 +00:00
Howard Chu
d567be70eb ITS#3989 fix crash - don't access freed psearch records 2005-09-08 02:19:05 +00:00
Howard Chu
2ba90833c7 Misc Windows linking fixes 2005-09-07 10:27:55 +00:00
Howard Chu
c7fe31b06d ITS#4009 set X-ORDERED extension on olcReplica 2005-09-07 03:30:59 +00:00
Pierangelo Masarati
07fd8431c2 allow "proxied" attributeDescriptions in DN as well (more about ITS#3959) 2005-09-06 17:21:24 +00:00
Pierangelo Masarati
a1ff59f436 pretty the DN as well 2005-09-06 17:19:36 +00:00
Pierangelo Masarati
4687de2062 fix typo (ITS#4005) 2005-09-06 15:17:07 +00:00
Pierangelo Masarati
82af0c95f7 cleanup dynacl usage() 2005-09-06 14:26:53 +00:00
Pierangelo Masarati
42ae82332f few more fixes 2005-09-06 14:26:06 +00:00
Pierangelo Masarati
85e56eb653 don't lookup rootdn if the password is incorrect (ITS#4004) 2005-09-06 12:35:37 +00:00
Howard Chu
9ec2e2c690 ITS#3807 use a different tokenizer for parsing LDIF values into words. 2005-09-06 09:04:26 +00:00
Howard Chu
e0b42505c1 Add searchFilter var in searchDN session. Would have preferred to confine
this to the searchDN context. Please review.
2005-09-06 07:13:14 +00:00
Howard Chu
d89cfddcde ITS#4003 frontend->be_replogfile can legitimately be set. 2005-09-05 02:42:24 +00:00
Kurt Zeilenga
69dc0282b1 really fix commit before last 2005-09-05 01:47:27 +00:00
Howard Chu
258b31ccad Moved from back-bdb 2005-09-05 01:32:44 +00:00
Kurt Zeilenga
59a23d7656 Fix typo in last commit 2005-09-05 01:11:45 +00:00
Kurt Zeilenga
b707e1e38c Move uidNumber and gidNumber into slapd(8)
to ensure they are available for ldapi://.
2005-09-05 01:08:40 +00:00
Pierangelo Masarati
61e06b4ef2 all right, don't worry about free() by now 2005-09-04 23:54:30 +00:00
Howard Chu
92909f0682 ITS#3980 fix when master doesn't explicitly reset grace/lock attrs 2005-09-04 23:44:04 +00:00
Pierangelo Masarati
ec532ce885 disable pagedResults or reject 2005-09-04 20:08:35 +00:00
Pierangelo Masarati
35935f4178 silence warning 2005-09-04 20:07:17 +00:00
Pierangelo Masarati
596f21340e cleanup 2005-09-04 20:00:40 +00:00
Pierangelo Masarati
7fd7001fc2 fix old erroneous commit (ITS#4001) 2005-09-04 19:21:39 +00:00
Howard Chu
0eed18a0e8 Also compile for LDBM 2005-09-04 16:24:16 +00:00
Howard Chu
1e4d973616 ITS#3980, filter out some delete modifications on replicas if target
attrs don't exist
2005-09-04 16:22:30 +00:00
Howard Chu
f81ad346ff ITS#3978: Added alock calls; warns about inconsistency but continues
to start. Fails for concurrent access attempts, since ldbm does not
support any concurrency. (So slaptools are prevented from running when
slapd is already active.)
2005-09-04 15:48:44 +00:00
Howard Chu
464fc6b68a ITS#3978 move alock from back-bdb to slapd 2005-09-04 15:21:57 +00:00
Howard Chu
784554f1bb ITS#3802, #3999 skip wake_sds in epoll event loop 2005-09-04 15:04:09 +00:00
Hallvard Furuseth
00d898e7f3 Silence warnings 2005-09-03 17:03:36 +00:00
Howard Chu
36db408d0e Add missing return from rev 1.27 2005-09-02 21:27:49 +00:00
Howard Chu
f4637d60c2 per LDAPext discussion, delete pwdAccountLockedTime on password change 2005-09-02 20:38:05 +00:00
Howard Chu
f1561ac4b5 Bypass all add/modify checks on replicas, the master has done them already. 2005-09-02 20:23:32 +00:00
Howard Chu
fc8b2dda7c ITS#3989 fix ID used for syncprov_findbase 2005-09-02 10:08:44 +00:00
Howard Chu
d875ecb315 Remove #undef HAVE_EPOLL accidentally committed in rev 1.316 2005-09-01 23:21:46 +00:00
Howard Chu
7539786f01 Fix olcSubordinate OID clash 2005-09-01 12:19:08 +00:00
Howard Chu
8eed3a4bb5 ITS#3992 check bi_dbenv 2005-09-01 12:15:30 +00:00
Howard Chu
4a1eabf257 Moving glue overlay back into slapd core, returning to 2.2 config syntax 2005-09-01 11:45:04 +00:00
Hallvard Furuseth
6daa94dfe7 Fix check for supported operations: Needs be_id2entry_get, not be_entry_get 2005-08-31 23:25:50 +00:00
Hallvard Furuseth
4faa77f440 Reject slapadd -w if not supported (partial ITS#3979 fix) 2005-08-31 23:23:13 +00:00
Hallvard Furuseth
e0a8e693af Null backend support for slapadd and slapcat 2005-08-31 18:00:40 +00:00
Hallvard Furuseth
fc1514431c Cleanup: Rename struct null_info.bind_allowed to .ni_bind_allowed 2005-08-31 16:30:32 +00:00
Pierangelo Masarati
4ba83103d9 fix test before releasing resources (ITS#3990) 2005-08-31 15:11:25 +00:00
Howard Chu
be1216819c ITS#3979 only one glue overlay per tree is allowed 2005-08-31 11:47:18 +00:00
Pierangelo Masarati
a2ea1edb48 save target errors for later evaluation 2005-08-31 01:55:34 +00:00
Pierangelo Masarati
093994cfd5 further refine previous commit 2005-08-30 23:55:15 +00:00
Pierangelo Masarati
6ff4357427 fix previous commit 2005-08-30 21:21:32 +00:00
Pierangelo Masarati
a836a77e27 always init ACLs 2005-08-30 11:00:23 +00:00
Pierangelo Masarati
9baa6f4c99 don't let back-monitor appear __after__ a database that hides it; currently, only <suffix ""> :-( ; make error messages more descriptive 2005-08-30 10:38:11 +00:00
Pierangelo Masarati
b86467e0f8 cleanup previous commit (thanks to Hallvard) 2005-08-30 10:36:24 +00:00
Hallvard Furuseth
27831fcde5 Include "fd=.." in Statslog message "TLS established" 2005-08-29 23:34:42 +00:00