Commit Graph

87 Commits

Author SHA1 Message Date
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Howard Chu
fc05c63b63 ITS#8127 fix ftello for Win32 2015-05-07 10:48:42 +01:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Howard Chu
dda779d83e Windows64 32/64 silliness
On Windows64, long is the same size as int. Use size_t when we
need an actual 64 bit unsigned long.
2014-06-23 08:00:11 -07:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Howard Chu
b7df586674 ITS#7608 allow slapadd w/unknown RDNs for config DB 2013-05-27 18:51:34 -07:00
Howard Chu
461db2de1a ITS#7497 fix lineno overflow in ldif_read_record() 2013-01-23 02:19:02 +00:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
68ffed7130 Additional fix for threaded slapadd
If slapadd'ing a config DB and tool-threads is set in the config LDIF,
the checks for slap_tool_thread_max will be invalid.
2012-05-29 19:49:58 -07:00
Howard Chu
519e2b34b5 Support double-buffering for threaded slapadd 2012-04-14 07:54:26 -07:00
Howard Chu
2e9f1f93c8 ITS#7142 fix slapadd exit on failure 2012-01-28 15:44:51 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
7592013f59 Additional tweaks for double-threaded slapadd 2011-10-06 16:10:47 -07:00
Howard Chu
34adb86929 Use a thread for LDIF parsing in slapadd -q 2011-10-04 19:21:39 -07:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
15f1e7bdb7 move ctxcsn and schema check code in helpers; also apply to slapmodify (ITS#6737) 2010-12-07 10:50:54 +00:00
Pierangelo Masarati
856f1b401a allow '-o value-check={yes|no}' for optional value checking, disabled in quick mode (ITS#6592) 2010-09-07 05:47:55 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
3f9e8eeeec ITS#6373 more for subentry creation 2009-11-11 04:03:27 +00:00
Pierangelo Masarati
7608e06a53 warn if entryUUID,entryCSN are missing and the database is shadow (ITS#6281) 2009-09-08 04:11:05 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Howard Chu
72e319bd02 ITS#5892 return -1 from ldif_read_record on error 2009-07-07 22:30:55 +00:00
Howard Chu
94ab6a31b2 ITS#6038 revert prev commits, ITS rejected 2009-03-27 11:07:42 +00:00
Rein Tollevik
c8cf2fc47a ITS#6038: Write slapadd progress meter to stdout. 2009-03-26 22:50:54 +00:00
Pierangelo Masarati
eb6d01e393 more about previous commit 2009-03-05 18:25:43 +00:00
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