Commit Graph

877 Commits

Author SHA1 Message Date
Pierangelo Masarati
63e0046eab fix previous commit 2007-12-27 19:57:51 +00:00
Pierangelo Masarati
8a529a1f72 check objectClass inheritance on add (consistent with modify; ITS#5299) 2007-12-27 19:50:12 +00:00
Howard Chu
d38ff5403f ITS#5261 quick fix, don't checkpoint on first write to DB 2007-12-22 05:00:38 +00:00
Howard Chu
13491b3905 ITS#5285 don't check for password reuse if history is not enabled 2007-12-15 19:35:11 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
8a622361d1 ITS#4987 extensions from Emmanuel Dreyfus manu @ netbsd.org with major
cleanups
2007-12-15 11:12:56 +00:00
Howard Chu
3a7830ff01 More cleanup 2007-12-15 00:50:37 +00:00
Howard Chu
b96a96c598 Fix prev commit, must test filter on cleanup 2007-12-14 20:24:31 +00:00
Howard Chu
f84a67ef34 Don't test filter before saving, need the copy for local lookup 2007-12-14 20:04:40 +00:00
Howard Chu
a58ea1efdd More cleanup 2007-12-14 19:50:06 +00:00
Howard Chu
be32a57637 Add missing cleanup 2007-12-14 19:15:06 +00:00
Howard Chu
75b7f19ae3 ITS#5283 add remote/local attribute lists, search both local and remote 2007-12-14 19:02:44 +00:00
Pierangelo Masarati
bd64ab8d17 don't try to count non-expired entries if database does not exist (ITS#5267) 2007-12-08 21:57:22 +00:00
Howard Chu
6c0b815b6f ITS#5268 omit contextCSN when replicating 2007-12-08 17:45:10 +00:00
Howard Chu
562b88a3cf Omit auditContext when sync control is present 2007-12-08 17:03:47 +00:00
Pierangelo Masarati
bfd50b6ec5 don't try to delete expired entries if database does not exist (ITS#5267) 2007-12-08 17:00:34 +00:00
Howard Chu
54a3ef323b ITS#5161 make sure accesslog_response is called for abandoned writes
This probably needs to be cleaned up more. There should be a log
schema flag that indicates that an op was abandoned.
2007-12-07 11:27:57 +00:00
Pierangelo Masarati
8958bcd60f save old values when deleting (ITS#5258; not optimal) 2007-12-06 12:29:04 +00:00
Howard Chu
0189fcc32a Pop local callback for modify 2007-11-29 23:03:44 +00:00
Howard Chu
dba1b54b47 Fix prev commit, leave callback stack alone in compare() 2007-11-29 22:56:54 +00:00
Ralf Haferkamp
67ec05ef18 Allow initialization when using custom "memberof-group-oc" and
"memberof-member-ad" and "groupOfNames" and "member" are undefined
2007-11-28 12:09:55 +00:00
Quanah Gibson-Mount
cb286fa4b1 cleanup 2007-11-27 20:58:19 +00:00
Pierangelo Masarati
7aeac21440 silence warnings 2007-11-23 12:47:53 +00:00
Pierangelo Masarati
3c6714051e let c_conn_idx be -1 (ITS#5235?) 2007-11-17 13:39:19 +00:00
Howard Chu
d3531c6d79 Eliminate unnecessary Op copies 2007-11-13 01:35:58 +00:00
Howard Chu
0e3db5ac3e ITS#4889 fix search. remainder of code needs similar work. 2007-11-13 01:22:45 +00:00
Ralf Haferkamp
488af9daa2 Fix op->o_abandon handling. Use fake connection to add results to the cache (ITS#5187) 2007-11-08 15:43:42 +00:00
Howard Chu
18db111c6b Fix prev commit 2007-11-07 04:59:03 +00:00
Howard Chu
8f56be2ce8 ITS#5146 better check for single val in modify 2007-11-07 04:58:07 +00:00
Howard Chu
005209bfe1 ITS#5211 spec says we must ignore invalid cookies 2007-11-04 12:34:41 +00:00
Howard Chu
528a30fe87 More for prev commit, ITS#5120. 2007-11-02 16:40:42 +00:00
Howard Chu
b6570cf867 Don't send cookie at end of refresh if nothing changed in refreshAndPersist 2007-11-02 00:25:11 +00:00
Howard Chu
38953e2f2c Fix depend dependency for parallel make 2007-10-20 04:29:11 +00:00
Howard Chu
539109e4f0 Fix prev commit, only defer open for online Add 2007-10-16 16:25:56 +00:00
Howard Chu
a79bc9195d ITS#5177 pass new entries in search_response for Persist mode 2007-10-08 18:13:29 +00:00
Howard Chu
8bb39495c7 Fix unprotected checks for psearches 2007-10-08 13:59:33 +00:00
Howard Chu
d2f75ebaa5 Plug leak 2007-10-08 13:28:25 +00:00
Howard Chu
ade1fcff20 ITS#5173 simplify defer open behavior 2007-10-08 07:37:53 +00:00
Howard Chu
2659caf322 ITS#5173 fix for dynamic add in cn=config 2007-10-08 07:13:58 +00:00
Howard Chu
dbcf98b4d9 Refuse to operate on cacheDB if it hasn't been started yet 2007-10-08 06:34:57 +00:00
Howard Chu
e60536c04a Fix for dynamic adds 2007-10-08 06:21:13 +00:00
Pierangelo Masarati
617bd11452 de-normalize simple filter values consistently 2007-10-05 09:49:19 +00:00
Pierangelo Masarati
4cf03ca277 fix ITS#5168 (a better fix would probably be a generic handler to de-normalize values) 2007-10-04 21:53:49 +00:00
Howard Chu
9dc35b8997 Don't queue zero-length CSNs 2007-10-02 23:51:40 +00:00
Pierangelo Masarati
14bcd332ce log cookie (until we find what's going on...) 2007-10-02 18:09:15 +00:00
Pierangelo Masarati
2de9d97ad2 first round of s/sprintf/snprintf/; the rationale is: truncate error messages rather than buffer overflow; otherwise, assert that no buffer overflow occurred. In some cases, error handling could be added. Please note: no real error in the code was found so far, apart from that in syncprov.c and from some config-time error logging; however, errors could slip thru again if things don't change consistently 2007-09-29 17:55:33 +00:00
Ralf Haferkamp
3d1df12527 set mod->sm_numvals 2007-09-26 01:59:24 +00:00
Howard Chu
0f2b1d551b More for Mod.sm_numvals 2007-09-24 05:30:53 +00:00
Howard Chu
dcaa5a27f5 Partially revert prev commit, unintended. 2007-09-24 05:30:36 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00