Ondrej Kuznik
fde1f80aa8
ITS#7256 Add some necessary checks.
2014-07-08 17:28:10 -07:00
Ondrej Kuznik
304c0cbbff
ITS#7256 Set backend for operation.
...
slap_tool_entry_check does it but it is not called every time.
2014-07-08 17:28:09 -07:00
Ondrej Kuznik
7810dccdff
ITS#7256 Let slapmodify ignore unknown operations
...
ldapmodify already does the same.
2014-07-08 17:28:07 -07:00
Ondrej Kuznik
cede821cef
ITS#7256 Allow deletes with slapmodify
2014-07-08 17:28:06 -07:00
Ondrej Kuznik
f05602927d
ITS#7256 mplement bi_tool_entry_delete for back-ldif
2014-07-08 17:28:04 -07:00
Ondrej Kuznik
c048b7cad6
ITS#7256 Introduce bi_tool_entry_delete
2014-07-08 17:26:05 -07:00
Ondrej Kuznik
17e223b896
ITS#7212 rudimentary slapmodify support for back-config
2014-07-08 17:25:58 -07:00
Ondrej Kuznik
5ee5251fa4
ITS#7212 slapmodify support for back-ldif
2014-07-08 17:25:58 -07:00
Howard Chu
282d215924
Fixup for win64 commit
...
couldn't avoid ifdefs. Silence warnings.
2014-06-23 08:21:36 -07: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
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