Pierangelo Masarati
f5fcd2c169
cleanup previous commit
2006-05-30 00:12:23 +00:00
Pierangelo Masarati
5854464be2
allow pretty time form in quarantine string
2006-05-29 23:36:12 +00:00
Pierangelo Masarati
a6406de871
make room for plugins that deal with quarantine end
2006-05-29 21:43:20 +00:00
Howard Chu
78809a70c5
Fix modrdn with back-ldap
2006-05-29 07:24:21 +00:00
Howard Chu
d2b27b156e
Add "hidden" database config, allow hidden DBs with redundant suffixes
2006-05-29 06:03:43 +00:00
Howard Chu
59ca2d198f
ITS#4555 add "-j" option to jump to line of LDIF file before processing.
...
Fixed line number in error messages to give the line number of the beginning
of the offending entry.
2006-05-29 02:41:06 +00:00
Pierangelo Masarati
795841b5a4
implement proxy quarantine (ITS#4569)
2006-05-27 19:54:27 +00:00
Pierangelo Masarati
1d24564f9d
fix DN-valued (and likely others not handled in the switch) attrs duplication (occcurred with olcDbSuffix during attrs_dup(); please check)
2006-05-27 19:14:39 +00:00
Howard Chu
62437022ab
ITS#4567 use unique timestamps for ops for cascading delta-sync
2006-05-27 10:26:15 +00:00
Howard Chu
e3bea86205
ITS#4562 - don't assume syncprov_op_response only runs in overlay context;
...
under a glue setup it may be get a real DB, don't corrupt the DB struct.
2006-05-26 12:08:15 +00:00
Pierangelo Masarati
1efd2ef101
(almost blind) fix potential strchr() read-past-end of berval
2006-05-26 00:07:55 +00:00
Pierangelo Masarati
5f58c733cc
enable NOOP (ITS#4563; seems to work now)
2006-05-25 22:45:45 +00:00
Pierangelo Masarati
d1824b14ae
fix NOOP return code (ITS#4563; I'll check and confirm it later; NOOP support might be broken)
2006-05-25 16:58:41 +00:00
Hallvard Furuseth
ce44bdbc37
Constify slapd_slp_attrs (assigned a const char* in main.c:slapd_opt_slp())
2006-05-25 16:32:43 +00:00
Hallvard Furuseth
f9f0b243d6
warning cleanup
2006-05-25 16:15:49 +00:00
Hallvard Furuseth
8c1210cb78
Format fixes: %p takes void*, not struct* whose representation may differ.
...
Warning cleanup.
2006-05-25 16:14:41 +00:00
Hallvard Furuseth
453d3c0710
Format fixes: Debug() arg#2 must be format.
...
Warning cleanup: Move format strings, let gcc recognize them. Unused var.
2006-05-25 16:11:24 +00:00
Hallvard Furuseth
2c3a06321a
2006-05-25 15:59:21 +00:00
Howard Chu
6f08468e2f
Fix concurrency issues
2006-05-25 05:08:04 +00:00
Howard Chu
1ed9fff84c
Fix uninit'd var
2006-05-25 01:05:29 +00:00
Pierangelo Masarati
cff53d4867
allow tools to syslog
2006-05-24 17:57:13 +00:00
Pierangelo Masarati
810a8f0d06
sigh, the test was renamed ages ago
2006-05-24 01:50:57 +00:00
Howard Chu
5e50d2e2e4
Fix prev commit, LE/GE searches advanced in wrong direction.
...
Terminate EQ/SUBSTR query searches sooner.
2006-05-23 02:53:54 +00:00
Pierangelo Masarati
f26bef66c6
cleanup
2006-05-20 15:49:18 +00:00
Pierangelo Masarati
e5c173691d
add cancel strategies (ITS#4560)
2006-05-20 14:29:01 +00:00
Howard Chu
fa2425005a
More cleanup
2006-05-20 05:05:13 +00:00
Howard Chu
b83ef38c51
cleanup debug msg
2006-05-20 05:03:35 +00:00
Pierangelo Masarati
80dfb95241
fix previous commit
2006-05-19 23:33:15 +00:00
Howard Chu
9de3d9c277
Fix idletimeout deadlock
2006-05-19 22:47:33 +00:00
Pierangelo Masarati
16661063d0
silence warnings
2006-05-19 22:37:52 +00:00
Pierangelo Masarati
29af5f93ee
fix limits unparse
2006-05-19 22:34:04 +00:00
Howard Chu
fde6482629
Cleanup (revert ITS#4472, etc.)
2006-05-19 15:51:09 +00:00
Howard Chu
e6475734fa
ITS#4549, rewritten query_containment etc...
2006-05-19 15:25:33 +00:00
Howard Chu
4cc18ee8d4
ITS#4549 kludge, get tavl_ routines referenced
2006-05-19 15:24:56 +00:00
Howard Chu
f0adb769ad
Cleanup query attrs
2006-05-19 09:15:42 +00:00
Howard Chu
8eace69ddb
Cleanup template searching
2006-05-19 08:07:59 +00:00
Pierangelo Masarati
fcbc1f484d
fix referrals return for ops other than search (ITS#4557); use slab memory for temporaries in returning referrals
2006-05-18 22:28:22 +00:00
Howard Chu
9e50b2d0a1
ITS#4552 just rely on ACLs when adding entries under the suffix.
2006-05-18 01:18:48 +00:00
Pierangelo Masarati
9b388e5328
fix cleanup concurrency
2006-05-17 01:34:46 +00:00
Howard Chu
58099cc045
coverity cleanup
2006-05-16 22:16:27 +00:00
Howard Chu
1135d19f16
ITS#4466 fix typo, uninit'd var
2006-05-16 22:16:13 +00:00
Howard Chu
bb11c81178
ITS#4550 don't overwrite remote server's err msg
2006-05-16 21:45:31 +00:00
Howard Chu
5f3bc1f7ec
Fix ITS#4450, don't overwrite remote server's rs->sr_text
2006-05-16 21:30:10 +00:00
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
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
Howard Chu
c002351982
cleanup
2006-03-31 22:24:39 +00:00
Howard Chu
65079f768e
Cleanup NULL check
2006-03-31 22:05:01 +00:00
Howard Chu
8c990ff2e9
plug leaks
2006-03-31 21:59:39 +00:00
Kurt Zeilenga
28191d7642
don't call cache_return_entry_rw with e of NULL
2006-03-31 21:03:51 +00:00
Howard Chu
c41a151d1e
Cleanup
2006-03-31 12:53:32 +00:00
Howard Chu
0af1940f3f
plug leaks
2006-03-31 12:20:04 +00:00
Howard Chu
90c8a53db4
plug leaks
2006-03-31 11:15:26 +00:00
Howard Chu
8cbd5ecc13
Cleanup
2006-03-31 10:45:23 +00:00
Howard Chu
bb9d5b1100
Plug leaks, fix coverity errors
2006-03-31 09:33:46 +00:00
Pierangelo Masarati
ac8c1f2a26
fix multiple response messages; add overall sleep time
2006-03-30 23:49:51 +00:00
Kurt Zeilenga
5487575086
Add link to FAQ entry on BDB tuning
2006-03-30 17:56:56 +00:00
Pierangelo Masarati
02966c3d1c
fix handling of expired connections (ITS#4429; need to look at back-meta as well)
2006-03-29 01:26:42 +00:00
Pierangelo Masarati
bacd1f170f
leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457)
2006-03-28 21:45:54 +00:00
Pierangelo Masarati
e673b4d9ad
propagate pretty DN (ITS#4456)
2006-03-28 19:20:01 +00:00
Pierangelo Masarati
0a465343fb
cleanup
2006-03-27 00:31:38 +00:00
Pierangelo Masarati
51e1ab59cd
streamline handling of simple bind by global overlays (ITS#4454)
2006-03-26 23:03:43 +00:00
Pierangelo Masarati
1418b2c5b1
fix previous commit: actually free the connection in case of failed bind
2006-03-25 01:12:27 +00:00
Pierangelo Masarati
fd5208c18f
destroy bind connection after failed bind (ITS#4428)
2006-03-25 00:33:42 +00:00
Pierangelo Masarati
00073c8cac
fix operational attrs return with chain overlay (ITS#4431); misc cleanup
2006-03-24 22:49:51 +00:00
Pierangelo Masarati
3160c03dab
cleanup previous commit
2006-03-23 23:01:14 +00:00
Pierangelo Masarati
3437406a0b
honor "chase-referrals no" (ITS#4447)
2006-03-23 21:01:19 +00:00
Pierangelo Masarati
324431062b
refuse illegal values for "threads" (ITS#4433)
2006-03-20 12:12:28 +00:00
Pierangelo Masarati
9019ea74ee
fix leak
2006-03-19 23:26:12 +00:00
Luke Howard
486721d531
Fix build if LDAP_X_TXN is undefined
2006-03-10 02:44:32 +00:00
Kurt Zeilenga
ffee887d71
Update certificate schema to use IANA assigned OIDs
2006-03-08 20:07:25 +00:00
Kurt Zeilenga
71511a0569
more txn infrastructure
2006-03-08 05:54:10 +00:00
Howard Chu
afa10c3486
Add "subord" alias for subordinate scope
2006-03-07 22:39:09 +00:00
Kurt Zeilenga
815c178edc
control/TXN cleanup
2006-03-07 22:05:57 +00:00
Kurt Zeilenga
4a87798893
Remove developer's assert
2006-03-07 21:48:25 +00:00
Kurt Zeilenga
8788a2af36
Disallow pre/post reads in transactions (haven't yet specified
...
protocol mechanism to return update response controls).
2006-03-07 20:31:46 +00:00
Howard Chu
e30be8748a
Fix prev commit
2006-03-07 12:55:27 +00:00
Howard Chu
2c7f300619
FIx olcMirrorMode keyword
2006-03-07 12:48:46 +00:00
Kurt Zeilenga
247536744e
Some more txn infrastructure
2006-03-07 08:07:21 +00:00
Kurt Zeilenga
662051cd16
cleanup
2006-03-07 07:19:15 +00:00
Kurt Zeilenga
fad69dbef8
Additional TXN changes
2006-03-07 02:21:27 +00:00
Kurt Zeilenga
8ac8d70a55
TXN protocol element parsers (without any backend support)
...
Misc cleanup
2006-03-07 00:48:14 +00:00
Pierangelo Masarati
3861c47316
queue implicit binds (ITS#4409)
2006-03-03 16:27:00 +00:00
Kurt Zeilenga
4c64b8626d
Add support for GSER-encoded certificateExactAsssertion values
2006-03-03 04:54:49 +00:00
Pierangelo Masarati
a3f4f0b2db
map result codes as required (ITS#4419)
2006-03-02 00:35:12 +00:00
Luke Howard
fa1f4d3c38
slapi_ch_bvdup() should be implemented in terms of ber_dupbv()
2006-03-01 16:29:31 +00:00
Howard Chu
df91c3ef33
ITS#4372 add auditlog to build
2006-02-27 11:20:08 +00:00
Howard Chu
7b5528d68b
ITS#4417 backglue must pass intermediate responses transparently.
...
syncprov must prevent send_ldap_result from being called for an
in-progress persistent search.
2006-02-27 09:20:55 +00:00
Luke Howard
cd18c6cb4d
Fix slapi_valueset_count() for no value case
2006-02-27 05:21:11 +00:00
Luke Howard
8c674299bf
Fix memory smasher in slapi_valueset_free()
2006-02-27 03:44:40 +00:00
Luke Howard
8a3e5eb1b8
Add SLAPI_OPERATION_MSGID
...
Add SLAPI_IS_INTERNAL_OPERATION
2006-02-20 09:30:28 +00:00
Pierangelo Masarati
41f963644c
be conservative in reading subtree-exclude
2006-02-16 23:37:42 +00:00
Ralf Haferkamp
df7757b1fb
fixed last commit
2006-02-16 13:22:37 +00:00
Ralf Haferkamp
1195d6946b
Error out if creating the back-config entries fails when converting from
...
config file to config backend. [ITS: #4407 ]
2006-02-16 11:16:22 +00:00
Howard Chu
e18a6ab7f9
ITS#4406 don't cache attrsonly results
2006-02-16 08:16:49 +00:00
Kurt Zeilenga
0532ecfccd
No longer hide cancel.
2006-02-16 05:05:52 +00:00
Kurt Zeilenga
8c8ea049cb
Macro cleanup
2006-02-16 05:01:29 +00:00
Pierangelo Masarati
af0d2b1d2a
add support for "subtree-exclude"
2006-02-16 01:26:39 +00:00
Pierangelo Masarati
fa72882808
fix error message
2006-02-16 01:10:45 +00:00
Luke Howard
ec023f9777
remove c_pb, it is no longer needed
2006-02-16 00:14:38 +00:00
Kurt Zeilenga
377aa0be68
ITS#4404: fix typo in ValuesReturnFilter control OID, add
...
temporary server-side support for old OID.
2006-02-15 21:30:35 +00:00
Ralf Haferkamp
93d5e01390
some more debug logging
2006-02-15 17:25:45 +00:00
Howard Chu
937bc5bbb7
Fix ITS#4401 teardown persistent clients when unconfiguring
2006-02-15 07:38:17 +00:00
Kurt Zeilenga
cbc11c9233
unifdef -DLDAP_NULL_IS_NULL
2006-02-14 23:18:12 +00:00
Luke Howard
727a16ca55
Remove SLAPI references
2006-02-14 09:21:30 +00:00
Luke Howard
dab5803a59
Use bi_db_{open,close} to run SLAPI start/close plugins
2006-02-14 09:20:50 +00:00
Kurt Zeilenga
3db579c414
Fixed misuse of matched entry
2006-02-13 21:35:58 +00:00
Luke Howard
bfaf2a805f
Add sequential modify overlay to supported overlays
2006-02-13 02:24:26 +00:00
Kurt Zeilenga
3f7241826a
fix typos
2006-02-12 07:03:12 +00:00
Pierangelo Masarati
53c40fac27
rework connection handling on multiple binds with the same connection
2006-02-11 17:40:28 +00:00
Howard Chu
a5eef48123
Fix ITS#4395, check for non-read/write epoll events
2006-02-10 18:27:50 +00:00
Kurt Zeilenga
d2d1eb786b
Improved bignum detection/use
2006-02-10 08:21:02 +00:00
Luke Howard
4954adb7c1
formatting cleanup
2006-02-10 07:40:23 +00:00
Howard Chu
0cc7ed6d55
ITS#4394 fix segfault
2006-02-10 00:31:17 +00:00
Howard Chu
bf81549c88
Prefer long long to BIGNUM or GMP
2006-02-09 07:48:19 +00:00
Howard Chu
9eca89acc8
Improve prev commit
2006-02-09 07:02:40 +00:00
Howard Chu
6344d36df0
Same as ITS#4385, must wake listener after submitting job to runqueue
2006-02-09 06:53:49 +00:00
Howard Chu
88c3a5a5b6
Add debug message when deleting nonpresent entries
2006-02-08 21:24:43 +00:00
Luca Scamoni
d4ad06e788
s/olcMultiMaster/olcMirrorMode
2006-02-08 10:16:20 +00:00
Howard Chu
e183b5d093
s/multimaster/mirrormode/ we don't want folks confusing this with real
...
multimaster.
2006-02-08 05:48:41 +00:00
Pierangelo Masarati
6275c6ecdc
make sure no invalid candidate gets used (had a core for i == META_TARGET_MULTIPLE)
2006-02-07 18:51:47 +00:00
Howard Chu
a4d161cff6
More unifdef SLAPD_MULTIMASTER cleanup
2006-02-07 01:05:57 +00:00
Pierangelo Masarati
f4c578cb31
delete all conns cached for a single client->proxy connection (partially addresses ITS#4387)
2006-02-06 21:39:56 +00:00
Howard Chu
83c259a207
Cleanup prev commit
2006-02-06 20:39:25 +00:00
Howard Chu
0e6aa53cd1
Unifdef SLAPD_MULTIMASTER, use config setting instead
2006-02-06 04:45:12 +00:00
Howard Chu
fe3b6d0071
ITS#4384 rework entryCSN handling, retrieve from incoming request
...
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Howard Chu
f96e6378d6
filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap
...
in test045
2006-02-05 01:05:38 +00:00
Pierangelo Masarati
f0d6ac3e0b
debug cleanup
2006-02-04 15:50:22 +00:00
Howard Chu
ec7e2af34a
delete now redundant memsets
2006-02-03 19:37:12 +00:00
Pierangelo Masarati
140bc77e50
(blind) fix to ITS#4386 (uninitialized var)
2006-02-03 18:06:00 +00:00
Kurt Zeilenga
4bf9eb2365
fix comments
2006-02-03 04:10:29 +00:00
Pierangelo Masarati
9fd59d812d
format error message as LDIF (do not assume the error messages do not contain fancy chars; ITS#4382)
2006-02-02 21:01:29 +00:00
Howard Chu
71d439aba7
Use "pcache" dynamic debug level
2006-02-02 08:31:15 +00:00
Howard Chu
0ef7742328
Reparse unknown debug flags after config is read to allow use
...
of dynamically registered debug levels
2006-02-02 08:30:56 +00:00
Howard Chu
57c25cbd68
Fix negative caching again, be sure it's really from zero entries returned
2006-02-02 02:52:54 +00:00
Pierangelo Masarati
54aefe30f7
implement proxy long-lived connection TTL
2006-02-01 23:10:12 +00:00
Pierangelo Masarati
0e2b26986e
do not assume the matching rule synta has a validate handler (ITS#4380)
2006-02-01 21:53:58 +00:00
Howard Chu
f50316f141
Use LDAP_DEBUG_CACHE instead of TRACE. Delete remove_mutex.
2006-02-01 19:31:35 +00:00
Howard Chu
297d12c808
ITS#4376 add missing parameters in config_generic_wrapper
2006-01-28 08:26:21 +00:00
Howard Chu
bedac8bd60
Fix negative caching, only do it on Success
2006-01-27 22:55:28 +00:00
Kurt Zeilenga
a3fce95ffc
Add note about contrib/slapd-modules
2006-01-25 22:12:16 +00:00
Howard Chu
a970038b0c
ITS#4373, fix prev commit
2006-01-25 19:06:16 +00:00
Luke Howard
667d3c1a37
fix typo
2006-01-25 14:12:51 +00:00
Howard Chu
3d3ba13f92
ITS#4369 add log messages for delta syncrepl ops
2006-01-25 01:47:48 +00:00
Howard Chu
bebfc49d71
ITS#4370 always init slap_daemon mutexes
2006-01-25 01:36:18 +00:00
Kurt Zeilenga
f5b9ff7940
unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
...
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Howard Chu
fdc89d2604
ITS#4365 reset frs.sr_nentries before searching in syncprov_playlog
2006-01-23 22:23:00 +00:00
Luke Howard
0c0abfe917
slapi_filter_dup() can now use filter_dup()
2006-01-23 21:23:36 +00:00
Howard Chu
51c5916149
ITS#4364 add filter_dup, don't use str2filter to dup filters.
2006-01-23 20:53:52 +00:00
Howard Chu
3407467ca2
ITS#4361, 4362 fix autorecovery logic, add ALOCK_NOSAVE flag to record
...
txn/non-txn status of the environment.
2006-01-22 13:51:33 +00:00
Howard Chu
bf0692d5ba
ITS#4360 must init c_minfree
2006-01-22 05:11:23 +00:00
Pierangelo Masarati
44abcdfa2f
fix previous commit
2006-01-21 16:08:01 +00:00
Pierangelo Masarati
5360a5dc21
cleanup
2006-01-21 10:42:21 +00:00
Pierangelo Masarati
42bf993798
on't use freed memory; streamline parse error reporting
2006-01-21 10:41:41 +00:00
Howard Chu
2b0bccc74c
ITS#4357 Solaris occasionally returns ENOSYS when selecting on a descriptor
...
in the midst of closing. Instead of special casing EBADF, ENOSYS, and
WSAENOTSOCK, just count if any error occurs two or more times in a row,
and log if so. Don't treat any error as fatal unless it occurs many times
in a row (SLAPD_EBADF_LIMIT).
2006-01-20 08:13:54 +00:00
Pierangelo Masarati
05088318df
need normalized timestamp as well, although this is a SINGLE-VALUE attr
2006-01-19 23:20:45 +00:00
Howard Chu
c2b660f3d7
ITS#4355 timestamps must be normalized
2006-01-19 22:16:23 +00:00
Luke Howard
f341270a46
Permissive support for LDAP_MOD_INCREMENT -- treat absence of attribute
...
as if attribute existed with a value of 0
2006-01-19 22:06:24 +00:00
Howard Chu
4361a942ab
Add ability to cache negative results and specify negative TTL on templates
2006-01-18 02:59:06 +00:00
Howard Chu
03f28de8bb
ITS#4225 added proxyCacheQueries parameter for configuring max_queries
2006-01-17 19:51:50 +00:00
Pierangelo Masarati
5ffc8c2588
further cleanup
2006-01-16 23:28:08 +00:00
Pierangelo Masarati
324174fc76
refine previous commit (error out before actual add)
2006-01-16 23:14:21 +00:00
Pierangelo Masarati
fa4e093f0c
ITS#4337: renaming not implemented yet(need a better fix)
2006-01-16 22:58:36 +00:00
Howard Chu
9b2ee679e8
Fix WAKE_LISTENER
2006-01-15 15:40:53 +00:00
Howard Chu
a4a85e03c1
ITS#3950 delete gratuitous yield()s
2006-01-15 13:33:29 +00:00
Pierangelo Masarati
a029490fe8
let overlays define if they must appear exactly once in a chain, and if they must be global/per-db only, and holler in case
2006-01-14 18:02:35 +00:00
Pierangelo Masarati
7f826af5fd
also restore original o_bd
2006-01-14 17:47:54 +00:00
Pierangelo Masarati
bad81cb0d1
fix previous commit
2006-01-14 17:24:06 +00:00
Pierangelo Masarati
31578ca431
preserve original o_bd field (global overlays; part of fix to ITS#4336)
2006-01-14 16:57:14 +00:00
Pierangelo Masarati
da921ed175
cleanup
2006-01-14 16:51:39 +00:00
Pierangelo Masarati
d168b49464
make back-meta conform with man page
2006-01-14 15:28:28 +00:00
Pierangelo Masarati
63e80ef12e
rootdn can exceed limit on number of dynamic objects
2006-01-14 11:17:10 +00:00
Pierangelo Masarati
72d2ee4d19
address ITS#4332; might remove dynamicObject counting
2006-01-14 11:12:56 +00:00
Pierangelo Masarati
e720c15c4d
tolerate that config_get_vals() returns success with no values (ITS#4341)
2006-01-14 10:21:47 +00:00
Pierangelo Masarati
f3dba23fbb
previous commit contradicts man page; see comment in code
2006-01-14 10:03:11 +00:00
Pierangelo Masarati
af83c5e242
"relay" needs suffix and more cleanup (ITS#4340)
2006-01-14 09:56:35 +00:00
Howard Chu
f16d101033
Log select() failure at DEBUG_ANY, since it triggers a shutdown.
2006-01-13 20:28:31 +00:00
Howard Chu
84429e8bcb
ITS#4338 delete extraneous slapd_close() calls. Descriptors that were in
...
the event set must be removed using slapd_remove() and the whole sequence
must be protected with the slap_daemon.sd_mutex to close them properly.
Otherwise it will wind up closing valid, freshly opened sockets, or closing
dead sockets twice, etc. It's unnecessary to do any close management here
since connection.c already does the correct teardown sequence.
2006-01-13 17:30:03 +00:00
Howard Chu
b85926a2c1
ITS#4339 attributeoptions patch from Ralf Haferkamp @ SuSE
2006-01-13 16:42:34 +00:00
Pierangelo Masarati
e393f47465
allow slapo-chain to be instantiated without any specific config statement...
2006-01-13 10:41:54 +00:00
Kurt Zeilenga
48c34d254f
Update proxied authorization implementation to use IANA
...
assigned result code.
2006-01-12 22:55:56 +00:00
Pierangelo Masarati
7124ec615e
make sure appropriate limits are in place (ITS#4336)
2006-01-12 22:48:02 +00:00
Howard Chu
2ba87c6fe6
ITS#4334 Must propagate connection_destroy to captive backend.
2006-01-12 15:40:52 +00:00
Howard Chu
797cffb9b3
Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch.
2006-01-12 08:40:09 +00:00
Pierangelo Masarati
3a58263037
add comment about run-time registered extop/control compatibility
2006-01-12 08:16:18 +00:00
Howard Chu
a2e4d2f463
Fix prev commit
2006-01-12 03:40:08 +00:00
Pierangelo Masarati
90fad5a3a3
(incorrect) variable used before set (ITS#4331)
2006-01-11 21:30:53 +00:00
Pierangelo Masarati
1a217516f0
allow control handlers to be replaced
2006-01-11 19:36:18 +00:00
Pierangelo Masarati
9795721f7a
improve back-meta retry capabilities (ITS#4328)
2006-01-11 19:33:44 +00:00
Howard Chu
34cefbe0ad
ITS#4324 don't auto-recover in slapcat. Don't trigger a recovery if
...
DB_CONFIG has same mtime as DB environment.
2006-01-11 15:38:30 +00:00
Pierangelo Masarati
7038044c91
in abnormal cases, error may be sent twice
2006-01-11 15:32:34 +00:00
Pierangelo Masarati
0dce854ce4
complete fix to back-ldap (ITS#4315?); not sure dobind should actually be treated as a bind...
2006-01-11 12:11:59 +00:00
Pierangelo Masarati
c9ef14afca
fix typos in previus commit
2006-01-11 08:36:37 +00:00
Howard Chu
3ecd52e0b8
Don't update in-memory cookie until db update succeeds
2006-01-11 08:10:17 +00:00
Howard Chu
3e682cdac4
Propagate local errors up, fix test045
2006-01-11 07:37:42 +00:00
Pierangelo Masarati
de80985c95
don't allow multiple relay lines (ITS#4322)
2006-01-10 20:30:35 +00:00
Howard Chu
a9844efa70
ITS#4319 fix check for need_shutdown/slap_shutdown()
2006-01-10 18:32:09 +00:00
Pierangelo Masarati
7368ffb77a
don't idassert anon2anon (ITS#4321)
2006-01-10 13:17:31 +00:00
Pierangelo Masarati
e3a81f17c7
comment no longer required
2006-01-10 02:10:07 +00:00
Pierangelo Masarati
9bcb37b5c1
refine fix to ITS#4320
2006-01-10 02:05:54 +00:00
Pierangelo Masarati
cc51777312
check pointers (ITS#4320)
2006-01-10 01:53:29 +00:00
Pierangelo Masarati
f3c2c7ba48
use slab memory for proxyauthz
2006-01-09 20:00:51 +00:00
Howard Chu
13fdab9509
Optimizations for containment checks
2006-01-09 19:35:03 +00:00
Howard Chu
a393b68656
Plug memleak when query isn't added to cache
2006-01-09 18:00:11 +00:00
Howard Chu
7ce9e7b7c6
Tone down debug messages
2006-01-09 17:27:57 +00:00
Pierangelo Masarati
779e26df2d
apparently Statslog() doesn't really differ any more from just Log()...
2006-01-09 16:28:02 +00:00
Howard Chu
42ec7b40b1
Streamline answerability test
2006-01-09 16:22:55 +00:00
Pierangelo Masarati
21be582df7
use a placeholder to mark that there is no process in the runqueue (ITS#4318)
2006-01-09 15:45:59 +00:00
Pierangelo Masarati
543c588772
don't send error with back-meta
2006-01-09 15:13:29 +00:00
Pierangelo Masarati
6995603a3d
refine fix to ITS#4315; apply it to back-meta as well
2006-01-09 14:20:37 +00:00
Howard Chu
2be7cf6114
ITS#4316 fix to make attrset subsets work as documented.
2006-01-09 13:56:25 +00:00
Howard Chu
8538223def
TS#4315 fix prev commit, spinning in ldap_back_dobind
2006-01-09 09:37:52 +00:00
Howard Chu
2b39a26150
ITS#4315 fix bind concurrency issue
2006-01-09 09:14:53 +00:00
Luke Howard
c51a71e5c2
Add -s option to slapadd to disable schema checking
2006-01-08 20:18:14 +00:00
Luke Howard
90a6c71d32
ITS#4291
2006-01-08 14:11:29 +00:00
Luke Howard
e60724422b
ITS#4311
2006-01-08 14:07:19 +00:00
Pierangelo Masarati
a6203bd1ef
improve previous commit
2006-01-07 12:35:02 +00:00
Pierangelo Masarati
bfad4e8b46
fix entryExpireTimestamp description
2006-01-07 12:26:59 +00:00
Pierangelo Masarati
17bb32af28
enable new response/cleanup playlist #ifdef LDAP_DEVEL
2006-01-07 11:40:39 +00:00
Pierangelo Masarati
39959c3192
release entry before sending results (ITS#4313)
2006-01-07 11:39:18 +00:00
Pierangelo Masarati
b21c869ac3
silence (harmless) warnings
2006-01-07 11:13:40 +00:00
Pierangelo Masarati
697df7cc06
silence warning
2006-01-07 11:06:32 +00:00
Howard Chu
7b9fc0e377
wake listener when scheduling qtask so it can run immediately
2006-01-06 20:38:14 +00:00
Pierangelo Masarati
08fe5e7026
register OID for entryExpireTimestamp
2006-01-06 18:39:40 +00:00
Pierangelo Masarati
339b9c371e
rfc2589 support (ITS#4293)
2006-01-06 17:46:52 +00:00
Pierangelo Masarati
a17df0e810
ITS#4310 seems to affect also back-ldbm
2006-01-06 17:44:19 +00:00
Pierangelo Masarati
e484ebf9c8
complete ACI commit
2006-01-06 17:28:59 +00:00
Pierangelo Masarati
a54ca7a6ce
factor ACI code out of slapd; now it can only use dynacl layer
2006-01-06 17:12:35 +00:00
Pierangelo Masarati
45cda82eb1
allow load_extop to replace an existing handler (not by default, though)
2006-01-06 17:08:54 +00:00
Pierangelo Masarati
090945b89e
allow proxying of dynamic objects (irrespective of the support provided to dynamic objects); but back-meta does not support extended ops yet...
2006-01-06 17:08:06 +00:00
Pierangelo Masarati
906acc2b30
resource release (more is needed: a report is coming...)
2006-01-06 16:34:20 +00:00
Pierangelo Masarati
18beda81a0
allow proxying of dynamic objects (irrespective of the support provided to dynamic objects)
2006-01-06 16:33:14 +00:00
Pierangelo Masarati
3037a199d4
part of o_csn memory handling cleanup
2006-01-06 16:32:33 +00:00
Pierangelo Masarati
857a43d398
o_csn memory handling cleanup and more resource release
2006-01-06 16:31:57 +00:00
Pierangelo Masarati
62497187c7
cleanup
2006-01-06 16:31:07 +00:00
Pierangelo Masarati
b7ed9571db
check if handler is being installed twice (needs work to allow replacement)
2006-01-06 16:30:43 +00:00
Pierangelo Masarati
2f81cc64b1
since o_csn is always allocated on the thread's slab, and since CSNs always have the same length, reuse memory (part of o_csn memory handling cleanup)
2006-01-06 16:26:36 +00:00
Pierangelo Masarati
4dd4ecd620
move supporting exops to bvarray
2006-01-06 16:25:31 +00:00
Pierangelo Masarati
693697bfd9
cleanup callback freeing
2006-01-06 16:24:37 +00:00
Pierangelo Masarati
f9a104bf4d
allow backend_attribute to check access to "entry" and "children" pseudo-attributes
2006-01-06 16:24:07 +00:00
Pierangelo Masarati
2c21dbd56f
cleanup
2006-01-06 16:23:17 +00:00
Pierangelo Masarati
5354f2d4e6
plug one-time leaks
2006-01-06 16:22:47 +00:00
Pierangelo Masarati
80dac35c5e
cleanup previous commit
2006-01-06 16:04:07 +00:00
Pierangelo Masarati
d384ab5ad9
allow addiion of suffix entry when default referral is defined (ITS#4310)
2006-01-06 14:50:43 +00:00
Howard Chu
a614a1c16e
Cleanup task declarations
2006-01-06 04:06:18 +00:00
Howard Chu
e82ce6444c
ITS#4308 fix cache flush task interval
2006-01-06 03:51:56 +00:00
Howard Chu
a53fc12578
ITS#4306 fix for syslog with NULL string on modify
2006-01-06 00:19:56 +00:00
Pierangelo Masarati
f7994da153
fix ITS#4307
2006-01-05 21:38:31 +00:00
Pierangelo Masarati
12b6e804a5
fix search of specific connection (ITS#4300)
2006-01-05 21:25:06 +00:00
Pierangelo Masarati
b18ba481cf
re-fix ITS#4260
2006-01-05 21:22:50 +00:00
Pierangelo Masarati
4a481a83d3
improve previous commit; now passes all tests
2006-01-05 13:57:34 +00:00
Pierangelo Masarati
3974bb0e44
plug leaks
2006-01-05 11:07:06 +00:00
Pierangelo Masarati
9586fed42f
all in all, valgrind was right; this now works as intended
2006-01-05 11:05:40 +00:00
Pierangelo Masarati
44e3b0b481
experimental fix to callback looping
2006-01-04 21:13:57 +00:00
Pierangelo Masarati
92b1ad358d
fix previous commit
2006-01-04 13:30:34 +00:00
Pierangelo Masarati
8c0ad9021a
fix self<access> for "users" (ITS#4299)
2006-01-04 00:52:07 +00:00
Pierangelo Masarati
bccb029786
fix issue with mixed attributes/objectClasses in exclusion lists (ITS#4298)
2006-01-03 23:33:50 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
7e535f8018
__should__ fix ITS#4296
2006-01-03 18:07:01 +00:00
Pierangelo Masarati
83929308a5
stringify no longer needed
2006-01-02 17:43:03 +00:00
Pierangelo Masarati
fdce5f2f7e
fix another crasher
2006-01-02 17:36:48 +00:00
Pierangelo Masarati
0eb5023550
fix crasher in previous commits
2006-01-02 17:27:50 +00:00
Pierangelo Masarati
912dd6f083
fix {add,delete} access (ITS#4295)
2006-01-02 16:44:36 +00:00
Pierangelo Masarati
3f2bb04ac0
this bug highlighted ITS#4295 issue
2006-01-02 16:42:22 +00:00
Pierangelo Masarati
c67c99e3bd
clarify generated password issue
2006-01-02 16:20:39 +00:00
Luke Howard
b55557e30b
Remove new_rdn/old_rdn - handled by frontend
2006-01-02 15:40:45 +00:00
Luke Howard
df2503d2b4
Remove new_rdn/old_rdn - handled by frontend now
2006-01-02 15:39:06 +00:00
Luke Howard
e7f164773e
Remove RDN checks/logging -- now done by frontend
2006-01-02 15:38:04 +00:00
Pierangelo Masarati
a119fe3df0
return the new password if the exop is performed by the database (ITS#4294)
2006-01-02 12:44:38 +00:00
Pierangelo Masarati
8e7e8c4d04
allow modules to register callbacks for dynamic data in root DSE
2006-01-02 08:57:56 +00:00
Pierangelo Masarati
fc358465d7
allow generic exops to slip thru
2006-01-02 08:19:35 +00:00
Pierangelo Masarati
9c7aca5b47
fix indentation
2006-01-02 08:18:29 +00:00
Luke Howard
3f6daa4680
Initialize sml_type
...
Don't clobber sml_type when converting SLAPI mods
2006-01-01 14:25:09 +00:00
Luke Howard
1c0f49dda3
Backout accidental private part of previous commit
2006-01-01 09:24:19 +00:00
Luke Howard
b6fffd1417
Add orr_modlist member to request structure, containing a list of
...
modifications to be applied by the backend atomically with a modify
RDN request.
Handle updating of RDN values in frontend.
Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
eb734a167b
add severity-aware logging (ITS#4282)
2005-12-27 16:29:37 +00:00
Pierangelo Masarati
aecf0f4164
typos in comments (very pedantic...)
2005-12-26 17:00:12 +00:00
Pierangelo Masarati
0fa9578f48
handle when URIs are null
2005-12-26 16:55:50 +00:00
Luke Howard
dc166c08b8
Fix regression in SLAPI ACL plugins, call with frontendDB pblock
2005-12-24 17:15:13 +00:00
Luke Howard
cbf33d4fb1
Handle LDAP_MOD_INCREMENT in acl_check_modlist()
2005-12-24 16:02:15 +00:00
Luke Howard
d4c9c3b60e
Use local SSF for internal SLAPI operations (probably need to do same
...
in connection_fake_init()) too)
2005-12-24 13:16:48 +00:00
Luke Howard
ac64f4806b
Fix CLDAP regression
2005-12-24 11:00:28 +00:00
Luke Howard
d8647e5c07
Create SLAPI object extensions in connection_fake_init()
2005-12-24 10:59:46 +00:00
Luke Howard
c723a77e1c
Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler
...
where merge controls was not called)
2005-12-24 09:20:06 +00:00
Luke Howard
dcfd499eca
Set ors_slimit in slap_read_controls so that slap_send_search_entry()
...
check passes
2005-12-24 07:40:12 +00:00
Luke Howard
3ba381a862
Fix compile error when LDAP_CONNECTIONLESS is defined
2005-12-24 07:16:35 +00:00
Kurt Zeilenga
d1bc820b2f
fix ITS#4283/4 segfaults
2005-12-23 02:20:11 +00:00
Pierangelo Masarati
20dc92fe25
cleanup debug handling
2005-12-22 22:33:32 +00:00
Howard Chu
a48f7b6f93
ITS#4278 set ml->sml_type
2005-12-21 20:43:14 +00:00
Pierangelo Masarati
8d4418b044
fix handling of bind-timeout
2005-12-21 17:28:27 +00:00
Kurt Zeilenga
e50fc1833d
Add UUIDPretty
...
Likely should add UUID-named-entry test case to test026...
2005-12-20 23:25:44 +00:00
Kurt Zeilenga
439af9ec10
(Quick)fix UUID naming attributes
2005-12-20 22:36:51 +00:00
Pierangelo Masarati
8c2ceeb605
don't idassert anonymous unless explicitly configured (ITS#4272)
2005-12-20 20:43:14 +00:00
Pierangelo Masarati
8346de462b
silence warning
2005-12-20 20:36:05 +00:00
Pierangelo Masarati
4a86a767ab
more unparsing buffer overflow cleanup
2005-12-20 15:33:50 +00:00
Pierangelo Masarati
81bafb9935
fix potential overflow in syncrepl_unbind() and related helpers
2005-12-20 14:31:16 +00:00
Pierangelo Masarati
e2fb0213ed
note to developers
2005-12-20 14:03:04 +00:00
Pierangelo Masarati
46a88603dd
add more checks on input values
2005-12-20 13:07:38 +00:00
Howard Chu
e6f624b48a
ATTRSONLY doesn't take a value (ITS#4146, #4266 )
2005-12-20 12:18:01 +00:00
Pierangelo Masarati
3517bdf260
revert previous commit(s); clarify usage of "-s" in slapd(8).
2005-12-20 08:20:16 +00:00
Howard Chu
059257aeaf
cleanup db_close
2005-12-20 00:55:39 +00:00
Howard Chu
684c01ed1f
ITS#4259 revert prev commit, fixed in alock.c instead.
2005-12-20 00:48:15 +00:00
Howard Chu
28ed7a26a7
ITS#4259 ignore alock_close on zero slot
2005-12-20 00:46:51 +00:00
Howard Chu
5b7f102ad2
ITS#4259 don't try to alock_close if we never opened...
2005-12-20 00:44:05 +00:00
Howard Chu
4dbc76ebef
Fix ITS#4267, don't bother with unique_search if no relevant attributes
...
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Pierangelo Masarati
6650f07f50
allow (and use) symbolic names for syslog levels
2005-12-19 22:55:30 +00:00
Pierangelo Masarati
0c75d26060
make the message one-line
2005-12-17 00:41:17 +00:00
Pierangelo Masarati
5b26601fd0
fix syslog level parsing
2005-12-17 00:40:46 +00:00
Pierangelo Masarati
7941652ed4
do exactly what requested
2005-12-16 22:27:57 +00:00
Pierangelo Masarati
ce3c024557
slapdn calls shutdown without startup
2005-12-16 22:24:53 +00:00
Pierangelo Masarati
9f2e86c8e3
cleanup error logging
2005-12-16 19:01:05 +00:00
Pierangelo Masarati
9e3a22bf4a
always provide a NULL o_private to be_entry_get (ITS#4184)
2005-12-16 18:35:25 +00:00
Pierangelo Masarati
96dd70da28
fix memory handling
2005-12-16 16:19:17 +00:00
Pierangelo Masarati
b984e616c3
remove support for control as the operation is now incompatible
2005-12-16 15:01:59 +00:00
Kurt Zeilenga
a6127452f5
restrict assertion control to appropriate requests
2005-12-16 14:26:14 +00:00
Pierangelo Masarati
1c523e3548
anticipate sr_err/sr_ref cross-check, so that the right error gets logged
2005-12-16 11:33:11 +00:00
Pierangelo Masarati
266c6ad1ea
plug one-time leaks; misc cleanup
2005-12-16 01:58:36 +00:00
Pierangelo Masarati
e841c3b73b
reset bi_attrs after reindexing (ITS#4260)
2005-12-16 00:44:13 +00:00
Pierangelo Masarati
53d41587ad
__should__ fix ITS#4262; please review
2005-12-16 00:04:51 +00:00
Pierangelo Masarati
e788a5c380
first part of fix to ITS#4262
2005-12-15 23:46:23 +00:00
Howard Chu
8a9761bc3f
ITS#4238 don't hide syncrepl control from rootDSE
2005-12-15 23:05:12 +00:00
Howard Chu
dd3d53fd85
Fix ITS#4263
2005-12-15 22:52:31 +00:00
Pierangelo Masarati
9df97ba114
use macros to handle retry
2005-12-15 19:14:54 +00:00
Pierangelo Masarati
76a089086b
forgot binds
2005-12-15 17:54:13 +00:00
Pierangelo Masarati
d86a46cc33
shortcut to allow restricting all operations
2005-12-15 17:46:37 +00:00
Pierangelo Masarati
93e8395e30
log what is being modified
2005-12-15 17:45:31 +00:00
Pierangelo Masarati
4538422dc9
better handling of internal operations
2005-12-15 13:47:25 +00:00
Pierangelo Masarati
f0ee55c9df
fix filter generation (back-ldap uses string form)
2005-12-15 13:07:56 +00:00
Pierangelo Masarati
62d4ae9058
a back-ldap consumer segfaults when accessing members of conn...
2005-12-15 11:55:46 +00:00
Pierangelo Masarati
430aff35bb
assume operations with version set to 0 are internal, and use LDAPv3
2005-12-15 11:39:46 +00:00
Pierangelo Masarati
fcda57e90f
use macros instead of numbers...
2005-12-13 20:11:26 +00:00
Pierangelo Masarati
bd975514de
add (and document) customizable bind-timeout
2005-12-12 15:57:58 +00:00
Pierangelo Masarati
361a97108b
minor cleanup
2005-12-12 14:33:34 +00:00
Pierangelo Masarati
e113e18bb6
more about sizelimit disclose issue in back-meta (ITS#4213)
2005-12-11 23:39:09 +00:00
Pierangelo Masarati
8687dace5b
allow per-replogfile pid/args file & replication interval (ITS#3523)
2005-12-10 12:25:27 +00:00
Pierangelo Masarati
b681c634c4
allow per-replogfile pid/args file (ITS#3523)
2005-12-10 11:52:44 +00:00
Pierangelo Masarati
d72b89b53a
allow any base for debug level
2005-12-10 11:52:08 +00:00
Pierangelo Masarati
93d0ef91e6
allow parsing of numbers in whatever base (ITS#4257)
2005-12-09 18:11:07 +00:00
Pierangelo Masarati
da03eb0390
normalize value in "exact" attrval clause (ITS#4255)
2005-12-09 10:33:01 +00:00
Pierangelo Masarati
335633d9eb
add comment
2005-12-09 10:31:41 +00:00
Howard Chu
3d4eeba5d1
Fix ITS#4133, reset subtree search req_dn
2005-12-09 02:08:08 +00:00
Howard Chu
b81ed2c106
Fix ITS#4084, onelevel searches cannot return NO_SUCH_OBJECT if the base
...
was already found.
2005-12-09 01:20:05 +00:00
Howard Chu
553b2884ab
cache LRU concurrency improvements, reorder DB accesses for consistency
2005-12-09 00:20:18 +00:00
Howard Chu
3e062a3f35
ITS#4254 fix lock ordering
2005-12-08 23:45:47 +00:00
Pierangelo Masarati
1b42fde372
implement (per-target) per-conn proxy-side idle-timeout (ITS#4115); revitalize (per-target) network-timeout in back-meta; fix issue with connection initialization error in ldap_back_retry(); cleanup configuration of back-ldap
2005-12-07 17:35:02 +00:00
Pierangelo Masarati
a4f800413d
unlink pid/args files only if actually touched (ITS#4251)
2005-12-07 14:47:00 +00:00
Howard Chu
51f9ef7ab9
Improve previous commit
2005-12-07 12:09:00 +00:00
Howard Chu
32fe0ead9f
Distinguish error message for frontendDB config
2005-12-07 11:34:16 +00:00
Pierangelo Masarati
47b4f99363
warn if "excessive" thread number is set (ITS#4249)
2005-12-07 09:58:54 +00:00
Pierangelo Masarati
447b065abd
rework previous commit?
2005-12-07 09:51:12 +00:00
Howard Chu
2bb6555726
ITS#4250 bdb_idl_delete needs to check for Range
2005-12-07 01:54:50 +00:00
Pierangelo Masarati
24887642dc
don't search max CSN if don't have a value; try the operational_attrs if entryCSN is not in attrs
2005-12-07 01:30:28 +00:00
Pierangelo Masarati
ed0bed72b9
plug leaks
2005-12-06 23:10:14 +00:00
Pierangelo Masarati
e0a28ee53f
remove unused var
2005-12-06 23:06:55 +00:00
Pierangelo Masarati
6930e84f81
plug leaks...
2005-12-06 22:56:58 +00:00
Pierangelo Masarati
e9169c2b46
use helper to destroy modrdn modifications; plug leaks...
2005-12-06 22:56:36 +00:00
Pierangelo Masarati
0b0aed319a
use helper to destroy modrdn modifications; send result after commit\!...
2005-12-06 22:56:07 +00:00
Pierangelo Masarati
f29447d9de
use helper to destroy modrdn modifications...
2005-12-06 22:55:30 +00:00
Pierangelo Masarati
662cb94e06
helper to destroy modrdn modifications...
2005-12-06 22:54:51 +00:00
Pierangelo Masarati
c226563da4
fix various memory leaks and handling issues
2005-12-06 22:06:29 +00:00
Pierangelo Masarati
2ea72234aa
return more appropriate error code
2005-12-06 20:04:52 +00:00
Pierangelo Masarati
64c1a3f1a6
relax the check on objectClass (may be equal)
2005-12-06 20:04:20 +00:00
Pierangelo Masarati
5909a4d636
don't return the dummy empty string
2005-12-05 22:41:25 +00:00
Pierangelo Masarati
5f8f4554ff
cleanup
2005-12-05 15:21:49 +00:00
Howard Chu
bb1984eb3e
Fix mod delete by ordered index
2005-12-05 11:46:56 +00:00
Howard Chu
10d8ae3c51
Tweak syncrepl messageID
2005-12-05 11:46:30 +00:00
Pierangelo Masarati
2422e6aaab
fix compilation without debugging (ITS#4245)
2005-12-05 10:39:38 +00:00
Howard Chu
3165691cbf
ITS#4241 write pid / args file before starting backends
2005-12-02 11:47:10 +00:00
Howard Chu
5e3820fd7a
ITS#4237 don't update sc_prev after a callback has been freed.
2005-12-01 00:48:38 +00:00
Kurt Zeilenga
5218ddae7e
ITS#4229: update DB_CONFIG for -q option
2005-11-29 20:28:02 +00:00
Howard Chu
a342ee4d88
ITS#4227 delta-sync should use subtree search
2005-11-29 11:44:43 +00:00
Howard Chu
dcaa6aa830
ITS#4226 must close cursor when limiting candidate check
2005-11-29 11:34:47 +00:00
Pierangelo Masarati
b2e673c37a
add check on duplicate rules (may be too strict?)...
2005-11-29 10:34:59 +00:00
Pierangelo Masarati
fed3c18e88
allow dynlist to take over dyngroup
2005-11-29 10:02:05 +00:00
Pierangelo Masarati
7841f4f538
complete merging of dyngroup into dynlist; add back-config support
2005-11-29 02:10:47 +00:00
Pierangelo Masarati
976d6b4b66
fix return code in case the asserted DN does not exist (ITS#4224)
2005-11-29 00:09:39 +00:00
Howard Chu
a0d9bd7890
ITS#4223 don't store negative results in IDL cache
2005-11-28 22:53:03 +00:00
Pierangelo Masarati
22f05c6785
add support for backend/overlay obsolete names...
2005-11-28 14:13:54 +00:00
Pierangelo Masarati
26d802ee53
add dyngroup compare functionality to dynlist
2005-11-28 11:34:46 +00:00
Pierangelo Masarati
6459cbb7ce
allow comma-separated descriptive log levels, so that tests can be run, e.g., with "SLAPD_DEBUG=stats,stats2"; s/ldap_debug/slap_debug/
2005-11-28 10:55:07 +00:00
Pierangelo Masarati
3a563c2fcb
cleanup OID comments
2005-11-28 10:53:52 +00:00
Pierangelo Masarati
52a827466a
fix previous commit
2005-11-28 10:38:01 +00:00
Howard Chu
1360f9fa80
More for prev commit - set entryCSN as well.
2005-11-28 05:27:42 +00:00
Pierangelo Masarati
4fe032e9be
add very preliminary support for <draft-sermersheim-ldap-distproc>
2005-11-27 23:23:59 +00:00
Pierangelo Masarati
26a83119fd
cleanup
2005-11-27 23:19:17 +00:00
Pierangelo Masarati
1e01082e10
s/chain-cache-uris/chain-cache-uri/
2005-11-27 23:18:47 +00:00
Pierangelo Masarati
84bb488ec2
allow to register (and expose) a supported feature
2005-11-27 23:17:57 +00:00
Kurt Zeilenga
d24a5f6f0f
Update description
2005-11-27 02:10:01 +00:00
Kurt Zeilenga
0d56ddda04
unifdef -DBDB_SUBENTRIES -DLDBM_SUBENTRIES
2005-11-27 01:03:03 +00:00
Howard Chu
21f91438b6
Drop monitor_back_db_config()
2005-11-26 23:35:45 +00:00
Howard Chu
475b35b847
ITS#4220 - add warnings for unsupported modules. Note that back-monitor
...
causes a warning due to its no-op bi_db_config entry point. Unimplemented
entry points are supposed to be NULL.
2005-11-26 21:32:11 +00:00
Pierangelo Masarati
ed098b4136
fix previous commit (overlay initializer prototypes were incorrect)
2005-11-26 17:04:51 +00:00
Howard Chu
b831ebba7d
ITS#4218 streamline frontend/overlay access_allowed. Probably need to
...
do the same for acl_group and acl_attribute.
2005-11-26 07:53:07 +00:00
Kurt Zeilenga
48cb85865d
Remove some unnecessary #ifdefs
2005-11-26 07:38:18 +00:00
Kurt Zeilenga
c106f49029
Primitive handling of dontUseCopy (always error).
2005-11-26 07:09:59 +00:00
Kurt Zeilenga
bfba08c103
Remove lint
2005-11-26 04:02:13 +00:00
Howard Chu
80143b5fc6
Fix ITS#3717 - set restriction on all backends
...
Fix ITS#4217 - gentleHUP is a normal shutdown condition
2005-11-25 23:16:10 +00:00
Howard Chu
d84ffb62a6
ITS#4210 don't setup indexing threads if no indexing is defined.
2005-11-25 22:50:25 +00:00
Pierangelo Masarati
b3c8a976ec
use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings
2005-11-25 22:17:24 +00:00
Howard Chu
abc13afcc9
ITS#4198 initialize logdb contextCSN from main DB contextCSN
2005-11-25 21:51:49 +00:00
Howard Chu
72fee93e31
ITS#4209 release entry when it exists.
2005-11-25 21:40:33 +00:00
Howard Chu
4f15618201
op->ors_slimit is always intact now.
2005-11-25 20:52:25 +00:00
Howard Chu
255f1e494f
Don't touch op->ors_slimit.
2005-11-25 20:50:34 +00:00
Howard Chu
7a2f05016c
Don't decrement op->ors_slimit, just compare with rs->sr_nentries.
2005-11-25 20:44:56 +00:00
Pierangelo Masarati
44a1f10d97
allow arbitrary base also in tools
2005-11-25 18:34:18 +00:00
Pierangelo Masarati
78d8a07708
frontend/config/monitor cannot be shadow, I bet
2005-11-25 17:10:11 +00:00
Pierangelo Masarati
f3c007229f
detect if trying to make back-monitor shadow
2005-11-25 15:16:54 +00:00
Pierangelo Masarati
6f7b00d891
fix sizelimit commit
2005-11-25 15:08:33 +00:00
Pierangelo Masarati
98936ee3c4
streamline overlay configuration
2005-11-25 12:43:43 +00:00
Pierangelo Masarati
f86543c770
cleanup filter escaping
2005-11-25 12:16:27 +00:00
Pierangelo Masarati
6ab23ef926
add more versatile private API for filter escaping
2005-11-25 10:41:33 +00:00
Pierangelo Masarati
473f3ab840
set limits as appropriate
2005-11-25 01:26:10 +00:00
Pierangelo Masarati
efe575c255
escape filter values (ITS#4212)
2005-11-25 01:13:24 +00:00
Pierangelo Masarati
ea83f6a669
check sizelimit in frontend (ITS#4213)
2005-11-25 00:28:33 +00:00
Pierangelo Masarati
45e188a812
one s/strtol/lutil_atoi/ too much...
2005-11-24 22:53:28 +00:00
Pierangelo Masarati
ce367bcc25
use friendly form for timeouts
2005-11-24 21:21:27 +00:00
Pierangelo Masarati
194aa68dab
always set sr_flags before sending an entry
2005-11-24 21:20:06 +00:00
Pierangelo Masarati
8d19d52467
use time_t for time-related vars
2005-11-24 01:49:06 +00:00
Pierangelo Masarati
9a47e3c81a
use lutil_ato*() whenever appropriate
2005-11-24 01:44:29 +00:00
Pierangelo Masarati
c7ae6680f2
don't expose unnecessary symbols :)
2005-11-24 01:21:34 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Pierangelo Masarati
654181d8d5
silence debug messages
2005-11-24 01:00:28 +00:00
Howard Chu
7a46ab6e04
ITS#4201 undo all bdb_db_open() steps if any step fails.
2005-11-23 23:57:40 +00:00
Pierangelo Masarati
0fd295a321
first round of number/time parsing fixes
2005-11-23 17:29:16 +00:00
Hallvard Furuseth
6b93c656a1
Fix olcChainConfig definition when !LDAP_CONTROL_X_CHAINING_BEHAVIOR
2005-11-23 10:49:47 +00:00
Pierangelo Masarati
990b435ce0
fix return attributes (ITS#4203)
2005-11-23 10:04:33 +00:00
Pierangelo Masarati
59c4fb1fcd
"relax" previous commit; don't leave locks 'round (ITS#4204)
2005-11-23 09:35:44 +00:00
Pierangelo Masarati
de31e7aa91
quick fix to ITS#4204
2005-11-23 08:47:48 +00:00
Pierangelo Masarati
c580a4182e
make controls as strict as possible
2005-11-23 02:01:51 +00:00
Pierangelo Masarati
478360925b
add some integrity checks on input, without changing syntax nor semantics (ITS#4199)
2005-11-23 01:15:01 +00:00
Pierangelo Masarati
51ebb4ee99
prepare log line
2005-11-23 01:13:39 +00:00
Pierangelo Masarati
c1a845165e
add a comment about reworking compare
2005-11-22 19:05:43 +00:00
Pierangelo Masarati
23d893b4cc
run thru the list also in case of FALSE
2005-11-22 18:28:07 +00:00
Pierangelo Masarati
e83f0f900b
set the berval length\! (ITS#4196)
2005-11-22 12:13:07 +00:00
Pierangelo Masarati
133a673e65
don't return matchedDN in the case described in ITS#4195
2005-11-22 11:13:14 +00:00
Howard Chu
3192c5ffc4
ITS#4192 (reverts ITS#4035 patch) always use "cn=config" as the underlying
...
DB's rootDN independently of the configured back-config rootDN.
2005-11-22 10:53:15 +00:00
Howard Chu
575f6e2251
Fix ITS#4194, require config dir to be usable if only -F is specified.
2005-11-22 10:11:06 +00:00
Howard Chu
d0b70826d4
Fix prev commit, don't touch logDB in tool mode at all.
2005-11-22 09:09:52 +00:00
Howard Chu
f2ee760e92
Create auditContainer object automatically.
2005-11-21 05:38:50 +00:00
Howard Chu
9ca041c9a6
Fix retry on stale cookie result
2005-11-21 05:38:28 +00:00
Howard Chu
2b9c8076cc
In hdb_dn2idl_internal, skip cursor get when dkids == 1
2005-11-20 22:32:39 +00:00
Howard Chu
12d2901162
More for ITS#3939
2005-11-20 22:14:57 +00:00
Howard Chu
3429c5a566
ITS#4186 hdb_idl_append() must not alter the tmp input.
2005-11-20 22:02:41 +00:00
Pierangelo Masarati
64156a68b2
fix dumb var initialization
2005-11-20 19:55:07 +00:00
Pierangelo Masarati
4c92090e87
fix compilation when the chaining control is undefined
2005-11-20 19:28:03 +00:00
Howard Chu
3167b29812
Fix back-bdb inequality_candidates to use unchecked limit.
...
Fix syncprov_findcsn to set unchecked limit. (ITS#3939)
2005-11-20 10:39:05 +00:00
Pierangelo Masarati
3bea8f5836
remove pointless test & var
2005-11-20 09:23:43 +00:00
Pierangelo Masarati
4852bf8a58
don't care about empty matched/text #ifdef LDAP_NULL_IS_NULL
2005-11-20 01:59:26 +00:00
Pierangelo Masarati
01bea97a26
don't leak temporary URLs
2005-11-20 01:58:19 +00:00
Pierangelo Masarati
754e59543d
cleanup
2005-11-20 01:39:19 +00:00
Pierangelo Masarati
fbb31b58a1
yet another fix to previous commit
2005-11-20 00:29:35 +00:00
Pierangelo Masarati
b85b28275f
fix previous commit
2005-11-20 00:08:50 +00:00
Pierangelo Masarati
d71a3add92
fix typo in write timeouts argnumbers
2005-11-19 23:23:18 +00:00
Pierangelo Masarati
5bd95600de
allow the chain overlay and the underlying databases to be loaded via back-config
2005-11-19 23:22:50 +00:00
Pierangelo Masarati
39d721504a
plug one-time leaks
2005-11-19 18:44:54 +00:00
Pierangelo Masarati
6d7689b7e3
check we don't exceed userland with config param bits
2005-11-19 18:01:28 +00:00
Pierangelo Masarati
3e7fd464dc
streamline back-ldap/slapo-chain configuration; add the possibility to cache non-configured, anonymous referral URIs
2005-11-19 17:48:33 +00:00
Pierangelo Masarati
7fa4b159bf
fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta
2005-11-19 15:00:50 +00:00
Pierangelo Masarati
1e66d540e1
cleanup for (ITS#4180); has nothing to do with the solution yet...
2005-11-19 14:58:47 +00:00
Pierangelo Masarati
14e2726cce
rework typedefs for functions
2005-11-19 14:58:04 +00:00
Pierangelo Masarati
f4781b1527
minor schema parsing cleanup
2005-11-19 14:57:25 +00:00
Pierangelo Masarati
5d83746abf
improve previous commit; same fix required by objectClasses (ITS#4185)
2005-11-19 00:33:19 +00:00
Pierangelo Masarati
4d3fe81780
roll-back inserts in AVL tree; put back original OID macro in case of error (ITS#4185)
2005-11-19 00:24:04 +00:00
Pierangelo Masarati
aac978d8f9
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:20:01 +00:00
Pierangelo Masarati
55c52c5c72
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:00:39 +00:00
Pierangelo Masarati
429a6f5353
fix wrong response tags (ITS4182; consequence of fixing ITS#4173)
2005-11-17 23:52:56 +00:00
Kurt Zeilenga
79ef5e812f
Fix typo in last commit -- shorten message by removing
...
extraneous information
2005-11-17 22:57:11 +00:00
Pierangelo Masarati
99b450dc00
don't accept modify operations with no modifications (ITS#4183)
2005-11-17 22:45:32 +00:00
Pierangelo Masarati
b2c4a3be6a
fix size limit count (ITS#4181)
2005-11-17 18:55:47 +00:00
Howard Chu
640f33a267
Fix threads vs tool_threads settings
2005-11-17 11:25:48 +00:00
Howard Chu
1340530e41
Fix missing error text
2005-11-17 08:40:46 +00:00
Pierangelo Masarati
28aca605c7
more URI into bindconf
2005-11-16 21:52:14 +00:00
Howard Chu
c5cf54dddf
Fix Add password_hash to not depend on password quality configuration
2005-11-16 18:51:56 +00:00
Pierangelo Masarati
86fc534c8f
improve fix to ITS#4173
2005-11-16 15:58:18 +00:00
Pierangelo Masarati
dd2afd3e3e
refine previous commit...
2005-11-16 14:20:45 +00:00
Pierangelo Masarati
917b77fff1
fix matched handling of slapd-ldap/slapo-chain (ITS#4176)
2005-11-16 14:17:19 +00:00
Howard Chu
a9c95d36be
ITS#4175 wait for worker threads to be ready
2005-11-16 03:22:21 +00:00
Pierangelo Masarati
1762f730fc
partially revert commit
2005-11-16 00:49:54 +00:00
Kurt Zeilenga
8688a96b9f
Additional error detail
2005-11-15 22:45:44 +00:00
Pierangelo Masarati
48ecc89890
don't muck with SlapReply during response (ITS#4173)
2005-11-15 18:27:40 +00:00
Pierangelo Masarati
4dcccd3ca2
valgrind keeps complaining (it makes sense) but the bus error problem disappeared
2005-11-14 23:14:31 +00:00
Pierangelo Masarati
af23be3675
silence warnings...
2005-11-14 21:47:17 +00:00
Howard Chu
a1830a3cd0
Fix for syncprov checkpoint CSN disposal
2005-11-14 19:38:48 +00:00
Pierangelo Masarati
6495247869
initialize back-monitor only if configured (so resources get released at shutdown)
2005-11-14 19:28:28 +00:00
Pierangelo Masarati
e88c4b48e3
don't leak fakeroot save_attrs
2005-11-14 19:16:00 +00:00
Pierangelo Masarati
fe59b0be6e
reset freed resources
2005-11-14 18:38:58 +00:00
Pierangelo Masarati
144ad3657e
handle empty parent (related to ITS#4171)
2005-11-14 18:21:55 +00:00
Hallvard Furuseth
dbb2ceac90
Fix ber_bvchr() vs assert() logic. Declare missing variable for code in #if 0.
2005-11-14 16:23:55 +00:00
Pierangelo Masarati
2bf647fa16
re-fix cast and logic
2005-11-14 15:02:14 +00:00
Hallvard Furuseth
bfd221ae46
Fix void* pointer arithmetic from ber_bvchr()
2005-11-14 14:46:38 +00:00
Hallvard Furuseth
82c73ef51a
Fix pointer cast in assignment
2005-11-14 14:43:25 +00:00
Hallvard Furuseth
aa37b27ab3
Remove unused declaration bdb_tool_ix_rec() and variable bdb
2005-11-14 14:40:01 +00:00
Pierangelo Masarati
1cef82abe9
return the position of the failing verb
2005-11-14 11:23:44 +00:00
Pierangelo Masarati
474dfbc8fd
don't trust strchr/strrchr with bervals
2005-11-13 22:26:53 +00:00
Pierangelo Masarati
910ee45f01
use pooled memory whenever appropriate
2005-11-13 21:51:13 +00:00
Pierangelo Masarati
6eaf2b1ec4
add overlay config schema registry
2005-11-12 16:32:19 +00:00
Howard Chu
ee8a946e8f
Fix Win32 typos
2005-11-12 08:18:28 +00:00
Howard Chu
a028353ca1
declare waking volatile. perhaps it should only be used when NO_THREADS
...
is defined.
2005-11-12 08:11:11 +00:00
Pierangelo Masarati
78bd3bf6a3
handle LDAPv2 when returning timelimit; silence warning
2005-11-11 09:54:07 +00:00
Howard Chu
a88bfa6a08
Rename getline to avoid stdio conflict
2005-11-10 21:25:01 +00:00
Pierangelo Masarati
e108ff00b9
fix log
2005-11-10 12:57:42 +00:00
Pierangelo Masarati
0e1f737774
reset request DN after free; confuses global overlays
2005-11-10 03:42:44 +00:00
Pierangelo Masarati
4537065ffc
further isolation and cleanup of ACI code
2005-11-10 00:52:43 +00:00
Pierangelo Masarati
cbdaf8058f
silence warning
2005-11-10 00:33:19 +00:00
Pierangelo Masarati
d959a7a7b5
add some sanity checks...
2005-11-09 17:08:11 +00:00
Pierangelo Masarati
5ef53ec9e5
fix group/role check (should address ITS#4106)
2005-11-09 16:33:51 +00:00
Pierangelo Masarati
93abd4c616
cannot happen...
2005-11-09 12:58:57 +00:00
Pierangelo Masarati
6315ac9db6
tools log level defaults to "none", so that messages logged with LDAP_DEBUG_ANY show up by default; use "-d 0" to reset (addresses ITS#4044)
2005-11-09 11:53:34 +00:00
Pierangelo Masarati
d88ea9d609
don't open pid/args files in one-shot mode (ITS#4152); bail out if files cannot be opened (port slapd's fix to ITS#4074)
2005-11-09 10:17:04 +00:00
Pierangelo Masarati
1145840994
remove from AVL before freeing...
2005-11-09 03:28:55 +00:00
Pierangelo Masarati
2132b8d57e
plug yet another one time leak
2005-11-09 02:52:28 +00:00
Pierangelo Masarati
2e6cd12216
plug one time leak
2005-11-09 02:48:37 +00:00
Pierangelo Masarati
82d3fbf4e3
fix previous commit
2005-11-09 02:40:34 +00:00
Howard Chu
146b2c5389
ITS#4082 tls ctx requirements are only applicable to servers, or clients
...
with tls_opt_require_cert = TRY or DEMAND. Ignore requirements for clients.
2005-11-08 13:42:10 +00:00
Pierangelo Masarati
419d2925b1
restore the existing BackendDB, in case overlays are in use
2005-11-08 10:09:30 +00:00
Howard Chu
ea92291cb6
ITS#4158 still more
2005-11-08 09:53:38 +00:00
Pierangelo Masarati
255112e702
gdb is much more clever with enums...
2005-11-08 00:40:20 +00:00
Pierangelo Masarati
52db580cdb
error if syncUUID is empty
2005-11-08 00:03:58 +00:00
Howard Chu
6f9aa99d0c
ITS#4158 move SASL bind finalization to bind_cb.
2005-11-07 23:38:52 +00:00
Pierangelo Masarati
1faf38448b
fix root entry delete/add
2005-11-07 01:08:41 +00:00
Pierangelo Masarati
3019716578
fix invalid read
2005-11-07 01:07:59 +00:00
Pierangelo Masarati
d0ca539cc9
fix num args in Debug()
2005-11-06 23:37:52 +00:00
Pierangelo Masarati
7efa22c2b7
fix type issue
2005-11-06 23:34:33 +00:00
Pierangelo Masarati
bdb661440b
fix operational attrs addition
2005-11-06 23:34:03 +00:00
Pierangelo Masarati
dbb88f203b
fix root entry deletion
2005-11-06 23:33:41 +00:00
Pierangelo Masarati
40cac2e37a
fix access checking; fix operational attrs addition
2005-11-06 23:32:52 +00:00
Pierangelo Masarati
4cab386d13
backport write operation timeouts from back-meta to back-ldap; minor cleanup & silence warnings
2005-11-06 23:29:10 +00:00
Pierangelo Masarati
fc2912ba92
move bindconf_[un]parse() into generic API
2005-11-06 23:28:54 +00:00
Pierangelo Masarati
a6453f28f8
silence warnings
2005-11-06 23:27:09 +00:00
Pierangelo Masarati
fd1b1a53f2
add matchedDN; fix and clarify behavior when searching in-directory entries
2005-11-06 23:26:42 +00:00
Kurt Zeilenga
4f63434511
Improve SASL error handling
2005-11-06 22:43:23 +00:00
Howard Chu
0f2ee54e20
ITS#4151 remove extraneous sasl_bind_in_progress manipulation
2005-11-06 04:02:13 +00:00
Howard Chu
ee8bea214a
Fix ITS#4151 - set sasl_bind_in_progress in bind_cb
2005-11-05 22:35:40 +00:00
Pierangelo Masarati
852e4e3109
allow per-target retry in searches; taint invalid connections; don't massage the pseudorootdn (ITS#4150)
2005-11-05 14:44:43 +00:00
Howard Chu
19f6e2d943
ITS#4148 fix replica mods
2005-11-05 08:50:16 +00:00
Pierangelo Masarati
29dfcec866
reverse previous commit
2005-11-04 20:00:03 +00:00
Pierangelo Masarati
acb17be789
fix size/time limit (ITS#4145)
2005-11-04 12:42:39 +00:00
Pierangelo Masarati
a00f337acd
partially revert previous commit
2005-11-04 07:57:54 +00:00
Howard Chu
8f7fbfe60a
ITS#4143 bdb_tool_info should only be non-NULL for QUICK index/add
2005-11-04 02:52:14 +00:00
Pierangelo Masarati
d170fae411
improve previous commit
2005-11-04 01:44:44 +00:00
Pierangelo Masarati
1ec4cf7bba
add a giant mutex around the ldapinfo structure to serialize chaining (need to check for deadlocks...)
2005-11-04 01:42:11 +00:00
Pierangelo Masarati
a9067fc056
free values in case of error
2005-11-04 01:29:48 +00:00
Pierangelo Masarati
a1a68333dc
only add opattrs if not shadow; use helper to extract rdn
2005-11-04 01:27:31 +00:00
Pierangelo Masarati
1249fa93d5
plug one-time leak
2005-11-03 22:51:27 +00:00
Howard Chu
91b3f49d5f
ITS#4128 revert prev fixes, alternate fix used.
2005-11-03 21:56:33 +00:00
Pierangelo Masarati
d3a2a42e85
fix previous commit (addresses ITS#4139)
2005-11-03 21:48:46 +00:00
Howard Chu
06c96f6cf1
Cleanup
2005-11-03 20:38:51 +00:00
Howard Chu
27b197c36d
ITS#4128 use backend_db_init
2005-11-03 20:34:45 +00:00
Howard Chu
c5b44f3660
ITS#4128 use backend_db_init to init the private backend
2005-11-03 20:31:11 +00:00
Kurt Zeilenga
e470116ab3
fix -USLAP_LIGHTWEIGHT_DISPACTHER sl_busy issue
2005-11-03 18:50:04 +00:00
Pierangelo Masarati
0207dcd3f9
import leak plug from slapo-rwm
2005-11-03 15:20:33 +00:00
Pierangelo Masarati
2f63454973
don't leak on exit
2005-11-03 15:08:23 +00:00
Pierangelo Masarati
ac6b3e1415
don't leak massaged referral DN
2005-11-03 14:06:26 +00:00
Pierangelo Masarati
e2b87791ac
release entry, if required; release mapping resources as appropriate on exit
2005-11-03 13:34:43 +00:00
Howard Chu
11f6938162
ITS#4136 fix prev commit
2005-11-03 12:45:57 +00:00
Pierangelo Masarati
2a24cbb5e8
don't leak text/matched
2005-11-03 11:58:06 +00:00
Howard Chu
f7ebf67355
ITS#4135 fix prev commit
2005-11-03 02:40:52 +00:00
Kurt Zeilenga
ecd86725f2
Update result code to IANA-assigned values
...
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
e0ec0a21c2
ITS#4134 additional fix
2005-11-03 00:51:57 +00:00
Howard Chu
f8815bf833
ITS#4099, protect hosts_ctl with tcpd_mutex. From richton@nbcs.rutgers.edu.
2005-11-03 00:47:25 +00:00
Howard Chu
82db113f32
ITS#4134 delete pwdFailureTime on password reset
2005-11-03 00:35:46 +00:00
Howard Chu
9ee48976e2
ITS#4135 remove client socket from frontend control before unbinding
2005-11-03 00:15:50 +00:00
Howard Chu
30869197f8
Fix fastpath for internal clients (e.g. syncrepl) too.
2005-11-02 00:15:41 +00:00
Howard Chu
44fcfb9ed3
Fix fastpath for single-op dispatching
2005-11-01 23:53:01 +00:00
Pierangelo Masarati
7949808924
plug one-time leaks
2005-11-01 18:12:14 +00:00
Pierangelo Masarati
757c34ee4b
s/sprintf/snprintf/
2005-11-01 17:50:57 +00:00
Pierangelo Masarati
22ca0e457e
cleanup
2005-11-01 17:05:32 +00:00
Pierangelo Masarati
7146f4e21f
don't leak matchedDN
2005-11-01 16:47:17 +00:00
Pierangelo Masarati
3cb2bc0c56
various cleanup
2005-11-01 16:36:17 +00:00
Howard Chu
948e19e132
ITS#4132 reset CACHE_ENTRY_ONELEVEL when complete. Fell out from a bad merge.
2005-11-01 15:52:44 +00:00
Howard Chu
dbf69a6ff5
Fix prev commit
2005-11-01 15:44:51 +00:00
Howard Chu
0a509c9c07
Free bind callback
2005-11-01 15:11:54 +00:00
Pierangelo Masarati
3fd5e683f2
fix size of connection array (ITS#4131)
2005-11-01 14:12:12 +00:00
Pierangelo Masarati
cedb88c373
eat up values of removed attrs
2005-11-01 13:42:51 +00:00
Pierangelo Masarati
d3f33d8139
better fix: in case of error during bind, just bail out (very conservative, though)
2005-11-01 11:00:55 +00:00
Pierangelo Masarati
e60d7c7f24
fix incorrect bind error (ITS#4129)
2005-11-01 09:47:30 +00:00
Pierangelo Masarati
e725c8488a
allow descriptions in -d for tools as well; test as much as possible about pid/args files in slaptest
2005-10-31 18:48:12 +00:00
Pierangelo Masarati
e3b9448bd7
allow the "none" log level
2005-10-31 17:46:03 +00:00
Pierangelo Masarati
ea0047295c
fix usage
2005-10-31 16:40:11 +00:00
Pierangelo Masarati
93a6a3647f
check length (FIXME: snprintf return value may not be portable?)
2005-10-31 16:23:27 +00:00
Pierangelo Masarati
0dc6ef59ad
cleanup namespace (ITS#423)
2005-10-31 16:08:33 +00:00
Pierangelo Masarati
183b696e76
address ITS#4127 (please review)
2005-10-31 16:00:51 +00:00
Pierangelo Masarati
48432b1a8d
more about ITS#4128; please review
2005-10-31 15:33:30 +00:00
Pierangelo Masarati
217489bd90
address ITS#4128; please review
2005-10-31 15:27:26 +00:00
Howard Chu
3d60d71ad2
Partial fix for ITS#3850, stop spurious "deferring: binding" messages.
...
Make sure conn state is reset before reply reaches client. Hang still
occurs in RE22, not in RE23.
2005-10-30 09:53:15 +00:00
Howard Chu
fcd3058f83
Fix slap_callback processing, make sure it's safe for callbacks to
...
delete themselves at any time.
2005-10-30 09:50:48 +00:00
Howard Chu
9edea08357
Fix uninit'd rc
2005-10-30 07:42:08 +00:00
Howard Chu
98969cc28e
Fix epoll, just handle wake events in the order they arrived.
2005-10-30 00:50:59 +00:00
Kurt Zeilenga
91db8ccffe
Add commented-out 'top'
2005-10-29 23:36:57 +00:00
Howard Chu
e131aa424b
ITS#4108 fix another accept/read race condition
2005-10-29 15:16:35 +00:00
Pierangelo Masarati
67397c46be
do not return success; frontend already does (ITS#4122)
2005-10-29 12:49:57 +00:00
Howard Chu
1f0e2f8944
Fix debug msg
2005-10-29 04:24:23 +00:00
Howard Chu
4bb234bac8
ITS#4108 Cleanup accept/close race conditions.
2005-10-29 04:17:56 +00:00
Howard Chu
638b84db6e
Cleanup, fix ITS#4120
2005-10-29 02:06:32 +00:00
Howard Chu
4f302fd197
Fix ITS#4119, option char left over after rev 1.185
2005-10-28 22:55:22 +00:00
Howard Chu
4ebed09d81
ITS#4017, additional revisions for DH parameters
2005-10-28 05:35:19 +00:00
Howard Chu
39f39fcb44
reqMod / reqOld must be OctetString to accomodate all possible values
2005-10-28 03:31:04 +00:00
Howard Chu
3200892a95
ITS#4111 fix mask_to_verbs return value
2005-10-28 01:57:40 +00:00
Howard Chu
675cda1b62
Use #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
...
now, it appears to just slow things down.
2005-10-27 13:57:48 +00:00
Howard Chu
8d0ed89832
Fix cache flush / retry sequencing
2005-10-27 13:38:21 +00:00
Howard Chu
d85cb6efbb
Revert to previous IDL cache scheme. Doesn't seem to help much in
...
the threaded case, may be best without it.
2005-10-27 12:00:26 +00:00
Howard Chu
f94968fb5b
Multi-threaded slapindex
2005-10-27 10:34:33 +00:00
Howard Chu
fc621a1c78
Add tool-threads config keyword, init thread pool in tool mode.
2005-10-27 09:29:42 +00:00
Howard Chu
b3c3335418
Fix IDL caching
2005-10-27 01:41:34 +00:00
Howard Chu
888731e6c3
Use sorted array for indexed attrs instead of AVL tree
2005-10-26 08:31:38 +00:00
Howard Chu
08cc40317b
Fix notags/nosubtypes handling
2005-10-26 06:36:34 +00:00
Howard Chu
b67c0123d2
Better IDL cache allocation
2005-10-26 05:24:41 +00:00
Pierangelo Masarati
cfa2eefe3c
fix previous commit
2005-10-25 14:50:05 +00:00
Howard Chu
2f9965c32b
Lower id2entry cache priority in tool mode
2005-10-25 10:54:04 +00:00
Howard Chu
8a69f642b8
hdb doesn't need to fix DNs for slapindex
2005-10-25 08:40:01 +00:00
Pierangelo Masarati
8a5a1ab39f
fix handling of invalid DN-valued attrs (ITS#4107)
2005-10-24 20:22:08 +00:00
Howard Chu
8f5ea1f1d2
substring indexing optimization
2005-10-23 22:38:15 +00:00
Howard Chu
34e154e28b
Add IDL caching for slapadd/slapindex quick mode
2005-10-22 21:41:58 +00:00
Pierangelo Masarati
3ee954de81
fix custom group objectclass/member attribute parsing; let ACI code be built as dynamic module
2005-10-20 23:20:10 +00:00
Howard Chu
a14fd7cc3b
Cleanup unused def
2005-10-18 21:36:06 +00:00
Howard Chu
ed5e8db572
Eliminate long-lived read transaction, we can just set a cursor's locker
...
ID explicitly to our long-lived locker. Should have thought of this before...
2005-10-18 21:35:07 +00:00
Howard Chu
8f7da062f5
ITS#4088 force cursors to use same locker
2005-10-18 20:52:04 +00:00
Kurt Zeilenga
dc616c771f
managedit should be explicitly hidden (it was hidden behind LDAP_DEVEL).
2005-10-17 20:36:21 +00:00
Howard Chu
656c6011bb
Fix epoll, slapd_remove gets called multiple times for the same descriptor.
...
Ignore subsequent calls.
2005-10-17 17:31:48 +00:00
Howard Chu
625e30929c
More matching rules
2005-10-17 12:25:36 +00:00
Howard Chu
c15a509f92
More schema tweaks
2005-10-17 12:19:26 +00:00
Howard Chu
3a47092d3f
Change ModDN back to ModRDN. Legacy...
2005-10-17 11:40:20 +00:00
Howard Chu
0265f85fba
Schema tweaks
2005-10-17 11:38:13 +00:00
Howard Chu
f46ffc3c6a
Fix Bind/Unbind logging, align Search scopes with RFC2255
2005-10-17 08:32:29 +00:00
Howard Chu
6e2c36b03d
Fix noop behavior, don't same TXN twice. Use consistent return code.
2005-10-17 08:09:28 +00:00
Kurt Zeilenga
5c125d19a9
Revise last commit
2005-10-16 20:38:48 +00:00
Kurt Zeilenga
964aa48c37
Fix TLS/SASL handling in new lightweight dispatcher
2005-10-16 20:33:01 +00:00
Kurt Zeilenga
24efc30873
Move slapd_set_read before return
...
(likely wake should be after... hmmm....)
2005-10-16 17:36:30 +00:00
Pierangelo Masarati
d277c5b3d6
silence SLAP_SEM_LOAD_CONTROL related warnings...
2005-10-16 08:58:06 +00:00
Howard Chu
c44210a8bf
ITS#4088 proposed fix
2005-10-16 07:37:36 +00:00
Kurt Zeilenga
c961673d9e
Add descr # to epoll_ctl failed error message
2005-10-16 06:41:55 +00:00
Kurt Zeilenga
533394d641
disable SLAP_SEM_LOAD_CONTROL by default, needs additional review/work
...
Misc. other cleanup
2005-10-16 00:17:58 +00:00
Howard Chu
37e58a73a4
Revert prev commit, use -g option to disable glue instead
2005-10-15 21:52:01 +00:00
Howard Chu
10a696bd15
ITS#4089 use slapcat -n XX to specify just the superior of a glued tree
2005-10-15 20:08:56 +00:00
Pierangelo Masarati
bd5706d8e5
complete fix of slapd-monitor log modify (ITS#4091)
2005-10-15 17:37:18 +00:00
Pierangelo Masarati
57df4bf9c2
fix log level modification via slapd-monitor (ITS#4091)
2005-10-15 15:43:53 +00:00
Pierangelo Masarati
a16521ed4e
fix error message for invalid "uri" args
2005-10-15 12:33:04 +00:00
Kurt Zeilenga
9bc19c5232
Revised lightweight dispatcher -- writers moved into worker threads
...
Presently spawns operations in separate thread to ease clr_read/wake handling.
Seems to perform reasonable well...
2005-10-15 06:54:55 +00:00
Howard Chu
4f4d91d8a9
Fix fallback retries
2005-10-15 06:14:12 +00:00
Howard Chu
1872357e3b
Trim down delta attr list
2005-10-15 05:37:10 +00:00
Howard Chu
f2f948ddf8
Fix delta deletes
2005-10-15 05:13:28 +00:00
Howard Chu
1bd689d5d0
Use generic filter for findbase
2005-10-15 05:13:05 +00:00
Howard Chu
8c8e6293f9
The rest of the reloadHint support...
2005-10-15 03:27:05 +00:00
Howard Chu
17a7ce8de5
Better delta syncrepl support, fallback to full refresh.
2005-10-15 03:26:31 +00:00
Howard Chu
711c702943
Send reloadHint TRUE by default
2005-10-15 00:43:47 +00:00
Howard Chu
d98dee3e19
Add option to enable using the reloadHint. 2.2 consumers never sent this
...
hint. The 2.3 consumer needs it for delta-syncrepl.
2005-10-15 00:31:22 +00:00
Howard Chu
df27731f66
Do some rough bounds checks on the age
2005-10-14 23:29:42 +00:00
Pierangelo Masarati
4744733638
don't copy o_ndn into lc_bound_ndn, otherwise we end up in a bind with DN but no password\!
2005-10-14 23:25:57 +00:00
Howard Chu
860bd2d6a8
Extend age buffer
2005-10-14 23:24:34 +00:00
Howard Chu
4277658ea6
Remove two-digit limitation on days in log purge interval
2005-10-14 23:18:12 +00:00
Kurt Zeilenga
577bfc477e
More cleanup
2005-10-14 22:04:03 +00:00
Kurt Zeilenga
ce96e57298
cleanup
2005-10-14 21:46:44 +00:00
Kurt Zeilenga
40ff060f83
cleanup
2005-10-14 21:37:14 +00:00
Pierangelo Masarati
dfa28bfb41
bail out on invalid pid/args file(s) (ITS#4074); slaptest needs work yet
2005-10-14 21:21:27 +00:00
Kurt Zeilenga
2dfd312fa1
Move connectionless connection init to startup (may not be in the
...
optimal place yet) to simply event management. Needs testing.
Place revent clear calls immediately upon handling of event
(before any work).
Misc. other cleanup
2005-10-14 20:48:01 +00:00
Kurt Zeilenga
e21bba89db
cleanup
2005-10-14 18:47:32 +00:00
Hallvard Furuseth
0bf486b82e
Remove unused variable (modtail in fe_op_modify())
2005-10-14 13:01:14 +00:00
Hallvard Furuseth
78873370c8
constify berval arg to load_extop(), to match usage
2005-10-14 12:57:07 +00:00
Hallvard Furuseth
f21a6f7ef3
Add missing ";" in SLAP_SOCK_SET_INIT
2005-10-14 12:53:14 +00:00