Howard Chu
7cd5dddd4c
back-config support. from Matthew Backes @ Symas.com and
...
Karsten Kuenne @ rentec.com (ITS#4506)
2006-04-27 02:12:34 +00:00
Howard Chu
d62fd3fd5a
Cleanup prev commit
2006-04-27 00:27:43 +00:00
Howard Chu
6af9770996
Tweak mutexes
2006-04-27 00:19:32 +00:00
Howard Chu
4f1e154c12
Implement reqOld support
2006-04-27 00:01:20 +00:00
Howard Chu
bac546adb0
Fix prev commit
2006-04-26 10:26:46 +00:00
Howard Chu
0836354d1e
Fix ITS#4505
2006-04-26 09:12:40 +00:00
Pierangelo Masarati
02b3af0900
check existence of newSuperior
2006-04-25 21:11:44 +00:00
Pierangelo Masarati
54f7d5aef3
allow empty modlist
2006-04-25 19:51:38 +00:00
Pierangelo Masarati
95b29919a3
more ITS#4503 cleanup
2006-04-25 19:30:48 +00:00
Pierangelo Masarati
004b69d070
callbacks must return valid error codes (ITS#4499)
2006-04-25 19:07:34 +00:00
Howard Chu
94c3bc332d
Fix log_age_parse days parsing
2006-04-25 10:24:54 +00:00
Hallvard Furuseth
61d71d95b9
Cast isspace() arg to unsigned char. (Update to previous change.)
2006-04-24 20:32:23 +00:00
Howard Chu
478ae2346e
PPOLICY_ERROR is primitive, not constructed
2006-04-22 00:23:44 +00:00
Howard Chu
449188fb73
Fix EXPIRE/GRACE tags in control value
2006-04-21 23:45:29 +00:00
Pierangelo Masarati
4d894c7d24
don't idassert if proxyAuthz == boundDN (ITS#4497)
2006-04-21 21:07:31 +00:00
Howard Chu
c636f654a4
Make be_shadow_update more specific for syncrepl ops, since mirrormode
...
lets normal users write to a syncrepl database
2006-04-20 22:20:25 +00:00
Pierangelo Masarati
19c5f261e5
re-fix ITS#4495 working around atoi() limitations
2006-04-19 23:57:02 +00:00
Hallvard Furuseth
5181a522c1
Revert rev 1.276, which broke back-shell "RESULT\ncode: <value>\n" (ITS#4495)
2006-04-19 22:03:13 +00:00
Hallvard Furuseth
1c51987f87
#define Statslog() also when --disable-debug (disappeared in rev 1.754)
2006-04-16 16:01:09 +00:00
Pierangelo Masarati
e01743193d
more coverity issues
2006-04-14 00:17:27 +00:00
Howard Chu
edb1c663fc
Fix translucent modify
2006-04-13 23:00:11 +00:00
Hallvard Furuseth
7948cb0bfd
init_module() typo: Log() -> Log2()
2006-04-13 22:24:23 +00:00
Hallvard Furuseth
d60b89c148
meta_back_db_config: lutil_atou(version,) -> lutil_atoi
2006-04-13 22:23:03 +00:00
Hallvard Furuseth
7a19d8855d
Remove useless assert: unsigned lc->lc_refcnt >= 0
2006-04-13 22:20:55 +00:00
Hallvard Furuseth
6567412f54
schema_destroy(): Handle failed slap_schema_init()
2006-04-13 22:19:19 +00:00
Hallvard Furuseth
c044d32262
slap_loglevel_get() prototype
2006-04-13 22:16:17 +00:00
Howard Chu
f5b815b1b3
ITS#4489 fix slap_tls_ld cleanup
2006-04-13 21:49:25 +00:00
Pierangelo Masarati
bd8514fb1e
address protocol version issues (ITS#4488)
2006-04-13 16:20:00 +00:00
Pierangelo Masarati
423a2c73f4
fix *entry_get() behavior
2006-04-13 16:09:06 +00:00
Pierangelo Masarati
a2a9298080
cleanup
2006-04-13 14:46:16 +00:00
Pierangelo Masarati
ec849bd981
no TLS no party
2006-04-13 12:09:34 +00:00
Pierangelo Masarati
c08f05f0c0
group SlapReply search flags
2006-04-12 14:02:15 +00:00
Kurt Zeilenga
eb9a3c1876
unifdef -DSLAP_ACL_HONOR_DISCLOSE
...
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Kurt Zeilenga
444ec670e3
really fix it
2006-04-11 22:27:41 +00:00
Kurt Zeilenga
809331582b
Fix bad edit - like cause of ITS#4484
2006-04-11 22:26:52 +00:00
Kurt Zeilenga
cc2ad31bba
remove more LDBM cruft
2006-04-11 18:56:11 +00:00
Kurt Zeilenga
2e2d036490
remove LDAP_DEVEL around lightweight dispatcher code
...
(presently in 2.4)
2006-04-11 18:34:09 +00:00
Pierangelo Masarati
dfc8e7f6b8
better fix for ITS#4483
2006-04-09 22:29:42 +00:00
Pierangelo Masarati
666e0677ca
re-fix previous commit
2006-04-08 15:59:59 +00:00
Pierangelo Masarati
3d13b08a44
fix network-timeout commit
2006-04-08 14:45:45 +00:00
Pierangelo Masarati
cc8109db06
fix previous commit
2006-04-08 14:45:19 +00:00
Pierangelo Masarati
0500576056
add support for old proxyAuthz encoding; allow to workaround buggy implementations of the new version (now RFC4370)
2006-04-08 11:12:30 +00:00
Kurt Zeilenga
037d513aee
Move LDBM to the attic
2006-04-08 04:24:48 +00:00
Kurt Zeilenga
c48338233e
s/LDBM/BDB/
2006-04-08 04:24:12 +00:00
Kurt Zeilenga
fd2d6bcca3
s/ldbm/hdb/
2006-04-08 04:21:03 +00:00
Pierangelo Masarati
6a293c65b3
line up network-timeout with back-meta
2006-04-07 09:08:37 +00:00
Howard Chu
c1019fbfbd
More for ITS#4323 fix
2006-04-07 04:17:44 +00:00
Howard Chu
4c754ec249
Fix typo
2006-04-07 03:08:43 +00:00
Howard Chu
c6d0edc3b7
Use TLS context stuff in syncrepl
2006-04-07 02:57:39 +00:00
Howard Chu
7a5d12cc51
Add TLS options to bindconf struct
2006-04-07 01:49:19 +00:00
Pierangelo Masarati
8c1b8d3f7b
actually, if a connection is already in the AVL tree, use it if not binding; otherwise use a tainted one; taint connections that must be freed when refcnt goes to zero
2006-04-07 01:28:56 +00:00
Howard Chu
76bf5d4c76
Use new TLS SSL_CTX support
2006-04-07 01:25:46 +00:00
Pierangelo Masarati
0f1023b6c7
pedantic cleanup
2006-04-06 23:55:09 +00:00
Pierangelo Masarati
267486bfad
fix ITS#4479
2006-04-06 23:48:55 +00:00
Kurt Zeilenga
8fb8b17c04
Code which doesn't hanlding allocation failure should use
...
ch_ routines, not SLAP_ macros
2006-04-06 21:44:05 +00:00
Kurt Zeilenga
1b9d68d6ba
cleanup
2006-04-06 21:29:38 +00:00
Pierangelo Masarati
b03d8abcde
don't leak if realloc fails (ITS#4477)
2006-04-06 19:13:41 +00:00
Pierangelo Masarati
c6ab0790d1
don't leak if realloc fails (ITS#4477); s/new/newptr/
2006-04-06 19:07:48 +00:00
Hallvard Furuseth
a070e6c05f
Avoid sprintf buffer overrun if huge hostname
2006-04-06 09:28:19 +00:00
Howard Chu
daec2febfb
ITS#4476 revert connection_write processing back into main thread
2006-04-06 04:34:37 +00:00
Hallvard Furuseth
b4586b2f84
Fix for the previous ITS#4323 fix: for(expr;...) -> for(i=expr;...)
2006-04-05 14:15:34 +00:00
Howard Chu
c76eb501ab
Revert cache-purge task, go back to purging inline
2006-04-05 07:17:11 +00:00
Howard Chu
0ad714d61e
Additional fix for ITS#4323, must propagate search result controls
2006-04-05 07:03:25 +00:00
Kurt Zeilenga
45d0479d37
Reverse last commit. Wrong tree.
2006-04-05 00:40:53 +00:00
Kurt Zeilenga
31d64d4642
No LogTest in re23
2006-04-05 00:39:46 +00:00
Howard Chu
2bf9afd828
ITS#4323 allow lower overlays to work on master database
2006-04-05 00:27:16 +00:00
Hallvard Furuseth
eca5f7bf2d
ITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
...
That way, realloc(qm->templates...) won't move the ldap_pvt_thread_rdwr_t data.
2006-04-04 23:12:58 +00:00
Howard Chu
04dae5a020
ITS#4442 just log refint failures, client only cares about main request
2006-04-04 22:16:24 +00:00
Pierangelo Masarati
674c98fa7d
honor stop on error
2006-04-04 19:48:22 +00:00
Pierangelo Masarati
e21f57cf05
complete previous commit (protect binds)
2006-04-04 18:45:59 +00:00
Pierangelo Masarati
543396c804
make sure only on bind at a time occurs; release resources only when appropriate
2006-04-04 17:41:50 +00:00
Pierangelo Masarati
2e9f2995ec
only wait if no entry was returned
2006-04-04 17:41:13 +00:00
Howard Chu
3bfe4a7f77
plug leaks
2006-04-04 10:58:08 +00:00
Howard Chu
abb01fa437
cleanup
2006-04-04 10:47:42 +00:00
Howard Chu
fc61aab12b
plug leak
2006-04-04 10:31:01 +00:00
Howard Chu
6a50826676
plug leaks
2006-04-04 10:27:28 +00:00
Howard Chu
548270776d
Plug leak
2006-04-04 10:12:55 +00:00
Howard Chu
272211fbcd
Same as ITS#4464, don't call cache_return_entry with NULL entry
2006-04-04 09:56:34 +00:00
Pierangelo Masarati
79df3e9c3c
don't add unnecessary message
2006-04-03 22:06:12 +00:00
Pierangelo Masarati
14cbf4bc3e
make sure an invalid connection is always released as appropriate
2006-04-03 21:56:30 +00:00
Pierangelo Masarati
aecfb85793
immediately return sizelimitExceeded if appropriate
2006-04-03 21:14:14 +00:00
Pierangelo Masarati
070c9d9f07
make sure rs->sr_err is fine
2006-04-03 00:33:34 +00:00
Pierangelo Masarati
c853ba1f0e
more on recovery (ITS#4429)
2006-04-03 00:32:59 +00:00
Hallvard Furuseth
19a0d82937
Init & destroy so.s_mutex around syncprov_findbase() call in syncprov_op_search
2006-04-02 23:49:57 +00:00
Hallvard Furuseth
b2f79aa42e
Initialize and destroy lc_lai.lai_mutex
2006-04-02 23:47:13 +00:00
Howard Chu
c63d1f04f8
plug leaks
2006-04-02 21:16:06 +00:00
Hallvard Furuseth
da0c0360e4
Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
2006-04-02 19:54:24 +00:00
Hallvard Furuseth
c2f210a128
Return a value (0) from auditlog_db_close() and auditlog_db_destroy()
2006-04-02 16:40:39 +00:00
Hallvard Furuseth
909f5e6ae9
Cast %ld format arg to long
2006-04-02 16:38:46 +00:00
Hallvard Furuseth
b90c3d6fd3
Add missing snprintf args in debug output
2006-04-02 16:37:52 +00:00
Hallvard Furuseth
6c772f2057
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2006-04-01 23:52:42 +00:00
Hallvard Furuseth
581c1ff6c7
Cast ctype.h char arguments to unsigned char
2006-04-01 23:44:42 +00:00
Hallvard Furuseth
7ead463927
Remove suspicious whitespace from makefile
2006-04-01 23:29:41 +00:00
Pierangelo Masarati
44a75a03c0
allow overlays to inject an abandon without returning SLAPD_ABANDON
2006-04-01 18:59:26 +00:00
Pierangelo Masarati
46cb141185
seems to fix the equivalent of ITS#4429 in back-meta; had to give up per-target conn-ttl and idle-timeout
2006-04-01 18:56:39 +00:00
Pierangelo Masarati
e21ec88c88
fix previous commit (ITS#4465)
2006-04-01 15:31:35 +00:00
Pierangelo Masarati
3aac54f089
fix bound check (ITS#4449)
2006-04-01 15:22:13 +00:00
Pierangelo Masarati
fc89650cce
add a cleanup handler for binds (ITS#4465)
2006-04-01 15:21:00 +00:00
Pierangelo Masarati
7cba7d0b39
don't use uninitialized mutexes
2006-03-31 23:07:48 +00:00
Pierangelo Masarati
2f366c3a52
initialize the connection_pool in server mode only
2006-03-31 23:04:13 +00:00