]> git.sur5r.net Git - openldap/log
openldap
18 years agopick declaration of ch_strdup()
Pierangelo Masarati [Wed, 30 Aug 2006 22:45:26 +0000 (22:45 +0000)]
pick declaration of ch_strdup()

18 years agodon't run useless (and likely to fail) checks, if possible
Pierangelo Masarati [Wed, 30 Aug 2006 21:05:05 +0000 (21:05 +0000)]
don't run useless (and likely to fail) checks, if possible

18 years agofix pre-allocated entry/attribute handling
Pierangelo Masarati [Tue, 29 Aug 2006 17:09:08 +0000 (17:09 +0000)]
fix pre-allocated entry/attribute handling

18 years agofix pre-allocated entry/attribute handling
Pierangelo Masarati [Tue, 29 Aug 2006 16:07:39 +0000 (16:07 +0000)]
fix pre-allocated entry/attribute handling

18 years agoforced commit
Kurt Zeilenga [Tue, 29 Aug 2006 07:38:09 +0000 (07:38 +0000)]
forced commit

18 years agomore cleanup
Kurt Zeilenga [Tue, 29 Aug 2006 07:28:22 +0000 (07:28 +0000)]
more cleanup

18 years agocleanup
Kurt Zeilenga [Tue, 29 Aug 2006 07:25:34 +0000 (07:25 +0000)]
cleanup

18 years agominor change
Kurt Zeilenga [Tue, 29 Aug 2006 07:22:28 +0000 (07:22 +0000)]
minor change

18 years agoHide config schema if !LDAP_DEVEL
Howard Chu [Tue, 29 Aug 2006 02:02:12 +0000 (02:02 +0000)]
Hide config schema if !LDAP_DEVEL

18 years agoEntry/Attribute struct caching, to minimize malloc fragmentation
Howard Chu [Tue, 29 Aug 2006 01:43:23 +0000 (01:43 +0000)]
Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.

18 years agoMust use ch_strdup, not strdup
Howard Chu [Tue, 29 Aug 2006 01:36:52 +0000 (01:36 +0000)]
Must use ch_strdup, not strdup

18 years agoTLS ctx is already cleaned up
Howard Chu [Tue, 29 Aug 2006 01:34:55 +0000 (01:34 +0000)]
TLS ctx is already cleaned up

18 years agoOnly set c_sasl_bindop on actual SASL binds
Howard Chu [Tue, 29 Aug 2006 01:19:34 +0000 (01:19 +0000)]
Only set c_sasl_bindop on actual SASL binds

18 years agonote the single-value userPassword constraint (please review)
Pierangelo Masarati [Mon, 28 Aug 2006 14:33:59 +0000 (14:33 +0000)]
note the single-value userPassword constraint (please review)

18 years agoappend global access rules also when be != NULL in backend_startup() (ITS#4654)
Pierangelo Masarati [Mon, 28 Aug 2006 13:31:16 +0000 (13:31 +0000)]
append global access rules also when be != NULL in backend_startup() (ITS#4654)

18 years agoAdd single-password constraint; NOTE from ppolicy.c:
Pierangelo Masarati [Mon, 28 Aug 2006 12:44:39 +0000 (12:44 +0000)]
Add single-password constraint; NOTE from ppolicy.c:

/* FIXME: there's no easy way to ensure
 * that add does not cause multiple
 * userPassword values; one way (that
 * would be consistent with the single
 * password constraint) would be to turn
 * add into replace); another would be
 * to disallow add.
 *
 * Let's check at least that a single value
 * is being added
 */

18 years agoITS#4358, thanks to Kevine Zerbib
Quanah Gibson-Mount [Mon, 28 Aug 2006 01:07:25 +0000 (01:07 +0000)]
ITS#4358, thanks to Kevine Zerbib

18 years agoFix comment style.
Quanah Gibson-Mount [Mon, 28 Aug 2006 01:05:32 +0000 (01:05 +0000)]
Fix comment style.

18 years agoFix delete type modifys where no value is given to be deleted. (ITS#2612)
Quanah Gibson-Mount [Mon, 28 Aug 2006 01:01:32 +0000 (01:01 +0000)]
Fix delete type modifys where no value is given to be deleted. (ITS#2612)
Thanks to Alister Winfield for the patch.

18 years agofix e_private value, goes along with memory leak fix to accesslog.c
Quanah Gibson-Mount [Sat, 26 Aug 2006 23:20:00 +0000 (23:20 +0000)]
fix e_private value, goes along with memory leak fix to accesslog.c

18 years agoreduce code duplication
Pierangelo Masarati [Sat, 26 Aug 2006 17:55:56 +0000 (17:55 +0000)]
reduce code duplication

18 years agodisable X-ORDERED 'VALUES' naming attributes by now
Pierangelo Masarati [Sat, 26 Aug 2006 17:28:07 +0000 (17:28 +0000)]
disable X-ORDERED 'VALUES' naming attributes by now

18 years agoinvalidate idle connection if a candidate target does not respond for the duration...
Pierangelo Masarati [Sat, 26 Aug 2006 15:24:49 +0000 (15:24 +0000)]
invalidate idle connection if a candidate target does not respond for the duration of time limit...

18 years agoNote line length limit.
Kurt Zeilenga [Fri, 25 Aug 2006 20:56:06 +0000 (20:56 +0000)]
Note line length limit.

18 years agoUse LINE_MAX instead of BUFSIZ. Per POSIX, LINE_MAX should be at least 2K.
Kurt Zeilenga [Fri, 25 Aug 2006 20:05:14 +0000 (20:05 +0000)]
Use LINE_MAX instead of BUFSIZ.  Per POSIX, LINE_MAX should be at least 2K.
For ITS#4651

18 years agoallow continuous mode
Pierangelo Masarati [Fri, 25 Aug 2006 16:20:48 +0000 (16:20 +0000)]
allow continuous mode

18 years agoinitialize random seed; use high-order bits for better randomness
Pierangelo Masarati [Fri, 25 Aug 2006 15:15:13 +0000 (15:15 +0000)]
initialize random seed; use high-order bits for better randomness

18 years agoFix test045, test048 use acl-bind credentials on retry if they were set.
Howard Chu [Fri, 25 Aug 2006 02:16:57 +0000 (02:16 +0000)]
Fix test045, test048 use acl-bind credentials on retry if they were set.

18 years agoITS#4647: error on bad filter patterns
Kurt Zeilenga [Thu, 24 Aug 2006 03:15:57 +0000 (03:15 +0000)]
ITS#4647: error on bad filter patterns

18 years agos/managedit/relax/
Kurt Zeilenga [Tue, 22 Aug 2006 23:31:46 +0000 (23:31 +0000)]
s/managedit/relax/
#unifdef -DSLAP_RELAX

18 years agoremove dontusecopy ifdefs
Kurt Zeilenga [Tue, 22 Aug 2006 20:57:33 +0000 (20:57 +0000)]
remove dontusecopy ifdefs

18 years agoBasic donUseCopy implementation
Kurt Zeilenga [Tue, 22 Aug 2006 20:29:14 +0000 (20:29 +0000)]
Basic donUseCopy implementation

18 years agoInitial dontUseCopy implementation
Kurt Zeilenga [Tue, 22 Aug 2006 20:24:36 +0000 (20:24 +0000)]
Initial dontUseCopy implementation
Needs to be extended to compare

18 years agoMore LDAP_DEVEL cleanup
Kurt Zeilenga [Tue, 22 Aug 2006 00:45:16 +0000 (00:45 +0000)]
More LDAP_DEVEL cleanup
Rename ManageDIT to Relax

18 years agoMore config leaks
Howard Chu [Mon, 21 Aug 2006 04:25:54 +0000 (04:25 +0000)]
More config leaks

18 years agoPlug config leak
Howard Chu [Mon, 21 Aug 2006 04:11:29 +0000 (04:11 +0000)]
Plug config leak

18 years agoFix prev commit
Howard Chu [Sat, 19 Aug 2006 06:27:11 +0000 (06:27 +0000)]
Fix prev commit

18 years agoLDAP_DEVEL cleanup
Kurt Zeilenga [Sat, 19 Aug 2006 05:47:05 +0000 (05:47 +0000)]
LDAP_DEVEL cleanup

18 years agoMove ber_sockbuf_free() to slapd_remove() to avoid using AC_SOCKET_INVALID
Howard Chu [Fri, 18 Aug 2006 23:54:24 +0000 (23:54 +0000)]
Move ber_sockbuf_free() to slapd_remove() to avoid using AC_SOCKET_INVALID

18 years agore-fix ITS#4405 (really start from the first conn)
Pierangelo Masarati [Fri, 18 Aug 2006 17:12:16 +0000 (17:12 +0000)]
re-fix ITS#4405 (really start from the first conn)

18 years agodon't leave dangling conns in the AVL tree
Pierangelo Masarati [Fri, 18 Aug 2006 17:11:41 +0000 (17:11 +0000)]
don't leave dangling conns in the AVL tree

18 years agothe conn may not be bound yet even if the bound DN is set...
Pierangelo Masarati [Fri, 18 Aug 2006 15:22:26 +0000 (15:22 +0000)]
the conn may not be bound yet even if the bound DN is set...

18 years agomore thread monitoring reworking; connection_pool_max may change via back-config
Pierangelo Masarati [Fri, 18 Aug 2006 10:26:03 +0000 (10:26 +0000)]
more thread monitoring reworking; connection_pool_max may change via back-config

18 years agooi_list might be null if overlay initialization failed for any reason
Pierangelo Masarati [Fri, 18 Aug 2006 10:12:21 +0000 (10:12 +0000)]
oi_list might be null if overlay initialization failed for any reason

18 years agoLDAP_DEVEL cleanup
Kurt Zeilenga [Fri, 18 Aug 2006 06:29:46 +0000 (06:29 +0000)]
LDAP_DEVEL cleanup

18 years agoLDAP_DEVEL cleanup
Kurt Zeilenga [Fri, 18 Aug 2006 06:15:05 +0000 (06:15 +0000)]
LDAP_DEVEL cleanup

18 years agoFix null pointer reference (coverity scan) and freed pointer reference
Howard Chu [Fri, 18 Aug 2006 01:37:21 +0000 (01:37 +0000)]
Fix null pointer reference (coverity scan) and freed pointer reference

18 years agoFix prev commit
Howard Chu [Fri, 18 Aug 2006 01:17:44 +0000 (01:17 +0000)]
Fix prev commit

18 years agogive slapd a chance to play callback cleanup handlers when a search operation is...
Pierangelo Masarati [Thu, 17 Aug 2006 19:47:25 +0000 (19:47 +0000)]
give slapd a chance to play callback cleanup handlers when a search operation is abandoned (ITS#4645)

18 years agoAdd note about setting effectiveness.
Kurt Zeilenga [Thu, 17 Aug 2006 19:33:48 +0000 (19:33 +0000)]
Add note about setting effectiveness.

18 years agodon't core if out value is NULL (log error instead; in partial fulfilment of ITS...
Pierangelo Masarati [Thu, 17 Aug 2006 17:37:46 +0000 (17:37 +0000)]
don't core if out value is NULL (log error instead; in partial fulfilment of ITS#4644)

18 years agofix previous commit
Pierangelo Masarati [Thu, 17 Aug 2006 16:32:11 +0000 (16:32 +0000)]
fix previous commit

18 years agoadd tasklist monitoring; review runqueue monitoring
Pierangelo Masarati [Thu, 17 Aug 2006 16:10:47 +0000 (16:10 +0000)]
add tasklist monitoring; review runqueue monitoring

18 years agoadd bverb_to_mask() API
Pierangelo Masarati [Thu, 17 Aug 2006 16:10:17 +0000 (16:10 +0000)]
add bverb_to_mask() API

18 years agofix typo
Pierangelo Masarati [Thu, 17 Aug 2006 15:54:10 +0000 (15:54 +0000)]
fix typo

18 years agotest undefined attribute in filter
Pierangelo Masarati [Thu, 17 Aug 2006 12:23:25 +0000 (12:23 +0000)]
test undefined attribute in filter

18 years agoMove socket close into slapd_remove, don't close until after socket
Howard Chu [Thu, 17 Aug 2006 00:44:38 +0000 (00:44 +0000)]
Move socket close into slapd_remove, don't close until after socket
is removed from daemon control.

18 years agofix confused comment
Kurt Zeilenga [Thu, 17 Aug 2006 00:26:25 +0000 (00:26 +0000)]
fix confused comment

18 years agoTS#4622 deletes in psearch didn't always propagate
Howard Chu [Tue, 15 Aug 2006 21:41:14 +0000 (21:41 +0000)]
TS#4622 deletes in psearch didn't always propagate

18 years agoForced commit. Previously logged 1.269 commit was deleted instead of reversed.
Kurt Zeilenga [Tue, 15 Aug 2006 21:26:27 +0000 (21:26 +0000)]
Forced commit.  Previously logged 1.269 commit was deleted instead of reversed.

18 years agoSome LDAP_DEVEL cleanup
Kurt Zeilenga [Tue, 15 Aug 2006 19:36:54 +0000 (19:36 +0000)]
Some LDAP_DEVEL cleanup

18 years agoITS#4622 if any present list was sent, must send refreshPresent
Howard Chu [Tue, 15 Aug 2006 12:37:59 +0000 (12:37 +0000)]
ITS#4622 if any present list was sent, must send refreshPresent

18 years agoITS#4622 make sure queued psearch responses get played after refresh
Howard Chu [Tue, 15 Aug 2006 09:28:25 +0000 (09:28 +0000)]
ITS#4622 make sure queued psearch responses get played after refresh
phase completes. Ignore empty sessionlog

18 years agoDelete curcsn arg to slap_get_commit_csn, redundant with op->o_csn
Howard Chu [Tue, 15 Aug 2006 09:25:42 +0000 (09:25 +0000)]
Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn

18 years agoDelete curcsn arg to slap_get_commit_csn, redundant with op->o_csn
Howard Chu [Tue, 15 Aug 2006 08:51:49 +0000 (08:51 +0000)]
Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn

18 years agoAdditional shutdown check
Howard Chu [Tue, 15 Aug 2006 00:04:29 +0000 (00:04 +0000)]
Additional shutdown check

18 years agoDon't purge log entries if a shutdown was requested
Howard Chu [Tue, 15 Aug 2006 00:02:57 +0000 (00:02 +0000)]
Don't purge log entries if a shutdown was requested

18 years agoUse LDAP_OTHER to indicate internal error
Kurt Zeilenga [Sat, 12 Aug 2006 21:46:29 +0000 (21:46 +0000)]
Use LDAP_OTHER to indicate internal error

18 years agofix bind/unbind typo
Kurt Zeilenga [Thu, 10 Aug 2006 15:23:50 +0000 (15:23 +0000)]
fix bind/unbind typo

18 years agoAdd notes regarding alternatives to deprecated routines
Kurt Zeilenga [Thu, 10 Aug 2006 01:49:26 +0000 (01:49 +0000)]
Add notes regarding alternatives to deprecated routines

18 years agoRemove FLAIM backend item. FLAIM licensing (GNU GPL) is too restrictive.
Kurt Zeilenga [Wed, 9 Aug 2006 02:52:44 +0000 (02:52 +0000)]
Remove FLAIM backend item.  FLAIM licensing (GNU GPL) is too restrictive.

18 years agoTone down default ppolicy msg
Howard Chu [Mon, 7 Aug 2006 23:33:03 +0000 (23:33 +0000)]
Tone down default ppolicy msg

18 years agoITS#4634 always init pp->ad
Howard Chu [Mon, 7 Aug 2006 22:40:51 +0000 (22:40 +0000)]
ITS#4634 always init pp->ad

18 years agoAdd a FLAIM backend item
Kurt Zeilenga [Mon, 7 Aug 2006 20:22:51 +0000 (20:22 +0000)]
Add a FLAIM backend item

18 years agonow syncprov wants lastmod on (ITS#4632)
Pierangelo Masarati [Sun, 6 Aug 2006 13:09:42 +0000 (13:09 +0000)]
now syncprov wants lastmod on (ITS#4632)

18 years agoskip host="" and port=0 (ITS#4610)
Pierangelo Masarati [Sat, 5 Aug 2006 17:08:40 +0000 (17:08 +0000)]
skip host="" and port=0 (ITS#4610)

18 years agomake log messages more esplicative
Pierangelo Masarati [Sat, 5 Aug 2006 16:34:19 +0000 (16:34 +0000)]
make log messages more esplicative

18 years agoprocess callbacks first; they are supposed to remove modifications they successfully...
Pierangelo Masarati [Sat, 5 Aug 2006 15:51:13 +0000 (15:51 +0000)]
process callbacks first; they are supposed to remove modifications they successfully handled, so that regular modify function can complain if any unhandled modification remains

18 years agofix logging
Pierangelo Masarati [Sat, 5 Aug 2006 12:33:53 +0000 (12:33 +0000)]
fix logging

18 years agofactor connection code out of syncrepl
Pierangelo Masarati [Fri, 4 Aug 2006 19:20:59 +0000 (19:20 +0000)]
factor connection code out of syncrepl

18 years agofix uri rewriting
Pierangelo Masarati [Thu, 3 Aug 2006 01:15:41 +0000 (01:15 +0000)]
fix uri rewriting

18 years agoMinor typo fix (maintaned -> maintained)
Quanah Gibson-Mount [Tue, 1 Aug 2006 01:27:02 +0000 (01:27 +0000)]
Minor typo fix (maintaned -> maintained)

18 years agoA few clarifications. "sync" in syncprov should refer to the
Kurt Zeilenga [Sat, 29 Jul 2006 16:44:29 +0000 (16:44 +0000)]
A few clarifications.  "sync" in syncprov should refer to the
LDAP Content Sync in general and "syncrepl" should only be used
when referring to replication-specific functionality.

18 years agoITS#4589 slap_get_commit_csn occasionally returns a curcsn that points
Howard Chu [Fri, 28 Jul 2006 02:40:38 +0000 (02:40 +0000)]
ITS#4589 slap_get_commit_csn occasionally returns a curcsn that points
to already-freed memory. That bug still needs to be tracked down. This
patch deletes curcsn and just uses op->o_csn, which did not exist when
this code was originally written.

18 years agorm cruft
Kurt Zeilenga [Thu, 27 Jul 2006 18:45:30 +0000 (18:45 +0000)]
rm cruft

18 years agoITS#4622
Howard Chu [Thu, 27 Jul 2006 10:44:22 +0000 (10:44 +0000)]
ITS#4622
  syncrepl: don't save contextCSN on incoming context entry
  syncprov: delete contextCSN on checkpoint if ctxcsn is empty

18 years agoITS#4622 additional fix
Howard Chu [Wed, 26 Jul 2006 21:36:44 +0000 (21:36 +0000)]
ITS#4622 additional fix

18 years agoITS#4534, don't update the context cookie with the delete syncID set
Howard Chu [Wed, 26 Jul 2006 21:23:21 +0000 (21:23 +0000)]
ITS#4534, don't update the context cookie with the delete syncID set
cookie, that's only an intermediate value.
ITS#4622, don't update the context cookie until all the nonpresent
deletes are finished.

18 years agoITS#4621 regenerate
Howard Chu [Wed, 26 Jul 2006 02:57:08 +0000 (02:57 +0000)]
ITS#4621 regenerate

18 years agoITS#4621 only check winsock.h if using MinGW
Howard Chu [Wed, 26 Jul 2006 02:55:07 +0000 (02:55 +0000)]
ITS#4621 only check winsock.h if using MinGW

18 years agoITS#4613 - fail to start if lastmod is off
Howard Chu [Mon, 24 Jul 2006 00:32:27 +0000 (00:32 +0000)]
ITS#4613 - fail to start if lastmod is off

18 years agoITS#4613 note that lastmod also controls entryCSN and entryUUID
Howard Chu [Mon, 24 Jul 2006 00:16:34 +0000 (00:16 +0000)]
ITS#4613 note that lastmod also controls entryCSN and entryUUID

18 years agofix formatting (ITS#4619)
Kurt Zeilenga [Sun, 23 Jul 2006 21:48:47 +0000 (21:48 +0000)]
fix formatting (ITS#4619)

18 years agoFix prev commit, update kid counters too
Howard Chu [Wed, 19 Jul 2006 00:06:57 +0000 (00:06 +0000)]
Fix prev commit, update kid counters too

18 years agoITS#4616 fix cache_modrdn bei_state management
Howard Chu [Tue, 18 Jul 2006 10:22:48 +0000 (10:22 +0000)]
ITS#4616 fix cache_modrdn bei_state management

18 years agoITS#4614 - complain if glue/subordinate are attempted on the same backend
Howard Chu [Sat, 15 Jul 2006 00:18:44 +0000 (00:18 +0000)]
ITS#4614 - complain if glue/subordinate are attempted on the same backend
cleanup overlay list if overlay db_init fails.

18 years agoResurrect special refint modifiersName
Howard Chu [Fri, 14 Jul 2006 22:19:00 +0000 (22:19 +0000)]
Resurrect special refint modifiersName

18 years agoEach refint op needs a unique timestamp, must perform searches as rootdn
Howard Chu [Fri, 14 Jul 2006 01:55:57 +0000 (01:55 +0000)]
Each refint op needs a unique timestamp, must perform searches as rootdn

18 years agos/HPcfgOv/OLcfgOv/
Howard Chu [Wed, 12 Jul 2006 07:05:09 +0000 (07:05 +0000)]
s/HPcfgOv/OLcfgOv/

18 years agoITS#4609, dynamic config support from Neil Dunbar
Howard Chu [Wed, 12 Jul 2006 02:14:22 +0000 (02:14 +0000)]
ITS#4609, dynamic config support from Neil Dunbar