Pierangelo Masarati
073f14ceac
lc_bound_ndn is occasionally saved to keep track of who bound; don't use it to bind unless credentials are present as well
2006-05-16 02:56:59 +00:00
Howard Chu
33a3448964
Cleanup - no more SLAP_MULTI_CONN_ARRAY
2006-05-16 01:22:47 +00:00
Pierangelo Masarati
9c9b6f7353
idassert: setup rebind stuff when binding for proxyAuthz, so that referral chasing tries to rebind with the correct identity (partially address ITS#3526)
2006-05-16 01:10:51 +00:00
Pierangelo Masarati
b0c304f759
fix referral rewriting (ITS#4548)
2006-05-16 00:57:46 +00:00
Pierangelo Masarati
3b7084c170
reset the conn field in the cached connection if the bound DN is privileged (ITS#4547)
2006-05-15 01:42:05 +00:00
Pierangelo Masarati
1c16fa382a
line up back-meta to ITS#4546
2006-05-14 18:10:23 +00:00
Pierangelo Masarati
26d1fc8c48
more cleanup of previous commits
2006-05-14 18:09:56 +00:00
Pierangelo Masarati
f87e6270d4
improve previous commit
2006-05-14 17:53:40 +00:00
Pierangelo Masarati
0c2c3ea7e1
typo in previous commit
2006-05-14 17:34:18 +00:00
Pierangelo Masarati
0c33c17bb5
"single-conn" forces flushing of existing conns during rebind on same conn (ITS#4546)
2006-05-14 17:32:15 +00:00
Pierangelo Masarati
6910b36df8
more checks
2006-05-14 16:29:49 +00:00
Pierangelo Masarati
3393b15594
cleanup resource release
2006-05-14 15:11:53 +00:00
Pierangelo Masarati
092aade428
cleanup
2006-05-14 15:11:23 +00:00
Howard Chu
813b95941e
Fixed version of rev 1.361
2006-05-14 03:37:17 +00:00
Howard Chu
0b79eab474
Cleanup epoll read / error behavior
2006-05-14 00:26:33 +00:00
Howard Chu
1cf58aba1c
Revert prev commit, spoke too soon, close race condition came back.
2006-05-13 12:35:12 +00:00
Howard Chu
d74a230229
Simplify connection mutexes
2006-05-13 11:50:00 +00:00
Pierangelo Masarati
93b88e0bbf
make sure realloc'd memory is reset
2006-05-13 02:06:10 +00:00
Pierangelo Masarati
87ba3eb8b0
refine previous commits (don't leave bindings around)
2006-05-12 19:25:31 +00:00
Pierangelo Masarati
c1c8c05c1b
first round at adding passwd exop support to slapo-rwm (ITS#4458)
2006-05-12 15:38:58 +00:00
Ralf Haferkamp
4d46b8b747
Additional fix for ITS#4522. The "dn=" ist not optional.
2006-05-12 11:48:57 +00:00
Howard Chu
d921fcb0c9
ITS#4531 temporarily go back to using quick sort instead of radix sort
2006-05-11 20:05:53 +00:00
Kurt Zeilenga
6651d19320
cleanup
2006-05-11 18:55:50 +00:00
Howard Chu
d8aabb008f
ITS#4537 placate braindead compiler
2006-05-11 18:04:26 +00:00
Ralf Haferkamp
cf1304147d
Add Pre- and Postread Control to the supported controls (ITS#4538)
2006-05-11 16:45:33 +00:00
Pierangelo Masarati
914bf9926f
add "-n" to omit trailing newline
2006-05-11 14:36:20 +00:00
Howard Chu
a0ee28698c
ITS#4516 clear restricted status if other Binds have succeeded
2006-05-11 13:39:44 +00:00
Howard Chu
837e9466b8
ITS#4534 propagate CSN for delete syncID sets
2006-05-11 10:46:44 +00:00
Howard Chu
6e751774c4
Fix for !LDAP_SYSLOG
2006-05-11 04:43:17 +00:00
Howard Chu
ad7d644437
Omit trailing newline from generated password, so it may be directed
...
to a file and used by commandline tools
2006-05-11 03:09:40 +00:00
Howard Chu
b8b8ca1814
Rearrange, ARGS_TYPES should not be bitmasks
2006-05-11 02:13:03 +00:00
Howard Chu
4bf6f8e348
ITS#4535 set default cn=config access to NONE
2006-05-11 00:40:34 +00:00
Pierangelo Masarati
7cc29d2547
allow slappasswd to generate cleartext secret
2006-05-11 00:12:54 +00:00
Pierangelo Masarati
fbbb8a5d93
fix ITS#4522; imply "+0" when no access is given
2006-05-10 22:25:06 +00:00
Pierangelo Masarati
d79fd46f33
don't allow "none" as access level
2006-05-10 22:23:24 +00:00
Howard Chu
f38bf4b362
plug leaks
2006-05-10 13:03:42 +00:00
Howard Chu
ed25c75d60
plug leak
2006-05-10 12:53:36 +00:00
Howard Chu
cc260ed6a0
coverity cleanup
2006-05-10 12:36:49 +00:00
Ralf Haferkamp
b8bf18f36b
ITS#4532: check *pre/postread_ctrl before freeing
2006-05-10 09:07:37 +00:00
Pierangelo Masarati
42ab45aed2
fix warning message
2006-05-09 20:32:25 +00:00
Howard Chu
ab7e975159
check for NULLs from ber_mem funcs
2006-05-09 11:09:04 +00:00
Howard Chu
6b4de96679
plug leak
2006-05-09 10:52:22 +00:00
Howard Chu
0a43acc732
coverity cleanup
2006-05-09 10:41:05 +00:00
Howard Chu
912ff2798b
Fix tlimit munging
2006-05-09 00:01:35 +00:00
Howard Chu
aed92f35c1
refine prev commit
2006-05-08 13:12:12 +00:00
Howard Chu
f7115e761c
Fix strchrlen running past end of berval
2006-05-08 12:43:01 +00:00
Howard Chu
b41f2cad74
Fix dynacl tgrant/tdeny initialization
2006-05-08 09:06:37 +00:00
Luke Howard
87051a2a4a
ITS#4525
2006-05-08 08:58:33 +00:00
Pierangelo Masarati
c2369771f8
cleanup
2006-05-06 17:22:59 +00:00
Pierangelo Masarati
373ded8d24
add URI list resorting feature (ITS#4524)
2006-05-06 16:15:25 +00:00
Pierangelo Masarati
af5b506e37
fix previous commit
2006-05-06 11:53:54 +00:00
Pierangelo Masarati
401b211d98
touch idle-timeout HAVE_TLS odds; silence warning #ifndef HAVE_TLS
2006-05-06 10:50:13 +00:00
Pierangelo Masarati
470fda7744
cleanup version parsing
2006-05-06 10:42:29 +00:00
Pierangelo Masarati
2110880be1
refine previous commit
2006-05-06 03:16:45 +00:00
Pierangelo Masarati
a9b7f3612b
parallelize dobind/search (ITS#4519)
2006-05-06 02:25:53 +00:00
Pierangelo Masarati
b5eb214d79
fix "host=", broken by rev 1.446 of servers/slapd/config.c
2006-05-05 23:53:14 +00:00
Pierangelo Masarati
23c766bbfd
make sure NULL pointers are not dereferenced
2006-05-04 22:07:35 +00:00
Pierangelo Masarati
9447b9fff4
gracefully handle server down while initiating a search (ITS#4518)
2006-05-04 08:37:31 +00:00
Howard Chu
a30fa88ad3
Apply logoldattr / reqOld to modRDN requests as well
2006-05-03 21:29:56 +00:00
Pierangelo Masarati
45b378c753
don't muck with freed memory (spotted by valgrind)
2006-05-03 18:54:04 +00:00
Howard Chu
2a5ecbccaa
Remove some more yield() calls
2006-05-03 07:41:12 +00:00
Howard Chu
6fcc7b9b21
Hide starttls keyword if no TLS
2006-05-03 03:12:16 +00:00
Howard Chu
966c47e5b4
Detect TLS config changes
2006-05-03 02:48:23 +00:00
Howard Chu
d0b796f897
ITS#4515 add missing equality rules
2006-05-02 21:07:49 +00:00
Pierangelo Masarati
af1f87b96d
ldap_pvt_runqueue_next_sched() may return a pointer to data that's freed by task run earlier (ITS#4517)
2006-05-02 20:32:37 +00:00
Howard Chu
608c85a9f0
ITS#4423, fix sessionlog lower bound in playlog
2006-05-02 05:08:59 +00:00
Howard Chu
a8f8dfe747
Use ldap_pvt_thread_pool_tid()
2006-05-02 00:58:05 +00:00
Howard Chu
c58f16d9b5
FIx rev 1.207, ACL parsing
2006-05-01 23:36:38 +00:00
Pierangelo Masarati
3b5d411af2
fix idassert "override"
2006-05-01 22:54:07 +00:00
Pierangelo Masarati
f9f8623f6e
fix automated static build
2006-05-01 14:53:19 +00:00
Howard Chu
d8595b7c6e
ITS#4463 add constraint overlay
2006-04-29 10:03:36 +00:00
Howard Chu
442a3f1fde
searchbase is a required config parameter, log missing params.
2006-04-29 09:24:14 +00:00
Howard Chu
b1534d0ea9
Kludge to allow reading undefined attrs in DNs at startup
2006-04-29 02:15:53 +00:00
Howard Chu
1f6bb31d9d
Honor ACLs, don't just require root any more
2006-04-29 01:26:07 +00:00
Howard Chu
f5558876c0
Log a comment with realdn if different from authzDN
2006-04-28 23:37:35 +00:00
Howard Chu
d38dd74818
Fix adding ACLs to specific DBs vs global/frontend
2006-04-28 23:01:59 +00:00
Howard Chu
e1ec64aaee
rmutex_lock etc.: caller supplies thread id
2006-04-28 21:39:38 +00:00
Howard Chu
15ba27d5c1
Add logoldattr keyword for attributes that should always have their old
...
value logged in a Modify request (that matches the logold filter)
2006-04-28 20:40:43 +00:00
Howard Chu
9207979a86
Use recursive mutex to avoid deadlocks
2006-04-28 20:13:34 +00:00
Luke Howard
51a65afb86
SLAPI_PLUGIN_{PRE,POST}_RESULT_FN should also be called for
...
REP_SASL and REP_EXTENDED in addition to REP_RESULT -- the
distinction is not present in FDS
2006-04-28 08:39:29 +00:00
Howard Chu
716df7c62c
ITS#4512 fix bogus Debug messages in rev 1.48
2006-04-28 06:22:48 +00:00
Howard Chu
eda2b46dd2
Revert 1.96, restore 1.91 functionality
2006-04-28 06:07:05 +00:00
Howard Chu
590bc6a7fa
More logging for ITS#4423
2006-04-28 03:06:47 +00:00
Howard Chu
3879cac787
Fix slapadd of config tree, broken by ITS#4194
2006-04-27 23:52:53 +00:00
Howard Chu
f3ee4f5d30
Fix rev 1.52, frontendDB uses index {-1}.
2006-04-27 23:21:39 +00:00
Howard Chu
32712f4c26
Fix prev commit
2006-04-27 22:47:20 +00:00
Kurt Zeilenga
153e81817f
ITS#4414: SLP attributes support from Peter Marschall
2006-04-27 19:36:40 +00:00
Hallvard Furuseth
2f04f61dc7
Support rootdn
2006-04-27 16:12:59 +00:00
Hallvard Furuseth
a242808f7e
cleanup (unused variable)
2006-04-27 16:05:41 +00:00
Howard Chu
fd20e683df
Add logging for ITS#4423
2006-04-27 09:18:43 +00:00
Howard Chu
e97673df67
ITS#4500 use rdwr lock instead of mutex
2006-04-27 07:52:12 +00:00
Howard Chu
2cd781eae3
Cleanup close
2006-04-27 02:29:13 +00:00
Howard Chu
8b06446b10
back-config support, cleanup init/destroy
2006-04-27 02:28:07 +00:00
Howard Chu
328470c114
OIDs for more overlays
2006-04-27 02:13:21 +00:00
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