Commit Graph

11736 Commits

Author SHA1 Message Date
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
Paul B. Henson
85d467aca6 ITS#7161 ppolicy pwdFailureTime resolution should be better than 1 second 2014-06-15 13:42:46 -07:00
Howard Chu
8fc7e06d22 Revert "ITS#7616 defer searches while consumer refreshing"
This reverts commit cf4aa8f9d9.

There appears to be no safe way for this to work with MMR.
2014-06-12 13:23:29 -07:00
Howard Chu
e4e265c153 ITS#7873 check for pauses 2014-06-04 14:24:20 -07:00
Howard Chu
4afa10d059 ITS#7872 plug memleak of matchedDN 2014-06-04 14:02:06 -07:00
Howard Chu
45ff842542 Plug one-time leaks 2014-06-04 02:23:18 -07:00
Howard Chu
a01d3f965b ITS#7870 ignore index DBs in slapcat 2014-06-03 20:38:21 -07:00
Howard Chu
33e12f4de3 Don't do any merging if manageDSAit was used
Just passthru search to local DB
2014-05-27 18:12:49 -07:00
Howard Chu
932a11ac76 ITS#7849 make sure to send cookie after fallback 2014-05-23 06:56:56 -07:00
Howard Chu
cf4aa8f9d9 ITS#7616 defer searches while consumer refreshing 2014-05-23 06:56:16 -07:00
Howard Chu
5a08b66141 ITS#7705,#7800 fix prev commit
Better check for missing IDs
2014-05-15 21:27:21 -07:00
Howard Chu
437f21b16e ITS#7705,#7800 fix back-mdb pagedResults search
mdb_idscopes was remembering the IDs of every entry it checked;
it should only have been saving the IDs of entries that were
actually in the search scope. The extra entries filled the scopes
array, causing a loop searching for a parent entry that was
never inserted.
2014-05-15 21:06:17 -07:00
Howard Chu
141f168093 ITS#7850 catch invalid naming attr 2014-05-09 11:29:45 -07:00
Quanah Gibson-Mount
e5443fd279 Relocate the maxsize bit 2014-04-25 14:43:12 -05:00
Quanah Gibson-Mount
ea2fbe2152 Sample slapd.ldif is missing the olcDbMaxSize parameter 2014-04-25 14:36:09 -05:00
Howard Chu
c84ae5db07 ITS#7827 slapacl requires a valid suffix 2014-03-25 15:18:17 -07:00
Howard Chu
052aef5960 ITS#7587 fix double-free
Related to bb3e14ddba (ITS#6254)
2014-03-18 11:47:31 -07:00
Howard Chu
5f92a0bb16 ITS#7803 reference slapd-config(5)
Also replace BDB example with LMDB
2014-02-28 12:52:39 -08:00
Howard Chu
5cab6b77e4 ITS#7798 fix mdb_entry_decode() 2014-02-07 03:02:33 -08:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Howard Chu
b1ed3bf10a ITS#7778 fix regression from #7329 2014-01-13 11:26:46 -08:00
Pierangelo Masarati
3be02f83df handle softadd/softdel (internal modifications; ITS#7773) 2013-12-28 16:20:08 +01:00
Hallvard Furuseth
5415e1e6de ITS#6758 Rewrite code for contrib:wrap_slap_ops.
Tweak slapd code so wrap_slap_ops can process it: Use pointers
BackendInfo *bi instead of array "func" = &bi->bi_op_bind. In
slapo-chain, keep a slap_operation_t instead of a function ptr.
2013-12-11 14:40:45 +01:00
Hallvard Furuseth
7bb8b706c5 ITS#6758 Add SLAP_OP() &co, contrib:wrap_slap_ops.
Add framework for debug macros SLAP_OP(), slap_be_op(),
slap_bi_op() around LDAP-operation backend calls.

contrib/slapd-tools/wrap_slap_ops converts code to use them.

Code compiles as before by default.  #define USE_RS_ASSERT
enables debugging, $NO_RS_ASSERT tweaks it. See slapd/result.c.
2013-12-11 14:40:45 +01:00
Howard Chu
26ce222b6a ITS#7761 bail out of search if config is pausing 2013-12-10 18:08:36 -08:00
Howard Chu
ac9ac0094e ITS#7749 more for prev commit 2013-11-21 11:18:24 -08:00
Howard Chu
a4b9cab04f ITS#7750 fix olcDbConfig modification 2013-11-18 20:39:35 -08:00
Howard Chu
1682691f50 Fix typo for Windows 2013-11-14 21:17:13 -08:00
Howard Chu
06e384d55b ITS#7749 propagate op->o_extra in syncprov_findbase 2013-11-14 19:16:57 -08:00
Howard Chu
5328340d35 ITS#7746 fix for cert with NULL issuerDN 2013-11-14 03:02:07 -08:00
Howard Chu
66bb780b16 ITS#7743 Fix indexed AND filter
Partially revert 47f6aec61e
Was using RANGE_FIRST/RANGE_LAST on an IDL known to *not* be a range.
2013-11-11 21:01:33 -08:00
Howard Chu
3d1a0bb17e ITS#7741 Fix entryDN index lookup
DN notfound is authoritative, don't ignore the result
2013-11-06 09:41:42 -08:00
Howard Chu
6711876a35 Fix CONFIG_DELETE crash
Closing a connection can abandon its ops without going thru the threadpool,
so make sure to lock the si_ops_mutex before walking the list.
2013-11-05 12:59:56 -08:00
Howard Chu
a12bedc2d8 ITS#7735 fix memctx usage in prev commit 2013-11-05 11:49:43 -08:00
Howard Chu
eef667fd49 ITS#7739 fix for empty nested include 2013-11-05 07:34:30 -08:00
Jorge Perez Burgos
66e0d6017a ITS#7740 back-meta: avoid blocking other threads
Don't lock other threads while trying to connect to remote node.
2013-11-05 06:45:40 -08:00
Howard Chu
ed09222963 Fix slap_reparse_sync_cookie prototype 2013-11-02 14:20:15 -07:00
Howard Chu
0645878d5d ITS#7735 plug memleak
Introduced in commit 48cdd54d9a
2013-11-01 11:07:51 -07:00
Quanah Gibson-Mount
e70bc5dd64 ITS#7737 Add a matching rule for OlcDbEnvFlgs 2013-11-01 09:57:20 -07:00
Howard Chu
80d8c56afd ITS#7725 add nordahead envflag 2013-10-12 16:25:33 -07:00
Howard Chu
d47524d8f9 ITS#7692 no-op if target entry doesn't exist 2013-10-12 15:35:05 -07:00
Ted C. Cheng
a2e1b9b545 ITS#7699 fixed one dds start-up assertion failure 2013-10-12 15:23:19 -07:00
Howard Chu
d51ee964fc ITS#7694 more for IPv6 CLDAP, slapd fix 2013-10-10 10:48:08 -07:00
Howard Chu
63314e9c4a ITS#7710 fix typo 2013-10-10 04:04:44 -07:00
Howard Chu
44504848ac ITS#7329 optimize index update for simple add ops
Don't need to reindex all the attr values if there were no deletes.
2013-10-09 07:55:50 -07:00
Howard Chu
c350b51a63 ITS#7710 fix for non-replicated internal ops
Their completion was making slap_graduate_commit_csn() cleanup
their parent op's CSN, thus preventing that CSN from propagating
to any consumers.
2013-10-09 04:58:37 -07:00
Howard Chu
c82dcab9bd ITS#7720 don't do ptr arithmetic on void *s 2013-10-08 10:40:51 -07:00
Quanah Gibson-Mount
a672161ab7 Add maxsize parameter for mdb examples 2013-09-19 15:03:53 -07:00
Quanah Gibson-Mount
74c52fb136 Switch example slapd.conf to use mdb instead of bdb 2013-09-19 14:23:11 -07:00
Quanah Gibson-Mount
1a712bf18e Enable features that were hidden behind LDAP_DEVEL 2013-09-19 09:50:52 -07:00