Commit Graph

5803 Commits

Author SHA1 Message Date
Pierangelo Masarati
19ea555ca3 blind update of IBM db2 example data 2004-08-21 09:48:49 +00:00
Pierangelo Masarati
b7c0b9ed7f further improve tests; line-up with code 2004-08-21 09:45:14 +00:00
Pierangelo Masarati
6956e3d483 cleanup previous commit 2004-08-21 09:38:58 +00:00
Pierangelo Masarati
467524ef92 handle referrals correctly; allow to add suffix entry; fix multiple values add bug; cleanup 2004-08-21 09:38:08 +00:00
Jong Hyuk Choi
37db80eadb attrs=*,+ becmoes the default behavior when attrs are not specified in syncrepl definition. When attrs are specified, operational attributes other than objectClass, structuralObjectClass, and entryCSN need to be explicitly specified to be included in the replication content. 2004-08-20 16:26:58 +00:00
Pierangelo Masarati
0ed0cd66bf more on back-sql test 2004-08-20 16:12:49 +00:00
Pierangelo Masarati
f59089b5b0 now PostgreSQL seems to work... 2004-08-20 15:24:39 +00:00
Pierangelo Masarati
930f415673 update of RDBMS data for test031 2004-08-20 14:27:32 +00:00
Pierangelo Masarati
d12fdece77 allow to search for "auxiliary" objectClasses (i.e. those in ldap_entry_objclasses); allow to return all objectClasses including "auxiliary"; various cleanup 2004-08-20 12:06:03 +00:00
Pierangelo Masarati
6b8fd66364 split entry_free in entry_clean ... 2004-08-20 12:01:15 +00:00
Howard Chu
af8cb90ed8 ITS#3289 - add SLAP_AT_DYNAMIC flag for dynamically generated attributes.
Set flag for hasSubordinates and subschemaSubentry. Strip dynamic attributes
before storing entries in syncrepl.
2004-08-19 23:39:45 +00:00
Howard Chu
f2ee179c3f ITS#3291 delay use of slap_known_controls until all configuration is done 2004-08-19 12:10:22 +00:00
Howard Chu
91033d6552 Reworked fix for ITS#3140 - add access parameter to backend_attribute 2004-08-18 17:14:22 +00:00
Howard Chu
d504ae047e More for ITS#3288 be_pcl_mutex fixes 2004-08-18 16:43:19 +00:00
Howard Chu
c7313c09b4 More fixes for prev commit 2004-08-18 15:23:37 +00:00
Howard Chu
3081f2df88 Delete unused be_context_csn_mutex 2004-08-18 10:54:58 +00:00
Howard Chu
77ba70be13 Fix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex 2004-08-18 10:53:34 +00:00
Howard Chu
77df33a164 Fix crash on modify if userpassword didn't exist yet 2004-08-15 22:23:58 +00:00
Pierangelo Masarati
bde0761a04 should fix ITS#3265 2004-08-12 10:33:49 +00:00
Pierangelo Masarati
05b81e623d cleanup attr flags; provide a helper 2004-08-06 17:29:59 +00:00
Pierangelo Masarati
7760b20f7f fix permissive; cleanup 2004-08-06 16:40:48 +00:00
Pierangelo Masarati
bfb6465533 cleanup 2004-08-06 16:40:15 +00:00
Pierangelo Masarati
41569c5ed7 fix attr_merge() usage; cleanup 2004-08-06 16:39:45 +00:00
Pierangelo Masarati
4297cbaed2 fix attr_merge() usage 2004-08-06 16:38:41 +00:00
Pierangelo Masarati
9300a9415f fix malformed test and var initialization 2004-08-06 16:14:05 +00:00
Pierangelo Masarati
559397c44a allow to compare on hasSubordinates 2004-07-31 10:42:28 +00:00
Jong Hyuk Choi
9978007997 slapadd -i <rid list> fix 2004-07-31 00:03:58 +00:00
Pierangelo Masarati
9dcdeef319 don't recompute userattrs 2004-07-30 17:34:47 +00:00
Pierangelo Masarati
614e5a9de6 make sure sun_path is cleared out before accept() 2004-07-30 09:56:22 +00:00
Pierangelo Masarati
7b4a51cc28 further improve loglevel selection 2004-07-29 12:39:51 +00:00
Pierangelo Masarati
f33b51832a allow to use names to set loglevel 2004-07-29 00:10:03 +00:00
Pierangelo Masarati
7507596ccc minor cleanup 2004-07-28 23:48:08 +00:00
Jong Hyuk Choi
8b5b2e715b should not assert(0) in UUIDValidate 2004-07-28 17:27:52 +00:00
Jong Hyuk Choi
95e56c6243 Patch for ITS#3259 2004-07-28 17:24:54 +00:00
Pierangelo Masarati
d723dbc34b in case of early exit, frontendDB might be uninitialized 2004-07-27 21:15:33 +00:00
Pierangelo Masarati
cd9a9c628d frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
Pierangelo Masarati
cc60b5ce76 cleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt.h header? 2004-07-26 08:31:01 +00:00
Pierangelo Masarati
9f6f5491fe slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay 2004-07-25 23:16:40 +00:00
Pierangelo Masarati
392366818e fix ITS#3254 2004-07-25 22:57:52 +00:00
Howard Chu
d9927adf88 Fix ITS#3255, boi_bdb comparisons 2004-07-25 21:10:41 +00:00
Howard Chu
05fd32498d Fix spurious warning for fasttool keyword when running in Server mode 2004-07-25 19:49:24 +00:00
Pierangelo Masarati
075a450b49 cleanup 2004-07-24 17:10:29 +00:00
Pierangelo Masarati
cd7540feee cleanup URI parsing/checking (fixes ITS#3253) 2004-07-24 11:17:03 +00:00
Pierangelo Masarati
a7b55f4f44 assert administrative identity instead of the required one if doing auth check in non-caching mode 2004-07-23 00:11:05 +00:00
Pierangelo Masarati
32d9856fb1 hack to handle cases where o_req_dn = o_req_ndn 2004-07-22 23:48:04 +00:00
Pierangelo Masarati
07f010a01f fix previous fix 2004-07-22 23:03:04 +00:00
Howard Chu
dd7003cf9f Added linearindex option for slapindex. Improves performance when database
size exceeds dbcache size by minimizing cache thrashing.
2004-07-22 22:32:37 +00:00
Howard Chu
f9f22058e7 ITS#3178 add "fasttool" option to disable transaction logging in tool mode 2004-07-22 22:14:35 +00:00
Howard Chu
bff0b64cb3 One more Windows tweak 2004-07-20 21:42:00 +00:00
Howard Chu
39fbae025e Windoes compatibility tweaks 2004-07-20 21:40:33 +00:00
Pierangelo Masarati
52a49e0840 improve manual and make naming contexts uniform; NOTE: backwards compatibility not preserved 2004-07-20 00:46:20 +00:00
Pierangelo Masarati
b29808f4ae cleanup function name in log 2004-07-20 00:32:43 +00:00
Pierangelo Masarati
dbb4593d75 rework passwd_extop to comply with rwm requirements... 2004-07-20 00:22:05 +00:00
Pierangelo Masarati
4c16e67094 minor cleanup 2004-07-19 21:43:03 +00:00
Pierangelo Masarati
1bbdcba854 add {creators|modifiers}Name to all entries 2004-07-19 21:42:11 +00:00
Howard Chu
ebd1832d21 Required by backover.c -r1.22 2004-07-19 20:25:43 +00:00
Howard Chu
e918210fc2 Required by backover.c -r1.22 2004-07-19 20:01:26 +00:00
Pierangelo Masarati
b94d5e17e2 rework op/rs structures to deal with opeartional attributes 2004-07-18 21:44:29 +00:00
Pierangelo Masarati
448e2dcad4 fix empty uniqueMember dn portion (ITS#3247) 2004-07-18 21:40:16 +00:00
Pierangelo Masarati
47415023b4 startup and shutdown backends only if not in dryrun mode 2004-07-18 21:36:39 +00:00
Pierangelo Masarati
5992a9b7e6 dnMatch must be called with valid args 2004-07-18 21:34:01 +00:00
Pierangelo Masarati
256d845f08 helpers for special attribute lists 2004-07-18 21:33:15 +00:00
Howard Chu
a14bda1df4 strptime is unreliable, just parse time ourselves 2004-07-18 18:28:16 +00:00
Howard Chu
26b4758938 Make sure hdb gets signed chars for len comparison 2004-07-18 12:29:52 +00:00
Hallvard Furuseth
af5ab4f196 Add missing format argument for 'unhandled idassert-method' error message. 2004-07-18 07:16:34 +00:00
Hallvard Furuseth
9c9c92a6a4 Fix coredump in slap_sasl_check_authz() due to wrong LDAP_LOG() format string. 2004-07-18 07:14:07 +00:00
Hallvard Furuseth
b81b0216a9 Split string literal to keep it below ANSI C's allowed 509-char limit. 2004-07-18 00:47:35 +00:00
Pierangelo Masarati
6a02b9b4fd don't ask for attributes 2004-07-17 17:06:03 +00:00
Pierangelo Masarati
512a70af47 more cleanup 2004-07-17 15:35:06 +00:00
Pierangelo Masarati
6aca8c16c6 cleanup 2004-07-17 15:15:59 +00:00
Pierangelo Masarati
854863f0b6 normalize authcDN (ITS#3246); don't touch databases when running slapadd in dryryn mode (ITS#3244); release lock when acquiring entry in tool mode (ITS#3245) 2004-07-17 14:45:07 +00:00
Pierangelo Masarati
5a32683d02 to be safe, always start backends and database 2004-07-16 16:42:57 +00:00
Pierangelo Masarati
dc5f95cd3e uninitialized var 2004-07-14 08:18:26 +00:00
Pierangelo Masarati
02c5b51717 cleanup; fix loop 2004-07-14 01:34:46 +00:00
Pierangelo Masarati
56303ce55a cleanup 2004-07-14 01:16:23 +00:00
Pierangelo Masarati
922a7e4488 cleanup; plug potential leak? 2004-07-14 01:10:35 +00:00
Pierangelo Masarati
d02a8cab65 revert previous change; anticipate backend_operational before overlays callbacks (thanks, Howard); rework overlays cycle to allow callbacks to free themselves (thanks Howard) 2004-07-14 00:42:23 +00:00
Pierangelo Masarati
8d03d74bfd silence warning 2004-07-14 00:22:27 +00:00
Pierangelo Masarati
3b8111f1c4 use a separate field for a modified entry in SlapReply 2004-07-13 22:52:54 +00:00
Pierangelo Masarati
89b284eef5 more on AttributeDescription error messages 2004-07-13 22:49:50 +00:00
Pierangelo Masarati
d58055b7de swap overlay and internal cleanup 2004-07-13 22:00:28 +00:00
Pierangelo Masarati
d6e3c93001 memory hanling cleanup 2004-07-13 01:00:48 +00:00
Pierangelo Masarati
7011c4f3e2 change flags only if entry massaging goes fine 2004-07-12 22:50:34 +00:00
Pierangelo Masarati
f4a428d060 cleanup 2004-07-12 22:33:44 +00:00
Howard Chu
2954a90483 Add backend_startup_one() 2004-07-12 20:27:33 +00:00
Howard Chu
856a8c1177 Don't bother logging lock failures for tryOnly mode 2004-07-12 20:02:24 +00:00
Howard Chu
3fd4d04168 Release cache locker on db close 2004-07-12 14:29:13 +00:00
Howard Chu
214d3b26c1 Fix for non-thread run 2004-07-12 04:05:26 +00:00
Pierangelo Masarati
22bd2667ce mostly done... 2004-07-11 22:57:51 +00:00
Pierangelo Masarati
1b85d17afe minor cleanup 2004-07-11 22:55:57 +00:00
Pierangelo Masarati
4424b9d57f log what backend is starting (bdb/hdb) 2004-07-11 22:52:26 +00:00
Pierangelo Masarati
198b34db35 back-relay doesn't like this 2004-07-11 22:52:01 +00:00
Howard Chu
2d4f58bbf6 Make sure DB result codes are returned to caller; add missing retries to
callers of bdb_cache_find_id().
2004-07-10 19:06:20 +00:00
Howard Chu
3dedb0839c Remove redundant code from previous patch 2004-07-10 18:26:05 +00:00
Pierangelo Masarati
7679f37b1d fix previous commit (needs work) 2004-07-10 15:15:01 +00:00
Pierangelo Masarati
8a9c5bb0f8 make sure we only get here when everything is fine 2004-07-10 11:41:28 +00:00
Pierangelo Masarati
1c2759e689 cache backend was not started up 2004-07-10 11:37:48 +00:00
Howard Chu
22f895a4bb Minor cleanup 2004-07-10 04:48:07 +00:00
Howard Chu
d6c68cdf48 Fix prev commit 2004-07-09 17:44:50 +00:00
Howard Chu
e5ffb0c466 Use previously unused Backend->be_context_csn 2004-07-09 17:27:23 +00:00
Howard Chu
ebc8bb0d83 Use long-lived per-thread TXNs for loading entries from DB.
Make sure only one thread tries to load a given entry at a time.
Bump up the DB environment's max TXNs to accomodate the new TXNs.
2004-07-09 17:00:07 +00:00
Ralf Haferkamp
b8113c5df9 ITS#3226: Clear attribute flags after schema_check failed 2004-07-09 11:18:42 +00:00
Jong Hyuk Choi
70314bd98b SLAP_IDL_CACHE macro removed 2004-07-09 03:31:52 +00:00
Pierangelo Masarati
2afdce8334 cleanup AD stuff (ITS#3225) 2004-07-09 00:14:15 +00:00
Pierangelo Masarati
3c7a3f78dd further improve error log clarity 2004-07-07 23:01:22 +00:00
Pierangelo Masarati
81d89ddd63 validate/pretty before normalizing... (ITS#3218) 2004-07-06 22:02:52 +00:00
Kurt Zeilenga
36e75e10af reverse last commit 2004-07-05 21:45:01 +00:00
Kurt Zeilenga
35cbe6fe84 fix typos in last commit 2004-07-05 21:44:12 +00:00
Kurt Zeilenga
191941c2cf better ssf related error messages
cleanup
2004-07-05 21:41:10 +00:00
Howard Chu
6b59008f26 Plug mem leaks 2004-07-05 21:00:09 +00:00
Howard Chu
5ab38cfa5f Better fix for ITS#3213, plug mem leaks. Also fix postread response. 2004-07-05 20:08:20 +00:00
Pierangelo Masarati
277d921945 clear shared connections when ldap_result fails with -1 (typically, remote server is down); fixes ITS#3217 2004-07-04 23:35:18 +00:00
Howard Chu
c3984d9f59 Plug memleak from ITS#2895 2004-07-04 04:56:36 +00:00
Howard Chu
56103a575b Fix misplaced unlock in prev commit 2004-07-03 21:06:34 +00:00
Howard Chu
473b8cb7db Re-order EntryInfo/DB locks to fix deadlocks 2004-07-03 20:03:14 +00:00
Howard Chu
42e0814247 Fix prev commit 2004-07-03 16:17:54 +00:00
Howard Chu
f696f7ab55 Fix: LRU corruption, HDB rename detection, Ctxcsn assert failure 2004-07-03 15:47:44 +00:00
Pierangelo Masarati
a0c28f4d7f fix matchedValue (ITS#3209); might need work 2004-07-03 11:17:11 +00:00
Pierangelo Masarati
b72657acf0 typo in comment 2004-07-03 11:16:22 +00:00
Pierangelo Masarati
74f224583b quick fix for ITS#3215; needs work to re-enable ACI caching, if possible at all 2004-07-02 16:45:06 +00:00
Ralf Haferkamp
3286e13a2c reset o_next pointer before freeing the operation (otherwise an assertion
failure in slap_op_free is possible)
2004-07-02 14:57:35 +00:00
Howard Chu
356d862974 unifdef old code 2004-07-02 12:06:03 +00:00
Howard Chu
b8273cba9b Fix pointer conflict with backglue 2004-07-02 11:59:05 +00:00
Howard Chu
bec599a954 Qualify some structure fields 2004-07-02 11:34:16 +00:00
Jong Hyuk Choi
a46d84544f cleanup 2004-07-01 22:40:03 +00:00
Pierangelo Masarati
6465801cfc beautify comment 2004-06-30 16:26:06 +00:00
Pierangelo Masarati
d8d3bded72 cleanup 2004-06-30 16:25:14 +00:00
Pierangelo Masarati
e779235391 cleanup 2004-06-30 01:17:05 +00:00
Kurt Zeilenga
7a6b0857b6 cleanup 2004-06-29 23:52:18 +00:00
Sang Seok Lim
ad19032bf2 This patch provides support for rdnMatch matching rule and RDN syntax in
RFC 3687. For now, both the attribute and assertion values are considered
as RDNs. Refer to ITS#3207 to find related discussion.
2004-06-29 23:36:58 +00:00
Pierangelo Masarati
8f6cce3296 improve logging... 2004-06-29 18:04:30 +00:00
Pierangelo Masarati
e052d7297d `err' might be used uninitialized 2004-06-29 17:32:43 +00:00
Pierangelo Masarati
5256cbda6c fix uniqueMemberMatch according to previous fix (related to ITS#3210) 2004-06-29 17:23:54 +00:00
Pierangelo Masarati
c25c3ed9e5 fix nameUID* and uniqueMember* stuff in a consistent manner (related to ITS#3210) 2004-06-29 16:29:00 +00:00
Ralf Haferkamp
498530fc4c TS#3213: free copy of e_attrs before retrying the transaction in bdb_modify() 2004-06-29 14:52:03 +00:00
Jong Hyuk Choi
2adcccb27d logging psearch return code 2004-06-28 23:51:17 +00:00
Kurt Zeilenga
6830aca2d1 cleanup 2004-06-28 23:03:01 +00:00
Kurt Zeilenga
537aab8a14 A more strict oidValidate 2004-06-28 22:53:19 +00:00
Pierangelo Masarati
279d629c81 fix nameUID/uniqueMember stuff (ITS#3210) 2004-06-28 22:10:27 +00:00
Pierangelo Masarati
70af36dbf5 trim useless code 2004-06-28 22:01:30 +00:00
Pierangelo Masarati
c84b7502c5 fix oidValidate() when a OID contains a single '0' (ITS#3211) 2004-06-28 22:00:28 +00:00
Pierangelo Masarati
c34a30a149 fix memory usage 2004-06-28 21:51:08 +00:00
Pierangelo Masarati
9a2b8f9d40 honor signedness 2004-06-28 21:20:13 +00:00
Pierangelo Masarati
a7a90609a9 propagate search result (maybe this is not what bdb_psearch() is intended to do...) 2004-06-28 21:08:32 +00:00
Pierangelo Masarati
a4f50c268a fix typo in comment 2004-06-28 20:59:04 +00:00
Kurt Zeilenga
372a941334 add baseObject as alias for base.
cleanup
2004-06-28 06:42:00 +00:00
Jong Hyuk Choi
08949463c5 - use ctxcsn_locker for the ctxcsn add transaction
- removal of LOCK_ID_FREE
- misc mem mgmt cleanup
2004-06-28 05:47:36 +00:00
Kurt Zeilenga
fbca1397a3 cleanup 2004-06-27 02:35:48 +00:00
Howard Chu
29f24962be Fix uninit'd exopflags 2004-06-26 01:17:24 +00:00
Howard Chu
5fd7534f79 Fix previous commit, deleting under suffix... 2004-06-25 20:04:16 +00:00
Howard Chu
826b177877 More locking cleanup (ITS#3201, etc) 2004-06-25 05:29:33 +00:00
Jong Hyuk Choi
22df3f94e4 internal operation return value processing cleanup 2004-06-25 02:27:02 +00:00
Kurt Zeilenga
e8b2c7f3be Fix wrong error when using operative attribute in
objectclass definition (ITS#3205)
2004-06-25 01:05:49 +00:00
Howard Chu
3c68fc1f14 ITS#3201 fix conflict with BDB internal locks 2004-06-24 23:50:10 +00:00
Howard Chu
f7f6861a26 ITS#3201 fix conflict with BDB internal locks 2004-06-24 23:35:18 +00:00
Howard Chu
c63817b9bd ITS#3201 partial fix. still encountering deadlocks. 2004-06-24 17:56:43 +00:00
Kurt Zeilenga
8bca3b42f9 Rework pre/post read controls to handle retry conditions...
(and plug leaks)
2004-06-23 06:56:23 +00:00
Kurt Zeilenga
e23b0f677f Move pre/post read calls into outer transaction.
Need to fix retry handling.
2004-06-23 06:02:49 +00:00
Jong Hyuk Choi
ec9d21e094 use ltid if it exists; use NULL otherwise. 2004-06-23 05:10:18 +00:00
Kurt Zeilenga
ee7dfb2ab9 cleanup 2004-06-23 03:09:13 +00:00
Jong Hyuk Choi
bc6b28a650 using write lock in accessing pslist 2004-06-23 02:07:12 +00:00
Jong Hyuk Choi
81c59404e9 use txn locker if it exists; get one otherwise. 2004-06-23 02:00:00 +00:00
Kurt Zeilenga
e5a37f2125 SLAPD_DISCONNECT v -1 cleanup
misc other cleanup
2004-06-23 01:04:52 +00:00
Kurt Zeilenga
83476f2d98 Add pre-read FIXME comment 2004-06-22 23:44:35 +00:00
Jong Hyuk Choi
28bd88d289 more timelimit cleanup 2004-06-22 23:23:37 +00:00
Jong Hyuk Choi
b459e59394 patch for ITS#3173
- passing transaction ptr to psearch
2004-06-22 23:22:16 +00:00
Kurt Zeilenga
4e6ed7072d cleanup 2004-06-22 19:49:00 +00:00
Jong Hyuk Choi
3917d2b15d limit checking in syncrepl 2004-06-22 18:15:29 +00:00
Pierangelo Masarati
d8eff4d1b5 use hard limit instead of returning adminLimitExceeded when requested limit exceeds hard; improve (and document) syntax; modify test025 accordingly 2004-06-22 09:43:41 +00:00
Pierangelo Masarati
445067260e asserts contradict the comment above and are basically wrong 2004-06-22 08:40:53 +00:00
Pierangelo Masarati
528b6c7e25 clear pagedresults_state if reusing an inactive connection; prepare for more consistent behavior of pagedResults control 2004-06-21 21:31:55 +00:00
Pierangelo Masarati
eb6dcbe246 fix ITS#3196; more to do 2004-06-21 17:51:28 +00:00
Pierangelo Masarati
5ff789e379 fix pagedResults dangling pointer in parsing cookie (ITS#3089) 2004-06-21 17:49:03 +00:00
Pierangelo Masarati
120470e1d6 clarify usage for internal searches 2004-06-21 09:10:46 +00:00
Jong Hyuk Choi
a1308f8dfa syncrepl retry code fix for correct timing 2004-06-21 07:03:49 +00:00
Pierangelo Masarati
1f70ad82f2 clean up unnecessary checks; don't use SASL native authz if authz ID is not static, because back-ldap pools connections... 2004-06-21 00:57:12 +00:00
Pierangelo Masarati
eca48b6f20 not sure that cyrus-sasl doesn't honor empty authz; need to check 2004-06-20 23:21:40 +00:00
Pierangelo Masarati
5bfb9fd590 make authz mode selection fully manual, plus more cleanup 2004-06-20 22:42:36 +00:00
Pierangelo Masarati
176e5542bb fix erroneous logging 2004-06-20 22:42:04 +00:00
Pierangelo Masarati
7fe1acca92 add shortcut for 'users'; but, very important, cleanup rewrite replacement to authz-regexp 2004-06-20 22:41:24 +00:00
Luke Howard
4eaef6a37d Do not crash if computed attribute has no values - necessary for range retrieval
support
2004-06-20 18:04:01 +00:00
Pierangelo Masarati
5d843b2b13 detect mechs that are known to perform native authz 2004-06-19 18:32:55 +00:00
Pierangelo Masarati
f34b11760a allow a hidden parameter to instruct the proxy that the SASL mech can do native authz; will disappear as soon as I can detect it automnatically 2004-06-19 18:18:26 +00:00
Pierangelo Masarati
97f96aaaa6 cleanup limits for internal searches... 2004-06-19 17:07:36 +00:00
Pierangelo Masarati
96fe39e99f minor cleanup 2004-06-19 15:17:41 +00:00
Pierangelo Masarati
e6065fb20d li->be didn't work; since it seems to be unnecessary, it's been removed; please check 2004-06-19 15:16:51 +00:00
Pierangelo Masarati
344edca731 protocol only allows positive integers; remove checks 2004-06-19 10:40:24 +00:00
Pierangelo Masarati
c06208527c protocol only allows positive integers; check, just in case... 2004-06-19 10:32:17 +00:00
Pierangelo Masarati
a689d81536 typo? 2004-06-19 10:02:53 +00:00
Pierangelo Masarati
7e833d90a7 implement server side of "max" limit 2004-06-19 10:02:27 +00:00
Kurt Zeilenga
18a68380f6 More paged results cleanup 2004-06-18 23:12:03 +00:00
Kurt Zeilenga
4b2fcbc14d Fix nentries logging 2004-06-18 23:10:26 +00:00
Kurt Zeilenga
aa9627e61c Don't return useless estimate. 2004-06-18 23:07:56 +00:00
Kurt Zeilenga
c5601aad66 Fix last commit... needs $srcdir 2004-06-18 22:21:01 +00:00
Kurt Zeilenga
73202e3910 Fix typo in last commit 2004-06-18 19:12:00 +00:00
Pierangelo Masarati
42f3b3d87b improve parsing - first step 2004-06-18 09:11:53 +00:00
Jong Hyuk Choi
763f8c76ee syncrepl retry-on-error code 2004-06-18 05:04:03 +00:00
Kurt Zeilenga
2478fdf2ec A very basic DB_CONFIG example 2004-06-18 04:49:08 +00:00
Jong Hyuk Choi
ef0a404729 revert pervious change 2004-06-18 02:59:47 +00:00
Pierangelo Masarati
40e42fcd11 res is already freed by ldap_parse_reference() (ITS#3190) 2004-06-17 18:27:51 +00:00
Kurt Zeilenga
87c28866de cleanup 2004-06-16 23:49:35 +00:00
Pierangelo Masarati
a317f01dc1 improve pagedResults ignoring (hopefully) 2004-06-16 15:26:21 +00:00
Kurt Zeilenga
0ae37bd468 Add SLAP_BFLAG_NOLASTMODCMD backend flag. When set, use of
the lastmod command will fail.  To be set by backends
(e.g., back-ldap) which force the value of SLAP_DBFLAG_NOLASTMOD
database flag.
2004-06-16 04:47:21 +00:00
Howard Chu
06f3bfb7f9 More for ITS#3188 2004-06-16 03:29:02 +00:00
Kurt Zeilenga
7537d3d843 Partial fix for ITS#3188.
As Howard noted, additional fixes may be needed in other update routines.
2004-06-15 21:13:40 +00:00
Kurt Zeilenga
6826810ea7 allow logging to USER and DAEMON (ITS#3187) 2004-06-15 07:22:48 +00:00
Jong Hyuk Choi
5ac9de4d36 More backglue fix: do not return NO_SUCH_OBJECT when the base object is located above the subordinate database in search 2004-06-14 23:41:13 +00:00
Pierangelo Masarati
6c41f12ff1 fix build when #define BACKSQL_TRACE 2004-06-14 20:04:36 +00:00
Pierangelo Masarati
ba3dde6d16 return pagedResultsControl with empty cookie at end of search (ITS#3161) 2004-06-12 18:22:53 +00:00
Pierangelo Masarati
c0490482d6 ignore the control if page is larger than requested sizelimit (as per RFC) 2004-06-12 17:37:37 +00:00
Pierangelo Masarati
4c685bfd1e clarify no limits in (internal) searches 2004-06-12 17:32:20 +00:00
Pierangelo Masarati
0c49718e82 clean up search limits enforcement 2004-06-12 17:31:45 +00:00
Pierangelo Masarati
8e3fba7e1e silence a few (mostly harmless) warnings 2004-06-12 15:08:59 +00:00
Howard Chu
8138b5258f ITS#3182 ? clear ctrls after sending paged response 2004-06-12 12:29:18 +00:00
Howard Chu
d57b404889 back-hdb fixes for ITS#3063 2004-06-12 12:27:22 +00:00
Pierangelo Masarati
d1b692ceb4 clarify no limits in (internal) searches 2004-06-12 11:33:21 +00:00
Howard Chu
7c7754b956 Better fix for ITS#3063, #3186 2004-06-12 07:39:24 +00:00
Howard Chu
9cf45220d2 ITS#3186 don't print error when empty DN "" is the only thing missing 2004-06-12 05:29:55 +00:00
Howard Chu
0b24ae9a12 Fix prev commit 2004-06-12 05:29:07 +00:00
Howard Chu
b9e3f66c7c Add glue for root DB (ITS#3063) 2004-06-12 04:31:17 +00:00
Howard Chu
591acac04f Another crash for ITS#3063 2004-06-12 03:25:15 +00:00
Kurt Zeilenga
25166f8166 cleanup 2004-06-11 00:14:01 +00:00
Kurt Zeilenga
ed4811039e cleanup 2004-06-09 05:20:57 +00:00
Jong Hyuk Choi
aa61c0b122 ITS#3180 Fix 2004-06-08 02:54:21 +00:00
Jong Hyuk Choi
f60f2d5048 Fix typo 2004-06-08 02:52:59 +00:00
Howard Chu
932d924f50 ITS#3170 fix uninit'd mod.sml_nvalues 2004-06-03 23:09:25 +00:00
Kurt Zeilenga
248e73c7e1 TLS availability should check slapd's context not the default context. 2004-06-02 17:38:04 +00:00
Kurt Zeilenga
b438e6b533 ITS#3166: correct slapi_entry_attr_get_* return types
patch provided by Martin Evans
2004-06-01 22:07:57 +00:00
Jong Hyuk Choi
43045c0d71 Fixing backglue behaviors
1) Return NO_SUCH_OBJECT if base object cannot be located
2) Does not search databases that are superior to the base object of the search
2004-06-01 20:17:11 +00:00
Howard Chu
14ca92e851 load_ucdata is now a no-op 2004-05-31 05:44:04 +00:00
Kurt Zeilenga
3dcc2bf092 cleanup 2004-05-31 04:01:03 +00:00
Jong Hyuk Choi
5e761b1ea3 Fix for backglue limit checking 2004-05-31 02:03:39 +00:00
Jong Hyuk Choi
b85ba35ba7 Patch for ITS#3133 2004-05-31 02:01:59 +00:00
Kurt Zeilenga
2ec6755eda Don't shortcut scope base searches. Base scope searches can be
useful to ensure target entry exists.
2004-05-30 22:15:39 +00:00
Howard Chu
0bcb9c3150 Fix ITS#3155 2004-05-27 08:54:34 +00:00
Howard Chu
2c0d735aa7 Fix ITS#3160, decrement conn->c_n_ops_pending when removing an op from
the conn->c_pending_ops queue.
2004-05-27 08:45:27 +00:00
Pierangelo Masarati
650ca42066 provide support for usage() 2004-05-26 12:29:17 +00:00
Pierangelo Masarati
06782dac3b remove '-S'; improve usage() 2004-05-25 17:42:06 +00:00
Pierangelo Masarati
417f709978 fix previous commit 2004-05-25 13:35:04 +00:00
Pierangelo Masarati
cab43a6816 infrastructure for '-o <option>[=<value>]' args 2004-05-25 10:44:51 +00:00
Howard Chu
7488f557cd Fix entry_get, only check mapped attr if attr was provided 2004-05-25 04:54:32 +00:00
Kurt Zeilenga
6e17b60648 add command line option (-S) to enable SLP registration (ITS#3132)
off by default.  Option assignment is temporary, should be replaced
with "-o slp=<ON|off>".
Based upon patch submitted by Ralf Haferkamp (SuSE).
2004-05-24 23:28:52 +00:00
Kurt Zeilenga
5a7f9858fe cleanup 2004-05-24 23:23:50 +00:00
Luke Howard
ab48d0295d slapi_ldap_init() / slapi_ldap_unbind() 2004-05-24 05:28:43 +00:00
Luke Howard
ba686c399b slight optimization - use ldap_bv2dn() 2004-05-24 03:43:53 +00:00
Luke Howard
f9b719f56e Implement slapi_entry_{get,set}_uniqueid 2004-05-23 16:04:27 +00:00
Luke Howard
e932093f47 Fix breakage 2004-05-23 15:51:58 +00:00
Luke Howard
4c2e3eeda4 Add slapi_entry_add_rdn_values(), slapi_entry_rdn_values_present(), slapi_entry_schema_check() API 2004-05-23 15:47:23 +00:00
Luke Howard
71d473f09f Implement slapi_rdn2typeval and slapi_dn_plus_rdn 2004-05-23 12:43:59 +00:00
Luke Howard
f62d1aac4e Implement slapi_entry_size() 2004-05-23 12:12:43 +00:00