]> git.sur5r.net Git - openldap/log
openldap
18 years agoFix typo in previous commit (slapi_dn.c -> slapi_dn.lo)
Hallvard Furuseth [Mon, 8 Aug 2005 14:30:34 +0000 (14:30 +0000)]
Fix typo in previous commit (slapi_dn.c -> slapi_dn.lo)

18 years agoallow textual log levels in command line
Pierangelo Masarati [Mon, 8 Aug 2005 14:01:40 +0000 (14:01 +0000)]
allow textual log levels in command line

18 years agoRemove slapi_x_be_select()
Luke Howard [Mon, 8 Aug 2005 13:26:02 +0000 (13:26 +0000)]
Remove slapi_x_be_select()

18 years agoNew file - slapi_dn.c
Luke Howard [Mon, 8 Aug 2005 13:25:24 +0000 (13:25 +0000)]
New file - slapi_dn.c

18 years agoAdd Slapi_DN API
Luke Howard [Mon, 8 Aug 2005 13:24:18 +0000 (13:24 +0000)]
Add Slapi_DN API

18 years agoITS#3917 init schema before parsing args
Howard Chu [Mon, 8 Aug 2005 12:51:38 +0000 (12:51 +0000)]
ITS#3917 init schema before parsing args

18 years agoITS#3922 fix syncrepl ctxcsn leak
Howard Chu [Mon, 8 Aug 2005 12:38:19 +0000 (12:38 +0000)]
ITS#3922 fix syncrepl ctxcsn leak

18 years agoAdd slapi_x_be_select() (to be replaced with slapi_be_select() when
Luke Howard [Mon, 8 Aug 2005 11:01:39 +0000 (11:01 +0000)]
Add slapi_x_be_select() (to be replaced with slapi_be_select() when
we support Slapi_DN API)

18 years agoSync with slapi/slapi_utils.c
Luke Howard [Mon, 8 Aug 2005 09:33:12 +0000 (09:33 +0000)]
Sync with slapi/slapi_utils.c

18 years agoDon't return frontend as SLAPI_BACKEND, return actual backend instead
Luke Howard [Mon, 8 Aug 2005 09:33:02 +0000 (09:33 +0000)]
Don't return frontend as SLAPI_BACKEND, return actual backend instead
for compat with 2.2 plugins

Add a couple of backend SLAPI APIs

18 years agoDon't decrement descriptor count until we have checked connection is not UDP
Luke Howard [Mon, 8 Aug 2005 03:44:17 +0000 (03:44 +0000)]
Don't decrement descriptor count until we have checked connection is not UDP

18 years agoAdd missing break statement in switch for SLAPI_SEARCH_ATTRS handler
Luke Howard [Mon, 8 Aug 2005 03:39:00 +0000 (03:39 +0000)]
Add missing break statement in switch for SLAPI_SEARCH_ATTRS handler

18 years agomore cleanup
Pierangelo Masarati [Sun, 7 Aug 2005 22:22:27 +0000 (22:22 +0000)]
more cleanup

18 years agofree Env
Pierangelo Masarati [Sun, 7 Aug 2005 21:53:38 +0000 (21:53 +0000)]
free Env

18 years agodon't leak entry/referrals in case of reference
Pierangelo Masarati [Sun, 7 Aug 2005 21:26:15 +0000 (21:26 +0000)]
don't leak entry/referrals in case of reference

18 years agofix previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 21:03:38 +0000 (21:03 +0000)]
fix previous commit

18 years agoadd (optional) concurrency test for back-sql
Pierangelo Masarati [Sun, 7 Aug 2005 20:59:56 +0000 (20:59 +0000)]
add (optional) concurrency test for back-sql

18 years agodata for back-sql concurrency tests
Pierangelo Masarati [Sun, 7 Aug 2005 20:52:58 +0000 (20:52 +0000)]
data for back-sql concurrency tests

18 years agoremove unnecessary data from search_info
Pierangelo Masarati [Sun, 7 Aug 2005 20:43:07 +0000 (20:43 +0000)]
remove unnecessary data from search_info

18 years agocleanup candidate list in case of abandon, even if it occurs while selecting candidates
Pierangelo Masarati [Sun, 7 Aug 2005 20:11:41 +0000 (20:11 +0000)]
cleanup candidate list in case of abandon, even if it occurs while selecting candidates

18 years agocleanup candidate list in case of abandon
Pierangelo Masarati [Sun, 7 Aug 2005 20:04:47 +0000 (20:04 +0000)]
cleanup candidate list in case of abandon

18 years agomore cleanup
Pierangelo Masarati [Sun, 7 Aug 2005 18:56:19 +0000 (18:56 +0000)]
more cleanup

18 years agoRebuild for configure.in 1.586.
Hallvard Furuseth [Sun, 7 Aug 2005 18:26:41 +0000 (18:26 +0000)]
Rebuild for configure.in 1.586.

18 years agoLet --<enable/disable>-<backends/overlays> provide a default instead
Hallvard Furuseth [Sun, 7 Aug 2005 18:08:02 +0000 (18:08 +0000)]
Let --<enable/disable>-<backends/overlays> provide a default instead
of overriding individual settings.
The --disable variant will disable all backends/overlays that are
not explicitly enabled.  Previously it had no effect.
Also shorten a few --enable help messages that were > 80 characters.

18 years agoplug more leaks; few remain (but seem to be in ODBC)
Pierangelo Masarati [Sun, 7 Aug 2005 17:28:26 +0000 (17:28 +0000)]
plug more leaks; few remain (but seem to be in ODBC)

18 years agofix previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 16:48:26 +0000 (16:48 +0000)]
fix previous commit

18 years agoplug yet another one-time leak
Pierangelo Masarati [Sun, 7 Aug 2005 16:45:13 +0000 (16:45 +0000)]
plug yet another one-time leak

18 years agoplug selected leaks at shutdown
Pierangelo Masarati [Sun, 7 Aug 2005 16:38:20 +0000 (16:38 +0000)]
plug selected leaks at shutdown

18 years agomore about freeing replica resources
Pierangelo Masarati [Sun, 7 Aug 2005 15:20:14 +0000 (15:20 +0000)]
more about freeing replica resources

18 years agofree replica info as appropriate
Pierangelo Masarati [Sun, 7 Aug 2005 15:01:13 +0000 (15:01 +0000)]
free replica info as appropriate

18 years agocleanup resources
Pierangelo Masarati [Sun, 7 Aug 2005 14:13:29 +0000 (14:13 +0000)]
cleanup resources

18 years agoplug more leaks
Pierangelo Masarati [Sun, 7 Aug 2005 12:55:15 +0000 (12:55 +0000)]
plug more leaks

18 years agoimprove previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 11:48:45 +0000 (11:48 +0000)]
improve previous commit

18 years agoimprove previous commit
Pierangelo Masarati [Sun, 7 Aug 2005 11:44:57 +0000 (11:44 +0000)]
improve previous commit

18 years agoACL logging was incomplete (and misleading)
Pierangelo Masarati [Sun, 7 Aug 2005 11:36:18 +0000 (11:36 +0000)]
ACL logging was incomplete (and misleading)

18 years agofix use of uninitialized value; beautify logs
Pierangelo Masarati [Sun, 7 Aug 2005 10:49:40 +0000 (10:49 +0000)]
fix use of uninitialized value; beautify logs

18 years agoremove cruft
Pierangelo Masarati [Sun, 7 Aug 2005 10:49:01 +0000 (10:49 +0000)]
remove cruft

18 years agoadd indices for all backends that support them; clenup
Pierangelo Masarati [Sun, 7 Aug 2005 10:01:53 +0000 (10:01 +0000)]
add indices for all backends that support them; clenup

18 years agodetect if control is available (ITS#3898)
Pierangelo Masarati [Sun, 7 Aug 2005 09:59:25 +0000 (09:59 +0000)]
detect if control is available (ITS#3898)

18 years agoAlways restore op->o_callback in SLAPI overlay - was spinning indefinitely
Luke Howard [Sun, 7 Aug 2005 03:13:57 +0000 (03:13 +0000)]
Always restore op->o_callback in SLAPI overlay - was spinning indefinitely

18 years agouse trylock only where necessary
Pierangelo Masarati [Sun, 7 Aug 2005 00:35:11 +0000 (00:35 +0000)]
use trylock only where necessary

18 years agodisallow this test for backends that do not honor ACLs
Pierangelo Masarati [Sun, 7 Aug 2005 00:27:48 +0000 (00:27 +0000)]
disallow this test for backends that do not honor ACLs

18 years agofix ITS#3811
Pierangelo Masarati [Sat, 6 Aug 2005 22:03:45 +0000 (22:03 +0000)]
fix ITS#3811

18 years agocleanup
Pierangelo Masarati [Sat, 6 Aug 2005 21:03:26 +0000 (21:03 +0000)]
cleanup

18 years agofix potential leak (if URL form is broken); cleanup
Pierangelo Masarati [Sat, 6 Aug 2005 20:56:02 +0000 (20:56 +0000)]
fix potential leak (if URL form is broken); cleanup

18 years agoPlug some leaks in SLAPI modifications handling
Luke Howard [Sat, 6 Aug 2005 14:58:25 +0000 (14:58 +0000)]
Plug some leaks in SLAPI modifications handling

18 years agouse macros instead of literals
Pierangelo Masarati [Sat, 6 Aug 2005 11:29:08 +0000 (11:29 +0000)]
use macros instead of literals

18 years agofix ordered indexing check
Pierangelo Masarati [Fri, 5 Aug 2005 00:08:22 +0000 (00:08 +0000)]
fix ordered indexing check

18 years agolittle more about potential concurrency issues
Pierangelo Masarati [Wed, 3 Aug 2005 16:54:08 +0000 (16:54 +0000)]
little more about potential concurrency issues

18 years agodon't need compare if entry_get is available
Pierangelo Masarati [Wed, 3 Aug 2005 00:33:37 +0000 (00:33 +0000)]
don't need compare if entry_get is available

18 years agoaddress ITS#3914
Pierangelo Masarati [Tue, 2 Aug 2005 23:22:10 +0000 (23:22 +0000)]
address ITS#3914

18 years agoremove unrequired member; address ITS#3913
Pierangelo Masarati [Tue, 2 Aug 2005 22:48:30 +0000 (22:48 +0000)]
remove unrequired member; address ITS#3913

18 years agomore fixes to parsing of (deprecated) config directives (ITS#3915)
Pierangelo Masarati [Tue, 2 Aug 2005 22:21:44 +0000 (22:21 +0000)]
more fixes to parsing of (deprecated) config directives (ITS#3915)

18 years agoslapi/slapi_utils.c rev 1.172 removed the 'dup' parameter to
Luke Howard [Tue, 2 Aug 2005 16:12:09 +0000 (16:12 +0000)]
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.

18 years agoFix printf formats for LDAP_MEMORY_TRACE
Hallvard Furuseth [Tue, 2 Aug 2005 14:08:30 +0000 (14:08 +0000)]
Fix printf formats for LDAP_MEMORY_TRACE

18 years agoITS#3578 increment parent's referral count
Howard Chu [Tue, 2 Aug 2005 11:24:52 +0000 (11:24 +0000)]
ITS#3578 increment parent's referral count

18 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Tue, 2 Aug 2005 10:57:42 +0000 (10:57 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

18 years agoCleanup (unused variable ad_oldest)
Hallvard Furuseth [Tue, 2 Aug 2005 10:36:48 +0000 (10:36 +0000)]
Cleanup (unused variable ad_oldest)

18 years agoITS#3912 missed an invocation of entry_schema_check in last round of changes
Howard Chu [Tue, 2 Aug 2005 09:44:44 +0000 (09:44 +0000)]
ITS#3912 missed an invocation of entry_schema_check in last round of changes

18 years agoRemove unused variable.
Hallvard Furuseth [Tue, 2 Aug 2005 08:50:02 +0000 (08:50 +0000)]
Remove unused variable.

18 years agoFix off-by-one pointer error. Garbage byte between uuid and csn in slog_entry.
Hallvard Furuseth [Tue, 2 Aug 2005 08:43:27 +0000 (08:43 +0000)]
Fix off-by-one pointer error. Garbage byte between uuid and csn in slog_entry.

18 years agosave 1 function call...
Pierangelo Masarati [Tue, 2 Aug 2005 08:13:16 +0000 (08:13 +0000)]
save 1 function call...

18 years agofix typo in previous commit
Pierangelo Masarati [Mon, 1 Aug 2005 23:40:40 +0000 (23:40 +0000)]
fix typo in previous commit

18 years agoplug leaks; cleanup
Pierangelo Masarati [Mon, 1 Aug 2005 23:35:44 +0000 (23:35 +0000)]
plug leaks; cleanup

18 years agofix various leaks
Pierangelo Masarati [Mon, 1 Aug 2005 23:32:14 +0000 (23:32 +0000)]
fix various leaks

18 years agoplug leaks; fix map initialization
Pierangelo Masarati [Mon, 1 Aug 2005 22:40:18 +0000 (22:40 +0000)]
plug leaks; fix map initialization

18 years agoAdd static build for accesslog
Howard Chu [Mon, 1 Aug 2005 22:02:23 +0000 (22:02 +0000)]
Add static build for accesslog

18 years agoAdd o_no_schema_check to operation structure
Luke Howard [Mon, 1 Aug 2005 15:26:13 +0000 (15:26 +0000)]
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

18 years agoSLAPI no longer needs to be initialized here
Luke Howard [Mon, 1 Aug 2005 15:25:17 +0000 (15:25 +0000)]
SLAPI no longer needs to be initialized here

18 years agoAdd slapi_dn_isbesuffix()
Luke Howard [Mon, 1 Aug 2005 15:24:46 +0000 (15:24 +0000)]
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()

18 years agoFix crasher in SLAPI_SEARCH_ATTRS handler
Luke Howard [Mon, 1 Aug 2005 15:24:02 +0000 (15:24 +0000)]
Fix crasher in SLAPI_SEARCH_ATTRS handler
Add SLAPI_X_OPERATION_NO_SCHEMA_CHECK, SLAPI_X_MANAGEDIT
Fix modlist memory management

18 years agoPlug leaks
Luke Howard [Mon, 1 Aug 2005 15:23:12 +0000 (15:23 +0000)]
Plug leaks

18 years agoCentralize SLAPI initialization into slapi_over_config()
Luke Howard [Mon, 1 Aug 2005 15:22:56 +0000 (15:22 +0000)]
Centralize SLAPI initialization into slapi_over_config()

18 years agoAdd SLAPI_X_MANAGEDIT, SLAPI_X_OPERATION_NO_SCHEMA_CHECK
Luke Howard [Mon, 1 Aug 2005 15:21:55 +0000 (15:21 +0000)]
Add SLAPI_X_MANAGEDIT, SLAPI_X_OPERATION_NO_SCHEMA_CHECK

18 years agoPlug memory leak
Hallvard Furuseth [Mon, 1 Aug 2005 03:58:43 +0000 (03:58 +0000)]
Plug memory leak

18 years agoslap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals
Hallvard Furuseth [Mon, 1 Aug 2005 03:56:36 +0000 (03:56 +0000)]
slap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals

18 years agoPlug memory leaks - free() controls in LDAP*
Hallvard Furuseth [Mon, 1 Aug 2005 03:51:53 +0000 (03:51 +0000)]
Plug memory leaks - free() controls in LDAP*

18 years agoHandle LBER_SB_OPT_[GS]ET_FD arg as ber_socket_t like elsewhere, not as int.
Hallvard Furuseth [Mon, 1 Aug 2005 03:48:53 +0000 (03:48 +0000)]
Handle LBER_SB_OPT_[GS]ET_FD arg as ber_socket_t like elsewhere, not as int.

18 years agoPlug memory leaks
Hallvard Furuseth [Mon, 1 Aug 2005 03:44:52 +0000 (03:44 +0000)]
Plug memory leaks

18 years agoslap_mods2entry() should not zero pointers into the modifications
Luke Howard [Mon, 1 Aug 2005 02:16:02 +0000 (02:16 +0000)]
slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.

18 years agofix previous commit (ITS#3905)
Pierangelo Masarati [Sun, 31 Jul 2005 23:15:08 +0000 (23:15 +0000)]
fix previous commit (ITS#3905)

18 years agoCleanup
Hallvard Furuseth [Sun, 31 Jul 2005 18:17:13 +0000 (18:17 +0000)]
Cleanup

18 years agoCleanup
Hallvard Furuseth [Sun, 31 Jul 2005 18:05:51 +0000 (18:05 +0000)]
Cleanup

18 years agoFix slapi_dn_beparent() behaviour (again)
Luke Howard [Sun, 31 Jul 2005 14:17:36 +0000 (14:17 +0000)]
Fix slapi_dn_beparent() behaviour (again)

18 years agoFix slapi_dn_beparent() logic
Luke Howard [Sun, 31 Jul 2005 06:45:39 +0000 (06:45 +0000)]
Fix slapi_dn_beparent() logic

18 years agoSupport SLAPI_X_OPERATION_DELETE_GLUE_PARENT
Luke Howard [Sun, 31 Jul 2005 05:42:51 +0000 (05:42 +0000)]
Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT

18 years agoAdd SLAPI_X_OPERATION_DELETE_GLUE_PARENT
Luke Howard [Sun, 31 Jul 2005 05:41:03 +0000 (05:41 +0000)]
Add SLAPI_X_OPERATION_DELETE_GLUE_PARENT

18 years agoRestore 2.2 SLAPI behaviour: target DN is not normalized
Luke Howard [Sun, 31 Jul 2005 05:23:56 +0000 (05:23 +0000)]
Restore 2.2 SLAPI behaviour: target DN is not normalized
(actually, in 2.2 the target DN was not even prettied, but this
will do)

18 years agoAllow overlays to override operational attributes on add (needed
Luke Howard [Sun, 31 Jul 2005 05:19:37 +0000 (05:19 +0000)]
Allow overlays to override operational attributes on add (needed
to preserve 2.2 SLAPI behaviour; see comments for further info)

18 years agoFix logic error in slap_mods2entry()
Luke Howard [Sun, 31 Jul 2005 05:12:20 +0000 (05:12 +0000)]
Fix logic error in slap_mods2entry()

18 years agoFix logic error in slap_mods_no_repl_user_mod_check()
Luke Howard [Sun, 31 Jul 2005 05:04:37 +0000 (05:04 +0000)]
Fix logic error in slap_mods_no_repl_user_mod_check()

18 years agoCall slap_mods2entry() in do_add(), so that global overlays (including
Luke Howard [Sun, 31 Jul 2005 04:56:27 +0000 (04:56 +0000)]
Call slap_mods2entry() in do_add(), so that global overlays (including
global SLAPI plugins) have access to op->ora_e.

Note that slap_mods2entry() is still called in fe_op_add() in order to
add any operational attributes.

18 years agoInitialize a_flags of new Attribute in str2entry2().
Hallvard Furuseth [Sat, 30 Jul 2005 23:54:00 +0000 (23:54 +0000)]
Initialize a_flags of new Attribute in str2entry2().

18 years agoInitialize i (#changes) if no mods. Simplify (*modp) to lmod.
Hallvard Furuseth [Sat, 30 Jul 2005 23:46:07 +0000 (23:46 +0000)]
Initialize i (#changes) if no mods.  Simplify (*modp) to lmod.

18 years agoRemove warning that HDB code is experimental and unsupported
Hallvard Furuseth [Sat, 30 Jul 2005 23:42:41 +0000 (23:42 +0000)]
Remove warning that HDB code is experimental and unsupported

18 years agoChange diskNode.(n)rdn from unsigned char to char, matching their usage.
Hallvard Furuseth [Sat, 30 Jul 2005 23:39:44 +0000 (23:39 +0000)]
Change diskNode.(n)rdn from unsigned char to char, matching their usage.

18 years agoRemove ";" after do{...}while(0) macros
Hallvard Furuseth [Sat, 30 Jul 2005 23:36:38 +0000 (23:36 +0000)]
Remove ";" after do{...}while(0) macros

18 years agoserialNumberAndIssuerPretty() and serialNumberAndIssuerNormalize()
Hallvard Furuseth [Sat, 30 Jul 2005 23:30:42 +0000 (23:30 +0000)]
serialNumberAndIssuerPretty() and serialNumberAndIssuerNormalize()
were confused about realloced memory.

18 years agocleanup
Pierangelo Masarati [Sat, 30 Jul 2005 16:26:25 +0000 (16:26 +0000)]
cleanup

18 years agofix referrals handling (needs work)
Pierangelo Masarati [Sat, 30 Jul 2005 16:25:18 +0000 (16:25 +0000)]
fix referrals handling (needs work)