Commit Graph

61 Commits

Author SHA1 Message Date
Pierangelo Masarati
f3014a235d better diagnostics 2009-03-05 10:59:34 +00:00
Howard Chu
f719c364c5 ITS#5922 - disable meter for non-default debug settings 2009-02-05 20:57:17 +00:00
Howard Chu
72145a7183 More for prev commit, note when closing DB 2009-02-05 10:39:47 +00:00
Howard Chu
d0515c4017 ITS#5922 with namespace changes 2009-02-05 09:38:07 +00:00
Pierangelo Masarati
260fd357df fix structuralObjectClass modification (glue, ITS#5921; w/ relax, ITS#5792) 2009-02-04 22:36:49 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Howard Chu
4e22081e02 ITS#5745 report errors in shutdown processing 2008-11-03 13:23:05 +00:00
Pierangelo Masarati
f696cecb77 work around paranoid check (ITS#5412) 2008-03-22 16:01:23 +00:00
Howard Chu
ccaf69a7bc Tweak order of operational attrs 2008-02-22 14:17:43 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
f8588ff0c3 ITS#5225 fix contextCSN updating 2007-11-12 03:50:31 +00:00
Pierangelo Masarati
a6fd7fa95a add -S to slapadd to set desired SID in generated entryCSN/contextCSN 2007-08-28 19:35:57 +00:00
Pierangelo Masarati
9a0797004f if tool mode needs to add structuralObjectClass, override any database setting (rationale: if configured w/ mirror mode and syncrepl, a master is also a shadow, but we need to be able to slapadd to a master (possibly with the correct SID; will deal with this later) 2007-08-28 18:36:42 +00:00
Pierangelo Masarati
4db9863fa8 fix previous commit 2007-08-27 10:12:39 +00:00
Pierangelo Masarati
09cbbb92a7 need to copy the Entry to safely manipulate it 2007-08-27 07:13:25 +00:00
Pierangelo Masarati
7dc7c60c4b improve previous commit; fix ITS#5108 by letting both SID and RID be 0..4095, input/output in decimal, but consistently handled in hexadecimals within CSN 2007-08-26 17:03:22 +00:00
Pierangelo Masarati
2132aa3b16 add support for CSNSIDMatch; use it to set contextCSN as appropriate when slapadd'ing -w 2007-08-26 15:39:45 +00:00
Hallvard Furuseth
f5d1a15fec Remove lint 2007-08-16 14:41:48 +00:00
Howard Chu
a87b4592a4 Remove tool_id2entry_get 2007-08-11 04:19:53 +00:00
Howard Chu
88cbe052e0 Fallout from ITS#4986 - remove unused param of select_backend() 2007-07-13 03:18:20 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
35f6ef6fd6 Cleanup prev commit 2006-05-31 01:52:32 +00:00
Howard Chu
59ca2d198f ITS#4555 add "-j" option to jump to line of LDIF file before processing.
Fixed line number in error messages to give the line number of the beginning
of the offending entry.
2006-05-29 02:41:06 +00:00
Luke Howard
c51a71e5c2 Add -s option to slapadd to disable schema checking 2006-01-08 20:18:14 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +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
Hallvard Furuseth
4faa77f440 Reject slapadd -w if not supported (partial ITS#3979 fix) 2005-08-31 23:23:13 +00:00
Luke Howard
12d006d17d Add o_no_schema_check to operation structure
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Hallvard Furuseth
f5dd017738 Silence warnings (rearrange if(dryrun) vs. if(verbose) 2005-07-27 08:48:43 +00:00
Hallvard Furuseth
d6cc947561 Silence "unused <something>" warnings 2005-07-14 19:52:08 +00:00
Howard Chu
21b8be393a Add slap_timestamp(), use mutex in slap_get_csn() 2005-06-07 04:12:14 +00:00
Kurt Zeilenga
feeeabcd68 manageDIT framework and obsolete objectclasses/DIT-content-rule override 2005-05-13 19:07:31 +00:00
Kurt Zeilenga
c83f7539ae Mostly remove global_schemacheck. More cleanup needed in
bconfig.c and back-sql.
2005-05-11 22:24:18 +00:00
Pierangelo Masarati
18d18d25dc more attr_merge cleanup (please check) 2005-04-21 23:36:37 +00:00
Howard Chu
7aac82d31c ITS#3616 allow adding entry with zero-length DN if the suffix is zero length 2005-04-09 11:27:35 +00:00
Howard Chu
632d7186c0 Don't crash on update_ctx if context entry has no contextCSN 2005-04-09 10:00:15 +00:00
Howard Chu
554c667ec7 Revert use_thread option, it didn't gain anything. 2005-02-17 15:18:30 +00:00
Pierangelo Masarati
14fc23c23a silence warning 2005-01-30 22:07:48 +00:00
Howard Chu
fcf787dc0f Rewritten str2entry, added str2entry2 2005-01-24 03:41:51 +00:00
Howard Chu
7b65f9bab4 Really fix synchronization 2005-01-22 00:13:00 +00:00
Howard Chu
e67e45f752 Minor cleanup 2005-01-21 22:46:06 +00:00
Howard Chu
123668e241 More fixes for prev commit 2005-01-21 22:27:24 +00:00
Howard Chu
7de2352868 Fix synchronization in prev commit 2005-01-21 22:14:08 +00:00
Howard Chu
f6ac16dff7 Add option to use a second thread for adds 2005-01-21 21:20:56 +00:00
Howard Chu
495c315672 More consolidation for single consumer-context syncrepl 2005-01-14 04:26:59 +00:00
Howard Chu
93c56951ed Use a single sessionlog per context, delete sid 2005-01-13 19:51:01 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00