Howard Chu
b15a72caec
ITS#3931 fix dnRelativeMatch return values
2005-08-14 23:08:20 +00:00
Howard Chu
f4c1eee382
ITS#3935 tweak sessionlog description
2005-08-14 08:35:31 +00:00
Howard Chu
9326c2b313
ITS#3845 allow rootpw to be used for rootdn SASL binds, based on
...
patch from Jason Townsend
2005-08-14 08:00:54 +00:00
Hallvard Furuseth
9873eb7ab0
Add missing Statslog() statements (loglevel stats/stats2):
...
"ABANDON", "STARTTLS", "CANCEL", "WHOAMI", "PASSMOD", "EXT", "INTERM",
"TLS established", SASL and Extended Response "RESULT".
In Statslog output "conn=xx fd=yy closed", append the reason in
"()" unless client or server closed the connection after Unbind.
Still missing Statslog output from a number of failed requests.
2005-08-14 00:14:58 +00:00
Hallvard Furuseth
a222469d0d
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-08-13 21:10:41 +00:00
Pierangelo Masarati
f6ef5170fa
personally, I'm much more comfortable using hex for log levels...
2005-08-13 16:04:40 +00:00
Howard Chu
0246338206
utime is not needed here any more
2005-08-13 13:18:00 +00:00
Howard Chu
c722dd9ca8
Rework auto-recovery logic:
...
Removes ITS#3824 patch.
Adds trace message for ITS#3833.
Streamlines ITS#3607 patch.
2005-08-13 12:59:45 +00:00
Kurt Zeilenga
eceb493bc0
Use IANA assigned OIDs
2005-08-12 21:24:13 +00:00
Kurt Zeilenga
7dec65ee10
Replace 666 OIDs for Assertion/pre-read/post-read controls with
...
appropriate IANA assigned OIDs, and remove hide.
2005-08-12 18:08:15 +00:00
Pierangelo Masarati
7b9173d0bb
should compile also when #undef HAVE_TLS
2005-08-12 10:51:39 +00:00
Pierangelo Masarati
a23466f64a
should compile also when #undef HAVE_TLS
2005-08-12 10:49:55 +00:00
Pierangelo Masarati
e93c8f18d4
minor cleanup
2005-08-11 23:53:52 +00:00
Pierangelo Masarati
d10250d9f6
add authzSyntax for authzTo/authzFrom attributes; add X-ORDERED 'VALUES' if support for ordered_value_{validate,pretty,normalize} is present; exploit normalization in slap_parseURI (only #ifdef LDAP_DEVEL)
2005-08-11 23:52:17 +00:00
Pierangelo Masarati
53a4d530d9
plug one-time leak
2005-08-11 23:35:47 +00:00
Pierangelo Masarati
2b93e9b376
wrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL)
2005-08-11 23:35:15 +00:00
Pierangelo Masarati
53921b2c1a
fix error message
2005-08-11 21:02:32 +00:00
Pierangelo Masarati
6cd013b254
silence warning
2005-08-11 19:32:28 +00:00
Pierangelo Masarati
c6e2a69f27
fix tls propagation, including rebind
2005-08-11 16:01:24 +00:00
Pierangelo Masarati
e9cb5b0efb
don't get tricked when option separator occurs past end of berval
2005-08-11 02:09:03 +00:00
Howard Chu
ba0996f1c1
ITS#3929 "test -e" doesn't exist on Solaris
2005-08-11 00:27:59 +00:00
Howard Chu
99e2e5d886
Move ldap_pvt_thread_initialize() earlier. (See -devel; same as ITS#3793)
2005-08-10 23:19:47 +00:00
Pierangelo Masarati
0db4013fb0
temporarily fix SLAPD_OVERLAY_ACCESS conflict
2005-08-10 18:53:21 +00:00
Pierangelo Masarati
98363b43a6
enable syncrepl support by default
2005-08-10 16:54:45 +00:00
Howard Chu
6c21412122
Fix backend selection diagnostics
2005-08-10 11:26:32 +00:00
Pierangelo Masarati
f8407435cc
cleanup
2005-08-10 10:25:24 +00:00
Pierangelo Masarati
f38e72b26c
trim use of uninitialized data; please review
2005-08-10 10:21:37 +00:00
Hallvard Furuseth
d50820cdd6
Read LDAPResult.resultCode & ModifyRequest.modification.operation
...
and send SortResult.sortResult as BER ENUMERATED, not BER INTEGER.
libldap: ldap_parse_extended_result, try_read1msg, build_result_ber,
ldap_parse_sasl_bind_result. slapd: do_modify, send_ldap_controls.
2005-08-10 00:54:38 +00:00
Luke Howard
3647cba131
ITS#3924
...
Also, fix slapi_dn_parent() crasher
2005-08-09 05:28:58 +00:00
Pierangelo Masarati
eae2233d0c
don't leak in case of attribute not found
2005-08-09 03:39:12 +00:00
Luke Howard
2e36d49a73
Fix slapi_str2entry()/slapi_entry2str() allocation
2005-08-09 02:56:21 +00:00
Luke Howard
6461a5b7fd
ITS#3924
2005-08-09 02:12:18 +00:00
Howard Chu
c30992f05e
ITS#3922 don't leak ber buffer on decode/parse errors
2005-08-09 00:26:39 +00:00
Howard Chu
28be8691cc
ITS#3922 plug another cookie parsing leak
2005-08-09 00:11:42 +00:00
Howard Chu
0b2a428a29
ITS#3917 don't check csn syntax if schema isn't inited yet
2005-08-08 23:56:40 +00:00
Howard Chu
a99e5846b3
ITS#3917 revert prev commit
2005-08-08 23:45:29 +00:00
Pierangelo Masarati
9f1703d0d3
more (in)sanity stuff
2005-08-08 22:49:54 +00:00
Hallvard Furuseth
f927b77456
Remove unused variables in config_updatedn()
2005-08-08 22:35:38 +00:00
Hallvard Furuseth
64512ad4d7
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-08-08 22:25:56 +00:00
Hallvard Furuseth
7843e7fbb2
Destroy monitor_info.mi_cache_mutex
2005-08-08 21:29:13 +00:00
Pierangelo Masarati
c984c229d6
plug more one-time leaks; rearrange subsystems setup
2005-08-08 20:45:10 +00:00
Hallvard Furuseth
b1e4b27388
#include <ac/ctype.h>, needed by last commit
2005-08-08 20:19:25 +00:00
Pierangelo Masarati
b286c9264b
plug another one-time leak
2005-08-08 20:01:04 +00:00
Pierangelo Masarati
64af435895
ITS#3914 bug was very close to that leak: rwm_dnattr_rewrite() already freed the original value (all this stuff may need work)
2005-08-08 19:49:48 +00:00
Pierangelo Masarati
47351e3b5c
fix yet another leak (not related to ITS#3914, though)
2005-08-08 19:41:10 +00:00
Hallvard Furuseth
3142c03e5a
Fix typo in previous commit (slapi_dn.c -> slapi_dn.lo)
2005-08-08 14:30:34 +00:00
Pierangelo Masarati
cccf35c749
allow textual log levels in command line
2005-08-08 14:01:40 +00:00
Luke Howard
d463430295
Remove slapi_x_be_select()
2005-08-08 13:26:02 +00:00
Luke Howard
d96f3615b3
New file - slapi_dn.c
2005-08-08 13:25:24 +00:00
Luke Howard
7d557f0b0d
Add Slapi_DN API
2005-08-08 13:24:18 +00:00
Howard Chu
ae8a333bc8
ITS#3917 init schema before parsing args
2005-08-08 12:51:38 +00:00
Howard Chu
9365649dad
ITS#3922 fix syncrepl ctxcsn leak
2005-08-08 12:38:19 +00:00
Luke Howard
3858ce0728
Add slapi_x_be_select() (to be replaced with slapi_be_select() when
...
we support Slapi_DN API)
2005-08-08 11:01:39 +00:00
Luke Howard
ef81368404
Don't return frontend as SLAPI_BACKEND, return actual backend instead
...
for compat with 2.2 plugins
Add a couple of backend SLAPI APIs
2005-08-08 09:33:02 +00:00
Luke Howard
17ffdc07b6
Don't decrement descriptor count until we have checked connection is not UDP
2005-08-08 03:44:17 +00:00
Luke Howard
0dd503a339
Add missing break statement in switch for SLAPI_SEARCH_ATTRS handler
2005-08-08 03:39:00 +00:00
Pierangelo Masarati
e24cc0589f
more cleanup
2005-08-07 22:22:27 +00:00
Pierangelo Masarati
d79d9be840
free Env
2005-08-07 21:53:38 +00:00
Pierangelo Masarati
3d075186bf
don't leak entry/referrals in case of reference
2005-08-07 21:26:15 +00:00
Pierangelo Masarati
09f749da96
remove unnecessary data from search_info
2005-08-07 20:43:07 +00:00
Pierangelo Masarati
779d94312f
cleanup candidate list in case of abandon, even if it occurs while selecting candidates
2005-08-07 20:11:41 +00:00
Pierangelo Masarati
433c7923c5
cleanup candidate list in case of abandon
2005-08-07 20:04:47 +00:00
Pierangelo Masarati
125059ccb5
more cleanup
2005-08-07 18:56:19 +00:00
Pierangelo Masarati
92527ee15b
plug more leaks; few remain (but seem to be in ODBC)
2005-08-07 17:28:26 +00:00
Pierangelo Masarati
52fb4b47fe
fix previous commit
2005-08-07 16:48:26 +00:00
Pierangelo Masarati
8fdfe1fcd0
plug yet another one-time leak
2005-08-07 16:45:13 +00:00
Pierangelo Masarati
ca00d860d6
plug selected leaks at shutdown
2005-08-07 16:38:20 +00:00
Pierangelo Masarati
a6d4a82782
more about freeing replica resources
2005-08-07 15:20:14 +00:00
Pierangelo Masarati
e549e4463a
free replica info as appropriate
2005-08-07 15:01:13 +00:00
Pierangelo Masarati
d8a90fd7d5
cleanup resources
2005-08-07 14:13:29 +00:00
Pierangelo Masarati
468e03a655
plug more leaks
2005-08-07 12:55:15 +00:00
Pierangelo Masarati
c3b977b2da
ACL logging was incomplete (and misleading)
2005-08-07 11:36:18 +00:00
Pierangelo Masarati
be355833a0
fix use of uninitialized value; beautify logs
2005-08-07 10:49:40 +00:00
Pierangelo Masarati
e281e08e79
remove cruft
2005-08-07 10:49:01 +00:00
Luke Howard
bba3f62bdc
Always restore op->o_callback in SLAPI overlay - was spinning indefinitely
2005-08-07 03:13:57 +00:00
Pierangelo Masarati
fa27310d77
use trylock only where necessary
2005-08-07 00:35:11 +00:00
Pierangelo Masarati
47d39181d6
cleanup
2005-08-06 21:03:26 +00:00
Pierangelo Masarati
8b54d3b7e1
fix potential leak (if URL form is broken); cleanup
2005-08-06 20:56:02 +00:00
Luke Howard
6911e0022b
Plug some leaks in SLAPI modifications handling
2005-08-06 14:58:25 +00:00
Pierangelo Masarati
682a1981a1
use macros instead of literals
2005-08-06 11:29:08 +00:00
Pierangelo Masarati
955253966b
fix ordered indexing check
2005-08-05 00:08:22 +00:00
Pierangelo Masarati
cc361f7aa0
don't need compare if entry_get is available
2005-08-03 00:33:37 +00:00
Pierangelo Masarati
61f11773ba
address ITS#3914
2005-08-02 23:22:10 +00:00
Pierangelo Masarati
4ed743cc84
remove unrequired member; address ITS#3913
2005-08-02 22:48:30 +00:00
Pierangelo Masarati
9da3dbf3c8
more fixes to parsing of (deprecated) config directives (ITS#3915)
2005-08-02 22:21:44 +00:00
Luke Howard
b620a0e23c
slapi/slapi_utils.c rev 1.172 removed the 'dup' parameter to
...
slapi_int_ldapmods2modifications(), but a 'dup' test remains in the
function body. Should always evaluate to TRUE.
2005-08-02 16:12:09 +00:00
Hallvard Furuseth
cc79022b71
Cleanup (unused variable ad_oldest)
2005-08-02 10:36:48 +00:00
Howard Chu
b98d3b5903
ITS#3912 missed an invocation of entry_schema_check in last round of changes
2005-08-02 09:44:44 +00:00
Hallvard Furuseth
ad0be35f47
Remove unused variable.
2005-08-02 08:50:02 +00:00
Hallvard Furuseth
a3f3143cc5
Fix off-by-one pointer error. Garbage byte between uuid and csn in slog_entry.
2005-08-02 08:43:27 +00:00
Pierangelo Masarati
4148ddc31f
save 1 function call...
2005-08-02 08:13:16 +00:00
Pierangelo Masarati
673ea82eab
fix typo in previous commit
2005-08-01 23:40:40 +00:00
Pierangelo Masarati
c8a5fd2df2
fix various leaks
2005-08-01 23:32:14 +00:00
Pierangelo Masarati
9a64785e4d
plug leaks; fix map initialization
2005-08-01 22:40:18 +00:00
Howard Chu
91ea3a113a
Add static build for accesslog
2005-08-01 22:02:23 +00:00
Luke Howard
12d006d17d
Add o_no_schema_check to operation structure
...
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Luke Howard
381a4d62c5
SLAPI no longer needs to be initialized here
2005-08-01 15:25:17 +00:00
Luke Howard
b1f478f161
Add slapi_dn_isbesuffix()
...
Fix slapi_dn_beparent() logic
Fix slapi_int_ldapmods2modifications() memory management, values
always need to be duplicated because of prettying in slap_mods_check()
2005-08-01 15:24:46 +00:00
Luke Howard
9a45f87ede
Fix crasher in SLAPI_SEARCH_ATTRS handler
...
Add SLAPI_X_OPERATION_NO_SCHEMA_CHECK, SLAPI_X_MANAGEDIT
Fix modlist memory management
2005-08-01 15:24:02 +00:00
Luke Howard
65ac57bcac
Plug leaks
2005-08-01 15:23:12 +00:00