Commit Graph

5677 Commits

Author SHA1 Message Date
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