Ralf Haferkamp
7b2dc4c059
Send error to active psearches upon overlay removal
2010-06-23 16:34:25 +00:00
Pierangelo Masarati
cec460d3ee
make sure non-anonymous bind uses DN and creds (ITS#6574)
2010-06-23 00:13:50 +00:00
Pierangelo Masarati
e338733c97
don't risk leaving around client library error codes; try to return additional information
2010-06-22 23:26:06 +00:00
Pierangelo Masarati
1242443553
don't risk leaving around client library error codes
2010-06-22 23:10:48 +00:00
Pierangelo Masarati
127c533853
use realloc
2010-06-21 20:24:20 +00:00
Howard Chu
e43f0a2cf0
Fix rewriterule, free rewrite info in syncinfo_free
2010-06-21 18:01:29 +00:00
Howard Chu
995c4c5bb3
Fix prev commit, return NULL if rewrite returns original DN
2010-06-21 17:26:50 +00:00
Howard Chu
bdf52f4fc4
ITS#6577 potential fix, found using valgrind/drd. please test.
2010-06-20 21:28:04 +00:00
Howard Chu
6ee6739b48
Add suffixmassage processing
2010-06-19 03:15:41 +00:00
Howard Chu
bc82f314c3
Add config support for suffixmassage. Note - no actual massage code
...
present in this commit.
2010-06-19 01:29:39 +00:00
Howard Chu
9a0e94b4dc
More for ITS#6572, fix copy/paste error
2010-06-17 22:05:33 +00:00
Howard Chu
8a197d1a6c
Don't set bi_db_config since we have no config options
2010-06-13 22:02:15 +00:00
Howard Chu
28072167c7
ITS#6572 zero out freed DN vals. from mbackes@symas.com
2010-06-13 18:47:21 +00:00
Howard Chu
004540b360
ITS#6570 part #1 (again), reject RDNs with binary BER values
2010-06-07 00:02:32 +00:00
Howard Chu
007cd13010
ITS#6570 part #2 , reject RDNs with empty values
2010-06-06 23:22:07 +00:00
Howard Chu
ea138247b3
ITS#6570 part #1
2010-06-06 20:32:53 +00:00
Howard Chu
c8c3847103
ITS#6566 use Debug, not fprintf(stderr)
2010-06-02 00:18:32 +00:00
Pierangelo Masarati
d43cabbcc1
make sure bind credentials are consistent
2010-05-24 22:22:53 +00:00
Howard Chu
a07d3630cb
Quit send loops if slapd is shutting down
2010-05-21 17:47:17 +00:00
Ralf Haferkamp
a06696a1ef
During the refresh phase the sync filter needs to be adjusted (skipping
...
the "(entrycsn>=cookie)" part that was inserted) when checking whether a
change needs to be replicated, otherwise we lose DELETES that happen during
the refresh phase (ITS#6555).
2010-05-20 17:08:28 +00:00
Howard Chu
c45fca65fc
Init uninit'd vlv flag
2010-05-18 07:35:12 +00:00
Pierangelo Masarati
ba507dc27b
try harder to compute hasSubordinates (ITS#6549)
2010-05-18 02:18:48 +00:00
Ralf Haferkamp
5743591419
Reset BackendInfo to original value after checkpoint. Plugs a memory leak
...
when deleting the syncprov overlay from a database (when compiled with
-DSLAP_CONFIG_DELETE)
2010-04-29 15:47:27 +00:00
Howard Chu
6273df07da
ITS#6533 put rid first, in front of url
2010-04-26 12:07:08 +00:00
Pierangelo Masarati
68257f6c5c
log rid when syncrepl stanza successfully added (ITS#6533)
2010-04-25 17:49:37 +00:00
Pierangelo Masarati
3a28608f0d
allow successful binds to return control responses (ITS#6530)
2010-04-22 18:18:15 +00:00
Pierangelo Masarati
2189d8d4cb
add slapmodify (ITS#6165; may need cleanup)
2010-04-20 06:00:16 +00:00
Quanah Gibson-Mount
fa428ed259
Agreed upon log messages for sl_malloc/zn_malloc when falling back
2010-04-19 22:55:51 +00:00
Pierangelo Masarati
993d377b68
remove redundant logs (underlying backends already log enough)
2010-04-18 18:42:44 +00:00
Pierangelo Masarati
c939422ae5
alreadyExists is a legitimate result code (further improve ITS#6472 commit; also fix ITS#6528)
2010-04-18 17:11:29 +00:00
Pierangelo Masarati
4480b22a91
don't use dangling stack pointers (more on ITS#6472 fix)
2010-04-18 06:53:22 +00:00
Pierangelo Masarati
8025becf91
fix syncrepl when attr has no matching rule (ITS#6458)
2010-04-18 05:37:36 +00:00
Pierangelo Masarati
a9990e8914
fix out of order add/rename, when rename to newly added new superior occurs while consumer is offline (ITS#6472)
2010-04-17 21:59:35 +00:00
Pierangelo Masarati
71a11b44e8
fix memory handling in rewrite parsing (ITS#6526)
2010-04-17 16:29:34 +00:00
Pierangelo Masarati
467a1da79f
add support for don't use copy in SASL auxprops lookup/store (ITS#6475; TODO: document new directives)
2010-04-15 18:13:53 +00:00
Pierangelo Masarati
9d2e03f052
allow to specify a per-database list of attributes that need to be always collected, even if not explicitly requested by clients (addresses ITS#6513)
2010-04-15 05:26:21 +00:00
Pierangelo Masarati
a3a603eca6
malloc as much as possible on slab
2010-04-15 05:11:23 +00:00
Pierangelo Masarati
bbe7272c7f
allow strict adherence to RFC4370 wrt/ control criticality (ITS#6523)
2010-04-14 21:37:03 +00:00
Pierangelo Masarati
ed92b02856
properly initialize acl_attrval_style (ITS#6520)
2010-04-14 17:01:39 +00:00
Howard Chu
68ce33cd77
ITS#6519 don't replicate purge deletes
2010-04-13 23:28:35 +00:00
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Pierangelo Masarati
6632ea601f
use slab memory as much as possible
2010-04-13 05:03:34 +00:00
Pierangelo Masarati
9702081201
handle ordered values as appropriate (ITS#6516)
2010-04-12 18:01:37 +00:00
Pierangelo Masarati
5564ee0173
don't free before use
2010-04-12 16:24:01 +00:00
Pierangelo Masarati
f57a216f1c
use slab allocation
2010-04-12 07:44:56 +00:00
Pierangelo Masarati
32048a5128
fix previous commit
2010-04-12 02:28:40 +00:00
Pierangelo Masarati
2355fb516a
backout unintended commit commit
2010-04-12 00:08:11 +00:00
Pierangelo Masarati
0dc3a13c01
fix previous commit
2010-04-12 00:06:45 +00:00
Pierangelo Masarati
f75825881a
honor X-ORDERED in olcDbIdAssertAuthzFrom; add olcDbIdAssertPassthru (ITS#6456); note: breaks binary compatibility with module back-meta.la
2010-04-09 22:47:55 +00:00
Pierangelo Masarati
81469d0ff1
more on ITS#6507
2010-04-08 19:51:18 +00:00
Pierangelo Masarati
a6298f97fc
keep attrs count consistent (ITS#6508)
2010-04-08 17:24:44 +00:00
Pierangelo Masarati
a53019e688
don't set dummy cookie when dealing with last database (ITS#6507)
2010-04-08 17:16:38 +00:00
Pierangelo Masarati
cd5dda252a
don't mix code and declarations
2010-04-08 00:27:18 +00:00
Pierangelo Masarati
de84e6a09d
do not assume that someone parsed the paged results response; in case, re-parse (ITS#6507)
2010-04-07 00:53:36 +00:00
Pierangelo Masarati
5da876f5fc
make sure cookies are set/reset as appropriate when a page ends at database boundaries (ITS#6507)
2010-04-06 22:04:58 +00:00
Pierangelo Masarati
bd3414e724
detect misplaced entries in glued databases (ITS#6506)
2010-04-06 20:33:05 +00:00
Pierangelo Masarati
8e96d76a95
rework temporary malloc of glued controls (fixes ITS#6504); fix glued paged results
2010-04-02 19:15:42 +00:00
Howard Chu
c99d8465b7
ITS#6501 zero lockobjs
2010-03-31 06:22:06 +00:00
Pierangelo Masarati
063c844b2a
increment counter (ITS#6497)
2010-03-23 20:33:06 +00:00
Pierangelo Masarati
b8472e3756
handle valid non-entry internal search responses (ITS#6481)
2010-03-22 21:50:32 +00:00
Pierangelo Masarati
7ca6247395
check for NULL backend (ITS#6490)
2010-03-22 21:48:25 +00:00
Howard Chu
7cec659d74
Fix prev commit
2010-03-13 21:41:51 +00:00
Howard Chu
968663d6e4
Fix for CB_TAIL with cached results
2010-03-10 22:25:42 +00:00
Howard Chu
6dc52cc91d
ITS#5195 - use connection's ssf for auxprop lookup
2010-03-04 00:16:49 +00:00
Howard Chu
e85ca5d49a
ITS#6484 don't bypass other overlays' entry_release handler
2010-03-03 23:36:29 +00:00
Howard Chu
47f1c8c887
ITS#6473 fail delta-sync when unknown attrs are received
2010-03-02 21:45:25 +00:00
Howard Chu
f992b66f05
ITS#6484 - cache DB needs to release its own entries
2010-03-02 21:29:32 +00:00
Pierangelo Masarati
0394c805ab
ignore non-critical control with unrecognized flags (ITS#6480)
2010-02-22 21:53:38 +00:00
Pierangelo Masarati
d85e24dfa3
fix return
2010-02-17 20:08:07 +00:00
Ralf Haferkamp
5ceb2cd4e0
ITS#6467, use memcpy instead for strcpy when copying across array
...
boundaries. To account for stricter checks when using -D_FORTIFY_SOURCE=2
with GCC 4.5
2010-02-15 15:25:47 +00:00
Pierangelo Masarati
3cd65c0a5d
reduce code duplication
2010-02-12 08:55:34 +00:00
Ralf Haferkamp
bca52e1b18
ITS#6469, don't touch op_attrs when updatedn is modifying contextCSN
2010-02-05 11:49:49 +00:00
Howard Chu
32feda4478
Add pbind proxybind overlay. Just intercepts Bind requests on a regular DB
...
and proxies them to a remote server.
2010-02-04 01:59:58 +00:00
Howard Chu
66a58ae93a
ConnTTL, NetworkTimeout, and ProtocolVersion were missing from the
...
config OC, thus inaccessible from cn=config
2010-02-04 01:02:51 +00:00
Rein Tollevik
1af4e43236
ITS#6468: Implement bi_access_allowed.
2010-02-02 15:51:32 +00:00
Ralf Haferkamp
1a9ef3b4ea
ITS#6465, don't unparse empty uri string
2010-02-02 14:43:21 +00:00
Howard Chu
0e16b2ea55
ITS#6466 certificateListValidate: Empty Sequence-of is legal
2010-01-30 23:32:50 +00:00
Ralf Haferkamp
837320eaac
plugged one time memory leak (found with valgrind)
2010-01-22 18:01:25 +00:00
Ralf Haferkamp
9e3517595d
Plugged memory leak. Syncentry wasn't free'd when sending
...
LDAP_SYNC_NEW_COOKIE intermediate results. (ITS#6459)
2010-01-21 13:33:21 +00:00
Pierangelo Masarati
0cf528630f
implement support for selective iteration in slaptools (ITS#6442)
2010-01-18 15:00:40 +00:00
Hallvard Furuseth
d58f4ff849
Gentler message when falling back to ch_malloc
2010-01-15 18:53:13 +00:00
Howard Chu
b8a1da95a2
dn2id_lock is no longer needed
2010-01-11 22:14:15 +00:00
Rein Tollevik
fdd2c3a5a7
ITS#6441 cyrus-sasl 2.1.24 auxprop_lookup plugin returns status.
2010-01-06 13:55:35 +00:00
Hallvard Furuseth
644506db6b
ITS#6437: Fix pool version misalignment: It aligned heads, not returned blocks
2010-01-05 23:31:14 +00:00
Hallvard Furuseth
705bd5bf40
ITS#6437, move structs slab_object and slab_heap from slap.h to sl_malloc.c
2010-01-05 23:14:14 +00:00
Hallvard Furuseth
1af33a46c9
ITS#6437, save space: Do not allocate the tail, except if size==0.
...
Store a tail only in freed blocks. (Alignment ensures there will
be room.) Put the freed mark in next block's head.
2010-01-05 22:11:24 +00:00
Hallvard Furuseth
d515f24255
ITS#6437 cleanup (noop patch): Join SLAP_NO_SL_MALLOC code with identical
...
ctx==NULL code. Add enum No_sl_malloc to avoid #ifdef SLAP_NO_SL_MALLOC.
2010-01-05 19:40:28 +00:00
Hallvard Furuseth
5d883c044a
ITS#6437, follow up previous fixes:
...
Ensure Align >= sizeof(ber_len_t), to clarify the code's requirements.
Rearrange a slap_sl_malloc() branch to factor out ch_malloc fallbacks.
Fix range check (ptr+size >= endptr) -> (size >= endptr-ptr). Fix debug msg.
2010-01-05 19:25:28 +00:00
Howard Chu
0c195fc013
ITS#6438 check for redundant syncops_free() ?
2010-01-05 03:50:10 +00:00
Hallvard Furuseth
40017c3874
Add comments
2010-01-02 23:42:31 +00:00
Hallvard Furuseth
4e66da4ec1
ITS#6437, slap_sl_calloc():
...
Check count*size overflow. Omit slap_sl_malloc failure check, it cannot fail.
2010-01-02 22:53:22 +00:00
Hallvard Furuseth
423c13a6d6
ITS#6437, failure/fallback/debug handling:
...
slap_sl_malloc could return failure. Exit instead, like the rest of sl_malloc.
Since we increase size, reduce it before Debug() and/or fallback to ch_malloc.
Debug() before exit() on failure. Tweak debug formats and a comment.
2010-01-02 22:41:41 +00:00
Hallvard Furuseth
46b99131cb
ITS#6437 cleanup (noop change):
...
Move thread/nothread code to macros SET_MEMCTX()/GET_MEMCTX().
Rename some thread/memory contexts 'ctx' to thrctx/memctx to avoid confusion.
2010-01-02 22:03:48 +00:00
Hallvard Furuseth
cc58227437
ITS#6437, fixes for stack implementation of slap_sl_realloc():
...
Preserve 2*int alignment on hosts where sizeof(int) == sizeof(ber_len_t).
If realloc of last block falls back to ch_malloc, free last block properly.
Fix range check (ptr + size < endptr) --> (size < endptr - ptr).
2010-01-02 21:39:46 +00:00
Hallvard Furuseth
5b164ba74c
ITS#6437: Fix alignment after slap_sl_realloc().
...
Also use -Align instead of ~pad: Valid also for non-twos complement.
2010-01-02 21:05:11 +00:00
Hallvard Furuseth
4c36193a5c
ITS#6437 cleanup (noop change): Simplify slap_sl_free() code reclaiming space
2010-01-02 18:42:33 +00:00
Hallvard Furuseth
d8d00ec45c
ITS#6437 cleanup (noop change): Compute pad,order_start at compile time
2010-01-02 18:27:51 +00:00
Hallvard Furuseth
062021e731
ITS#6437, slap_sl_mem_create():
...
Bugfix: Switching implementation stack<->pool on an old context could
crash or leak, it ran the wrong implementation's cleanup code.
Cleanup: Factor out identical stack/pool code. Call
slap_sl_mem_destroy(NULL,) instead of copying its pool code.
API change: slap_sl_mem_destroy(key=NULL,) gets a new meaning. Does
not affect current OpenLDAP code, it never passed NULL.
2010-01-02 18:05:56 +00:00
Howard Chu
7946c100a4
ITS#6322 cleanup close_listeners()
2009-12-30 20:33:27 +00:00
Pierangelo Masarati
ade09a57da
allow direct insert/delete of olcRwmMap (ITS#6436)
2009-12-21 18:58:21 +00:00
Pierangelo Masarati
0329d982a2
better fix to ITS#6434 (olcRwmMap needs work to allow atomic mods)
2009-12-21 17:32:05 +00:00
Rein Tollevik
874d7001cc
ITS#6435: Added optional SLAP_SCHEMA_EXPOSE define.
2009-12-21 17:28:45 +00:00
Pierangelo Masarati
8ddb160ae8
fix in-database configuration of olcRwmMap (no ITS# yet)
2009-12-20 18:31:08 +00:00
Pierangelo Masarati
2047a0d784
plug one-time leaks
2009-12-18 19:07:16 +00:00
Hallvard Furuseth
703571f736
ITS#6403: do not require *ent == NULL on entry to null_back_entry_get()
2009-12-16 09:12:48 +00:00
Ralf Haferkamp
8542dfd6d7
declaration after code (introduced by ITS#6428 fix)
2009-12-11 18:09:47 +00:00
Hallvard Furuseth
198634e945
Fix typo in last commit (ITS#5340: REP_ENTRY_MUSTFLUSH)
2009-12-10 19:54:57 +00:00
Hallvard Furuseth
904ba0d317
Fix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code
2009-12-10 19:53:10 +00:00
Ralf Haferkamp
8133ec8b21
ITS#6428 fixes for olcTimeLimit
2009-12-10 14:57:12 +00:00
Ralf Haferkamp
414230c469
global limits can also be set in "cn=config" (more forITS#6428)
2009-12-10 14:22:26 +00:00
Ralf Haferkamp
c3de6ba19b
apply frontend limits when deleting olcSizeLimit from a database (more forITS#6428)
2009-12-10 13:07:13 +00:00
Ralf Haferkamp
a0540f187c
ITS#6428 apply global sizelimit changes to all databases
2009-12-10 11:56:52 +00:00
Hallvard Furuseth
1a7b18bcca
ITS#5340: REP_ENTRY_MUSTFLUSH, rs_replace_entry(), rs_ensure_entry_modifiable()
2009-12-10 00:07:34 +00:00
Howard Chu
12affea4ac
ITS#6425 fix uninit'd vars
2009-12-09 00:04:58 +00:00
Pierangelo Masarati
85621c882a
guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (related to ITS#6423)
2009-12-08 20:53:39 +00:00
Pierangelo Masarati
48b8970dad
issue a useful error message
2009-12-08 19:49:15 +00:00
Pierangelo Masarati
173873172c
guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (ITS#6423)
2009-12-08 19:36:10 +00:00
Pierangelo Masarati
40065adb4d
remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423)
2009-12-08 18:47:17 +00:00
Howard Chu
c79267b88a
Fix unparse in prev commit
2009-12-08 11:59:29 +00:00
Howard Chu
25a4e7806a
ITS#6419 also init for ldaps:// URIs
2009-12-08 11:50:39 +00:00
Pierangelo Masarati
2c1c200662
log about invalid URI (more about ITS#6421)
2009-12-08 01:34:22 +00:00
Pierangelo Masarati
db852e4378
handle simple filters with no brackets (ITS#6421)
2009-12-08 00:17:25 +00:00
Howard Chu
dba33ec04c
ITS#6419 starttls keyword should trigger bindconf TLS settings
2009-12-07 20:06:54 +00:00
Howard Chu
7c9e4df765
ITS#6412, refix #6304 - only check for writes if sockbuf NEEDS_WRITE
2009-12-04 02:44:00 +00:00
Hallvard Furuseth
300bba05e8
ITS#6414: Do not write outside database directory.
...
Also rename misnamed dn2path() to ndn2path() with different prototype.
2009-12-03 23:20:39 +00:00
Rein Tollevik
6c406f1737
ITS#6413 Ensure task don't get queued while being freed after config change.
2009-12-03 21:56:48 +00:00
Howard Chu
8373d9f9fc
ITS#6408, fix r1.265 (from ITS#4884) - use correct ce_type
2009-12-01 22:21:18 +00:00
Hallvard Furuseth
07e5a4dda5
Silence warning in initializer
2009-11-30 14:07:12 +00:00
Hallvard Furuseth
ca563787ad
Silence "maybe uninitialized" warning (eprev after 0 iterations, cannot happen)
2009-11-30 14:00:18 +00:00
Howard Chu
111b27cfd4
ITS#6270, refix patch from ITS#5511
2009-11-30 06:07:22 +00:00
Hallvard Furuseth
492b2cda2b
ITS#6403: reset 'entry' output argument to overlay_entry_get_ov()
2009-11-29 19:53:01 +00:00
Howard Chu
3b2380254a
ITS#6400 clarify...
2009-11-24 03:41:24 +00:00
Howard Chu
fae4df1ed6
more for #6397
2009-11-23 22:17:25 +00:00
Howard Chu
e72e0507f8
ITS#6397 cleanup psearch if cookie is stale
2009-11-23 22:13:42 +00:00
Hallvard Furuseth
bbd238e38b
ITS#6398: plug memory leak of confdir
2009-11-23 21:52:11 +00:00
Hallvard Furuseth
da747ed63a
Fix rev 1.200 commit: C90 forbids mixed declarations and code
2009-11-23 16:04:00 +00:00
Howard Chu
e3c01a32f8
Revert pending CSN if the update fails
2009-11-22 19:30:50 +00:00
Pierangelo Masarati
1cf63599fe
revert previous commit
2009-11-22 19:09:24 +00:00
Howard Chu
faddd86f54
Revert prev commit, simpler fix...
2009-11-22 17:43:48 +00:00
Pierangelo Masarati
78a6a16615
silence signedness warnings
2009-11-22 14:58:18 +00:00
Pierangelo Masarati
f59337655e
use keepalive stuff when connecting as a client via bindconf (second part of ITS#6389)
2009-11-22 13:05:58 +00:00
Pierangelo Masarati
14c3f7de57
allow parsing/unparsing of keepalive stuff in bindconf (first part of ITS#6389)
2009-11-22 12:51:45 +00:00
Pierangelo Masarati
1970251bb7
check result of str2filter; syncrepl: can be broken; retcode: can't; pcache: shouldn't (ITS#6391)
2009-11-22 11:57:17 +00:00
Howard Chu
993fbf4514
Short-circuit backend_operational; sent entry's e_private doesn't belong
...
to the backend any more
2009-11-22 04:43:34 +00:00
Howard Chu
c365ac359e
ITS#6368 use dup'd entries in response queue
2009-11-22 04:42:00 +00:00
Howard Chu
77680f78a8
ITS#6394 partially revert ITS#5108. Use RID_MAX, as originally designed.
2009-11-22 00:08:52 +00:00
Pierangelo Masarati
c315ede9d5
connid is unsigned; offset real conns by maxrid + 1
2009-11-21 21:44:45 +00:00
Howard Chu
2fd6d4749a
Cleanup pointless compare in debug msgs
2009-11-21 21:34:33 +00:00
Pierangelo Masarati
39f0d79485
use macros for fake connid
2009-11-21 21:02:49 +00:00
Howard Chu
4105ee462d
ITS#6393 syncrepl internal connids are now <= -1000
2009-11-21 20:22:18 +00:00
Howard Chu
650ebba22b
Fix prev commit
2009-11-21 11:54:59 +00:00
Howard Chu
4bdc6fcbc9
in op_response, rearrange contextCSN update checks
2009-11-21 11:43:01 +00:00
Howard Chu
75d1e515ee
in updateCookie, no-op if nothing changed
2009-11-21 11:38:42 +00:00
Howard Chu
9992d5c43a
Ignore attempts to Add cn=schema,cn=config
2009-11-21 07:13:48 +00:00
Howard Chu
f664cbfb4c
Use unique IDs for fake syncrepl connections
2009-11-21 06:54:58 +00:00
Howard Chu
c6de7bf853
ITS#6392 fix authid-rewrite parsing
2009-11-21 04:44:51 +00:00
Howard Chu
572e16883c
Braindead serialization for #6368/test050
2009-11-21 04:14:40 +00:00
Howard Chu
af0d762c1c
Mostly revert prev commit, broke test054
2009-11-21 03:38:13 +00:00
Howard Chu
ae5af832db
Always log outgoing cookie, just use op->o_csn instead of commit_csn since
...
all responses are now serialized.
2009-11-21 02:37:53 +00:00
Howard Chu
3dd04151f5
Always log rid with incoming cookie
2009-11-21 02:34:10 +00:00
Howard Chu
60d83e06b8
Fix typo in 1.487
2009-11-20 23:20:37 +00:00
Howard Chu
d283f02c45
Fix prev commit
2009-11-20 22:52:47 +00:00
Howard Chu
2aadfa5d86
Reject old ops based on pending ops, not just committed ops
2009-11-20 22:47:48 +00:00
Howard Chu
2f351f964d
Move connection state enums to slap.h to ease debugging
2009-11-19 11:24:14 +00:00
Howard Chu
198cbd6ea8
ITS#6368 partially revert 1.273, always check for skips, not just on
...
first matchops call
2009-11-19 11:17:53 +00:00
Howard Chu
ddfe3cde10
ITS#6387 plug leaks
2009-11-18 23:58:39 +00:00
Howard Chu
ffb06848ff
ITS#6368 add another call to check_syncprov to make sure cookie is fresh
2009-11-18 22:06:02 +00:00
Howard Chu
42e56b95d5
Don't allow any other jobs if a -q job is active
2009-11-18 21:08:48 +00:00
Pierangelo Masarati
272abc5561
don't test a NULL BackendDB * (ITS#6385)
2009-11-18 09:51:49 +00:00
Pierangelo Masarati
1ec443df53
trim unnecessary test
2009-11-16 10:02:47 +00:00
Pierangelo Masarati
3768fbbd30
warn if retry is not forever
2009-11-16 09:58:12 +00:00
Pierangelo Masarati
70a71edffb
trim unwanted commit
2009-11-16 09:55:27 +00:00
Howard Chu
99381a43e1
ITS#6304 retry if tls_accept() returns 1
2009-11-15 22:39:35 +00:00
Howard Chu
4cabc24269
ITS#6363 cleanup prev commit
2009-11-15 21:36:23 +00:00
Howard Chu
c419a3e4f7
ITS#6367 use correct SID in our request cookie
2009-11-15 19:15:12 +00:00
Howard Chu
fbe532b099
Use sl_mfunc instead of direct reference to slap_sl_free
2009-11-15 19:13:51 +00:00
Pierangelo Masarati
07dc23f5ee
treat bervals as bervals (related to ITS#6378,ITS#6379)
2009-11-15 18:26:53 +00:00
Howard Chu
ff98f4abc5
Use fake_init2 in db_open/db_close since they can execute from a
...
back-config operation (and could wipe out the state otherwise)
2009-11-15 10:38:13 +00:00
Howard Chu
68ab1a2272
Cleanup
2009-11-15 10:34:10 +00:00
Howard Chu
cd99d851a2
Fix uninit'd var
2009-11-15 08:59:56 +00:00
Howard Chu
c9d86af0ba
Fix 1.49 sl_realloc
2009-11-15 03:02:09 +00:00
Howard Chu
1eebd22151
Add a note about sl_malloc stack-based behavior
2009-11-14 23:25:14 +00:00
Howard Chu
3fbbd8ea3f
Mark freed regions so they can be reclaimed
2009-11-14 23:20:44 +00:00
Howard Chu
67edd75e48
Cleanup for #6373
2009-11-14 21:53:06 +00:00
Howard Chu
b800bd4729
ITS#6377, fix rev 1.478
2009-11-14 21:25:11 +00:00
Pierangelo Masarati
9cfa465107
handle embedded '\0' (ITS#6379)
2009-11-14 16:45:13 +00:00
Howard Chu
dd2f158b52
Fix prev commit
2009-11-14 09:35:23 +00:00
Howard Chu
fe911c5960
ITS#6376 plug potential leak
2009-11-14 09:34:29 +00:00
Howard Chu
d6fbe1c7ca
ITS#6361 remove asserts
2009-11-13 23:48:51 +00:00
Howard Chu
480d306186
ITS#6373 fix subentry keyword
2009-11-11 04:09:26 +00:00
Howard Chu
3f9e8eeeec
ITS#6373 more for subentry creation
2009-11-11 04:03:27 +00:00
Howard Chu
9ad558b78c
ITS#6373 create subentry if missing
2009-11-11 03:36:46 +00:00
Howard Chu
46a97b9204
ITS#6373 sync_use_subentry support
2009-11-11 03:19:01 +00:00
Howard Chu
1e85952843
ITS#6373 add sync_use_subentry keyword
2009-11-11 03:06:32 +00:00
Howard Chu
6355380ee1
Use OperationBuffer for fake op
2009-11-11 03:05:31 +00:00
Howard Chu
a48e329fc8
ITS#6373 revert 2009/03/10 commit, resurrect sync subentry code
2009-11-11 03:01:48 +00:00
Howard Chu
dda8ccd8d5
ITS#6309 tweak invalid dn logmsg
2009-11-11 01:42:00 +00:00
Howard Chu
2a334baba6
ITS#6372 make wake_sds non-blocking
2009-11-11 00:21:03 +00:00
Pierangelo Masarati
17a185b32a
unparse checkpoint time in minutes (ITS#6370)
2009-11-10 19:02:33 +00:00
Ralf Haferkamp
9d0c7b24c6
Initialize ConfigArgs before calling config_del_vals (ITS#6363)
2009-11-05 15:38:03 +00:00