]> git.sur5r.net Git - openldap/log
openldap
17 years agohave error match API call
Kurt Zeilenga [Thu, 21 Jun 2007 22:02:08 +0000 (22:02 +0000)]
have error match API call

17 years agoSend common request controls with extended request.
Kurt Zeilenga [Thu, 21 Jun 2007 22:01:36 +0000 (22:01 +0000)]
Send common request controls with extended request.
Only bitch about missing genPassword in success response.

17 years agofix potential leak (detected by Coverity)
Pierangelo Masarati [Thu, 21 Jun 2007 00:10:02 +0000 (00:10 +0000)]
fix potential leak (detected by Coverity)

17 years agofix potential NULL dereferencing (detected by Coverity)
Pierangelo Masarati [Wed, 20 Jun 2007 23:44:43 +0000 (23:44 +0000)]
fix potential NULL dereferencing (detected by Coverity)

17 years agocleanup
Pierangelo Masarati [Tue, 19 Jun 2007 22:59:53 +0000 (22:59 +0000)]
cleanup

17 years agobetter implementation for ITS#4996 and docs (ldapsearch(1) only; need to duplicate...
Pierangelo Masarati [Tue, 19 Jun 2007 22:58:20 +0000 (22:58 +0000)]
better implementation for ITS#4996 and docs (ldapsearch(1) only; need to duplicate in other tools man pages)

17 years agoITS#5025 clear sr_entry before sending search reference
Howard Chu [Tue, 19 Jun 2007 20:04:36 +0000 (20:04 +0000)]
ITS#5025 clear sr_entry before sending search reference

17 years agoReplace the text with a note that LDBM has been discontinued.
Hallvard Furuseth [Tue, 19 Jun 2007 16:37:57 +0000 (16:37 +0000)]
Replace the text with a note that LDBM has been discontinued.

17 years agoITS#4870 remove lint
Howard Chu [Tue, 19 Jun 2007 13:49:03 +0000 (13:49 +0000)]
ITS#4870 remove lint

17 years agofix ITS#5005
Pierangelo Masarati [Tue, 19 Jun 2007 13:18:17 +0000 (13:18 +0000)]
fix ITS#5005

17 years agoFix uninit'd op req DN
Howard Chu [Tue, 19 Jun 2007 13:07:12 +0000 (13:07 +0000)]
Fix uninit'd op req DN

17 years agoITS#4933 use ldap_set_option for search timelimit
Howard Chu [Tue, 19 Jun 2007 11:49:50 +0000 (11:49 +0000)]
ITS#4933 use ldap_set_option for search timelimit

17 years agoPpolicy control should be sent with every request...
Kurt Zeilenga [Tue, 19 Jun 2007 01:02:42 +0000 (01:02 +0000)]
Ppolicy control should be sent with every request...
handle returns in ldappasswd(1) and ldapwhoami(1).  Likely needs to be
added to other ldap*(1) commands.

17 years agoRevert last commit
Kurt Zeilenga [Tue, 19 Jun 2007 00:58:35 +0000 (00:58 +0000)]
Revert last commit
Purports to remove kbind, but adds a ldap_search_s() request.

17 years agoSaving links to FAQ-O-MATIC content for merging into main docs and work in progress.
Gavin Henry [Mon, 18 Jun 2007 23:01:15 +0000 (23:01 +0000)]
Saving links to FAQ-O-MATIC content for merging into main docs and work in progress.

17 years agotest goes __after__ done (ITS#5014 :)
Pierangelo Masarati [Sat, 16 Jun 2007 10:53:48 +0000 (10:53 +0000)]
test goes __after__ done (ITS#5014 :)

17 years ago Do not access a void* (mi_entry_limbo) as if it were a struct monitor_info_t*
Hallvard Furuseth [Fri, 15 Jun 2007 18:24:01 +0000 (18:24 +0000)]
 Do not access a void* (mi_entry_limbo) as if it were a struct monitor_info_t*

17 years agoRunning 'perlcritic -1 SampleLDAP.pm' and tidying up.
Gavin Henry [Fri, 15 Jun 2007 16:28:33 +0000 (16:28 +0000)]
Running 'perlcritic -1 SampleLDAP.pm' and tidying up.

17 years agoITS#4995 - rewrite clarification
Hallvard Furuseth [Fri, 15 Jun 2007 13:25:32 +0000 (13:25 +0000)]
ITS#4995 - rewrite clarification

17 years agoFor ITS#4995, add clarification comments
Quanah Gibson-Mount [Fri, 15 Jun 2007 03:21:11 +0000 (03:21 +0000)]
For ITS#4995, add clarification comments

17 years agoRemoving left over lines.
Gavin Henry [Thu, 14 Jun 2007 23:24:48 +0000 (23:24 +0000)]
Removing left over lines.

17 years agoRemoved ldbm and its underlying databases gdbm, mdbm and ndbm
Hallvard Furuseth [Thu, 14 Jun 2007 23:19:42 +0000 (23:19 +0000)]
Removed ldbm and its underlying databases gdbm, mdbm and ndbm

17 years agodon't forget to log errors (ITS#5014)
Pierangelo Masarati [Thu, 14 Jun 2007 23:07:40 +0000 (23:07 +0000)]
don't forget to log errors (ITS#5014)

17 years agoadd sub-second result timeout accuracy (for which is which; ITS#4963 with changes)
Pierangelo Masarati [Thu, 14 Jun 2007 22:35:41 +0000 (22:35 +0000)]
add sub-second result timeout accuracy (for which is which; ITS#4963 with changes)

17 years agoRemoved all references to ldbm from test data and man pages. Only slapd-ldbm.5 left.
Gavin Henry [Thu, 14 Jun 2007 22:29:29 +0000 (22:29 +0000)]
Removed all references to ldbm from test data and man pages. Only slapd-ldbm.5 left.

17 years agoBetter fix for rev 1.97
Howard Chu [Thu, 14 Jun 2007 14:51:15 +0000 (14:51 +0000)]
Better fix for rev 1.97

17 years agoRemoved all occurrences of Slurpd. The only mention from now in will be in replicatio...
Gavin Henry [Wed, 13 Jun 2007 22:33:43 +0000 (22:33 +0000)]
Removed all occurrences of Slurpd. The only mention from now in will be in replication.sdf, under "Replacing Slurpd"

17 years agointro_dctree dia src
Gavin Henry [Wed, 13 Jun 2007 22:03:36 +0000 (22:03 +0000)]
intro_dctree dia src

17 years agoITS#5009
Gavin Henry [Wed, 13 Jun 2007 21:58:52 +0000 (21:58 +0000)]
ITS#5009

17 years agoITS#4983: Partly revert tls_thread_self() paranoia from rev 1.154: Only
Hallvard Furuseth [Tue, 12 Jun 2007 23:57:08 +0000 (23:57 +0000)]
ITS#4983: Partly revert tls_thread_self() paranoia from rev 1.154: Only
require that ldap_pvt_thread_t can be cast to u.long and is not wider.
ITS#5010: In ldap_X509dn2bv(), catch error return from ber_decode_oid().

17 years agoRename thread contexts to tasks, leaving user contexts the only context.
Hallvard Furuseth [Sun, 10 Jun 2007 23:58:38 +0000 (23:58 +0000)]
Rename thread contexts to tasks, leaving user contexts the only context.
Remove ldap_int_thread_ctx_t.ltc_next.al (active list) left over from rev 1.75.

17 years agoFor ITS#4943: Axe thread pool semaphore code
Hallvard Furuseth [Sun, 10 Jun 2007 23:37:49 +0000 (23:37 +0000)]
For ITS#4943: Axe thread pool semaphore code

17 years agoCleanup (add prototypes)
Hallvard Furuseth [Sun, 10 Jun 2007 22:06:28 +0000 (22:06 +0000)]
Cleanup (add prototypes)

17 years agore-fix ITS#4936
Pierangelo Masarati [Sun, 10 Jun 2007 21:55:39 +0000 (21:55 +0000)]
re-fix ITS#4936

17 years agoint -> ber_socklen_t for getsockname()
Hallvard Furuseth [Sun, 10 Jun 2007 20:35:30 +0000 (20:35 +0000)]
int -> ber_socklen_t for getsockname()

17 years agoint -> ber_socklen_t for getsockopt()
Hallvard Furuseth [Sun, 10 Jun 2007 20:34:05 +0000 (20:34 +0000)]
int -> ber_socklen_t for getsockopt()

17 years agoITS#5007: Rename label "leave"; OSF1 pthread.h makes it as an exception keyword
Hallvard Furuseth [Sat, 9 Jun 2007 23:45:23 +0000 (23:45 +0000)]
ITS#5007: Rename label "leave"; OSF1 pthread.h makes it as an exception keyword

17 years agoITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL.
Hallvard Furuseth [Sat, 9 Jun 2007 23:43:02 +0000 (23:43 +0000)]
ITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL.

17 years agoITS#5007: Remove void* pointer arithmetic, that's a gcc extension.
Hallvard Furuseth [Sat, 9 Jun 2007 23:41:36 +0000 (23:41 +0000)]
ITS#5007: Remove void* pointer arithmetic, that's a gcc extension.

17 years agoRegenerate for ITS#4629
Hallvard Furuseth [Sat, 9 Jun 2007 23:38:13 +0000 (23:38 +0000)]
Regenerate for ITS#4629

17 years agoFix HP-UX crash: Replace socklen_t with ber_socklen_t from configure. ITS#4629.
Hallvard Furuseth [Sat, 9 Jun 2007 23:35:20 +0000 (23:35 +0000)]
Fix HP-UX crash: Replace socklen_t with ber_socklen_t from configure. ITS#4629.

17 years agoSource complete.
Gavin Henry [Sat, 9 Jun 2007 22:54:05 +0000 (22:54 +0000)]
Source complete.

17 years agoallow host resolution via DNS SRV based on the DN portion of the URI if no host is...
Pierangelo Masarati [Sat, 9 Jun 2007 18:25:51 +0000 (18:25 +0000)]
allow host resolution via DNS SRV based on the DN portion of the URI if no host is provided (ITS#4996)

17 years agouse libexecdir as default module path (ITS#4936)
Pierangelo Masarati [Sat, 9 Jun 2007 17:49:39 +0000 (17:49 +0000)]
use libexecdir as default module path (ITS#4936)

17 years agotemporary fix to ITS#4986; does not break current tests, but needs review
Pierangelo Masarati [Sat, 9 Jun 2007 16:28:35 +0000 (16:28 +0000)]
temporary fix to ITS#4986; does not break current tests, but needs review

17 years agofix SASL ssf logging (ITS#5001)
Pierangelo Masarati [Sat, 9 Jun 2007 15:31:46 +0000 (15:31 +0000)]
fix SASL ssf logging (ITS#5001)

17 years agoautchId must be a (quoted) id, and can't be a DN; as a consequence, no need for leadi...
Pierangelo Masarati [Sat, 9 Jun 2007 15:29:46 +0000 (15:29 +0000)]
autchId must be a (quoted) id, and can't be a DN; as a consequence, no need for leading 'u:'

17 years agofix header
Pierangelo Masarati [Sat, 9 Jun 2007 15:28:34 +0000 (15:28 +0000)]
fix header

17 years agodo not try to register custom monitor stuff when subordinate (related to ITS#4965...
Pierangelo Masarati [Sat, 9 Jun 2007 14:14:45 +0000 (14:14 +0000)]
do not try to register custom monitor stuff when subordinate (related to ITS#4965); note: this might not be the best solution, because it does not allow to monitor subordinate databases; however, right now it's necessary, since subodinate databases do not register themselves in back-monitor

17 years agoallow internal access to monitor database (as per ITS#4965)
Pierangelo Masarati [Sat, 9 Jun 2007 14:13:04 +0000 (14:13 +0000)]
allow internal access to monitor database (as per ITS#4965)

17 years agoalways complain when custom monitor stuff cannot be registered (ITS#4965)
Pierangelo Masarati [Sat, 9 Jun 2007 14:11:16 +0000 (14:11 +0000)]
always complain when custom monitor stuff cannot be registered (ITS#4965)

17 years agoITS#4992 fix cldap
Howard Chu [Fri, 8 Jun 2007 09:40:17 +0000 (09:40 +0000)]
ITS#4992 fix cldap

17 years agoITS#4970 ignore pwdMinAge if pwdReset is TRUE
Howard Chu [Fri, 8 Jun 2007 09:23:49 +0000 (09:23 +0000)]
ITS#4970 ignore pwdMinAge if pwdReset is TRUE

17 years agoITS#4955 fix typo in referral chasing
Howard Chu [Fri, 8 Jun 2007 09:17:00 +0000 (09:17 +0000)]
ITS#4955 fix typo in referral chasing

17 years agoITS#4977 check for cookie parse failure
Howard Chu [Fri, 8 Jun 2007 09:05:35 +0000 (09:05 +0000)]
ITS#4977 check for cookie parse failure

17 years agoStray Eclipse file.
Gavin Henry [Thu, 7 Jun 2007 12:10:30 +0000 (12:10 +0000)]
Stray Eclipse file.

17 years agoNew directory for source images, before being exported to gif format etc.
Gavin Henry [Thu, 7 Jun 2007 12:02:01 +0000 (12:02 +0000)]
New directory for source images, before being exported to gif format etc.

17 years agoStarted converting images to dia, with a new src folder, and started merging of Wiki...
Gavin Henry [Thu, 7 Jun 2007 11:58:56 +0000 (11:58 +0000)]
Started converting images to dia, with a new src folder, and started merging of Wiki docs/info into main guide.

17 years agoRemove ltp_active_list. It became unneeded when rev 1.24 added thread_keys[].
Hallvard Furuseth [Mon, 4 Jun 2007 22:18:01 +0000 (22:18 +0000)]
Remove ltp_active_list.  It became unneeded when rev 1.24 added thread_keys[].
Tighten loop in pool_pause(): Omit unneeded ltp_pcond signals since rev 1.64.
Fix comment.

17 years agoDates and OpenLDAP CVS tag
Gavin Henry [Sun, 3 Jun 2007 23:57:58 +0000 (23:57 +0000)]
Dates and OpenLDAP CVS tag

17 years agoChange date to 2007.
Gavin Henry [Sun, 3 Jun 2007 23:54:11 +0000 (23:54 +0000)]
Change date to 2007.

17 years agoneeds portable.h
Pierangelo Masarati [Sat, 2 Jun 2007 11:31:17 +0000 (11:31 +0000)]
needs portable.h

17 years agomake searches expand all matching sets of group/url[/member] configurations; relax...
Pierangelo Masarati [Sat, 2 Jun 2007 11:27:43 +0000 (11:27 +0000)]
make searches expand all matching sets of group/url[/member] configurations; relax configuration test as per ITS#4989

17 years agofix leak
Pierangelo Masarati [Sat, 2 Jun 2007 10:43:02 +0000 (10:43 +0000)]
fix leak

17 years agoclarify use of -y (as per ITS#4994)
Pierangelo Masarati [Sat, 2 Jun 2007 10:19:10 +0000 (10:19 +0000)]
clarify use of -y (as per ITS#4994)

17 years agoAdding # $
Gavin Henry [Fri, 1 Jun 2007 21:56:17 +0000 (21:56 +0000)]
Adding # $

17 years agoMoving from Slurpd.
Gavin Henry [Fri, 1 Jun 2007 19:47:02 +0000 (19:47 +0000)]
Moving from Slurpd.

17 years agoNew TOC, new sdf files and merging/reworking of existing data. Makefile updated and...
Gavin Henry [Fri, 1 Jun 2007 17:45:42 +0000 (17:45 +0000)]
New TOC, new sdf files and merging/reworking of existing data. Makefile updated and tested also.

17 years agoSimplify: Remove tid_zero, thread_keys[].id and ldap_int_main_tid.
Hallvard Furuseth [Fri, 1 Jun 2007 15:24:19 +0000 (15:24 +0000)]
Simplify: Remove tid_zero, thread_keys[].id and ldap_int_main_tid.
Not needed after ldap_int_thread_userctx_t.ltu_id was added and
_pool_wrapper took care not to update thread_keys[] during pauses.
Fix bogus thread_keys[].ctx comment.

17 years agothread pool data was accessed through the wrong type
Hallvard Furuseth [Thu, 31 May 2007 20:52:15 +0000 (20:52 +0000)]
thread pool data was accessed through the wrong type

17 years agoAdd comments. Constify tid_zero. Shut up gcc -Wswitch. if(!tpool)->assert().
Hallvard Furuseth [Thu, 31 May 2007 19:47:38 +0000 (19:47 +0000)]
Add comments. Constify tid_zero. Shut up gcc -Wswitch. if(!tpool)->assert().

17 years agoAdd variable ldap_int_has_thread_pool, assert(at most one pool);
Hallvard Furuseth [Thu, 31 May 2007 17:15:54 +0000 (17:15 +0000)]
Add variable ldap_int_has_thread_pool, assert(at most one pool);

17 years agoShut up gcc -Wformat
Hallvard Furuseth [Thu, 31 May 2007 17:07:57 +0000 (17:07 +0000)]
Shut up gcc -Wformat

17 years agoITS#4991 restore save_attrs when a request is finished to let do_search()
Ralf Haferkamp [Thu, 31 May 2007 15:49:45 +0000 (15:49 +0000)]
ITS#4991 restore save_attrs when a request is finished to let do_search()
cleanup correctly

17 years agoITS#4991 restore mapped AttributeNames before processing a response
Ralf Haferkamp [Thu, 31 May 2007 15:46:46 +0000 (15:46 +0000)]
ITS#4991 restore mapped AttributeNames before processing a response

17 years agoIn pool_submit():
Hallvard Furuseth [Thu, 31 May 2007 12:47:24 +0000 (12:47 +0000)]
In pool_submit():
- Move problematic mutex_unlock()-mutex_lock() into the unused #ifdef
  LDAP_PVT_THREAD_POOL_SEM_LOAD_CONTROL and add a FIXME comment inside.
- Delay ltp_starting--; until pool_wrapper().  Nonzero value could otherwise
  no longer be exposed when !defined LDAP_PVT_THREAD_POOL_SEM_LOAD_CONTROL.

17 years agoPreserve key order when deleting, so context_reset will free last keys first.
Hallvard Furuseth [Thu, 31 May 2007 12:08:50 +0000 (12:08 +0000)]
Preserve key order when deleting, so context_reset will free last keys first.

17 years agoMake get_thread_info() static. Handle ldap_pvt_thread_pool_t = int (not ptr).
Hallvard Furuseth [Wed, 30 May 2007 22:20:20 +0000 (22:20 +0000)]
Make get_thread_info() static.  Handle ldap_pvt_thread_pool_t = int (not ptr).

17 years agoITS#4966 valsort_modify: ignore Delete modops with no values
Howard Chu [Fri, 25 May 2007 00:58:59 +0000 (00:58 +0000)]
ITS#4966 valsort_modify: ignore Delete modops with no values

17 years agoRegenerate with gnutls TLS_LIBS
Howard Chu [Wed, 23 May 2007 23:29:46 +0000 (23:29 +0000)]
Regenerate with gnutls TLS_LIBS

17 years agoMust set TLS_LIBS for gnutls
Howard Chu [Wed, 23 May 2007 23:28:11 +0000 (23:28 +0000)]
Must set TLS_LIBS for gnutls

17 years agoUse IANA-assigned OID for entryDN and remove hide flag.
Kurt Zeilenga [Wed, 23 May 2007 03:54:31 +0000 (03:54 +0000)]
Use IANA-assigned OID for entryDN and remove hide flag.

17 years agoZero value example for pwdAccountLockedTime (ITS#4978)
Gavin Henry [Tue, 22 May 2007 14:20:04 +0000 (14:20 +0000)]
Zero value example for pwdAccountLockedTime (ITS#4978)

17 years agoclarify that slapo-rwm could hide rootDSE and subschema
Pierangelo Masarati [Mon, 21 May 2007 00:01:49 +0000 (00:01 +0000)]
clarify that slapo-rwm could hide rootDSE and subschema

17 years agoFix --without-tls (ITS#4975). Enable certificate matching.
Hallvard Furuseth [Sun, 20 May 2007 22:48:21 +0000 (22:48 +0000)]
Fix --without-tls (ITS#4975).  Enable certificate matching.

17 years agoPrevious message should have gone in ITS. It is ITS#4974.
Hallvard Furuseth [Sun, 20 May 2007 20:06:32 +0000 (20:06 +0000)]
Previous message should have gone in ITS.  It is ITS#4974.

17 years agolibldap/tls.c calls CRYPTO_set_id_callback(ldap_pvt_thread_self), which
Hallvard Furuseth [Sun, 20 May 2007 20:02:52 +0000 (20:02 +0000)]
libldap/tls.c calls CRYPTO_set_id_callback(ldap_pvt_thread_self), which
causes ldap_pvt_thread_self to be called with the wrong prototype.

That can cause OpenSSL to use a garbage value, e.g. if the unsigned
long it expects takes two words but ldap_pvt_thread_t is an int.

I'm fixing it in HEAD now and also provoking an error if unsigned
long cannot hold a ldap_pvt_thread_t.  Otherwise it can silently
compile to broken code.  Maybe the latter should go in configure,
but since OpenSSL presumably breaks anyway if that fails I don't
see much point at this time.

17 years agoOnly use terminal escapes (in $TB/$TN) when printing to a terminal.
Hallvard Furuseth [Sat, 19 May 2007 21:26:54 +0000 (21:26 +0000)]
Only use terminal escapes (in $TB/$TN) when printing to a terminal.
Remove a bogus 'waiting' message; the script does not sleep there.

17 years agotest fix to ITS#4964
Pierangelo Masarati [Sat, 19 May 2007 14:17:34 +0000 (14:17 +0000)]
test fix to ITS#4964

17 years agomore ITS#4973 initialization
Pierangelo Masarati [Sat, 19 May 2007 14:12:24 +0000 (14:12 +0000)]
more ITS#4973 initialization

17 years agore-parse ID from passmod request, if necessary (ultimately fixes ITS#4964, along...
Pierangelo Masarati [Sat, 19 May 2007 14:08:49 +0000 (14:08 +0000)]
re-parse ID from passmod request, if necessary (ultimately fixes ITS#4964, along with fix to ITS#4973)

17 years agorelated to ITS#4973
Pierangelo Masarati [Sat, 19 May 2007 14:06:42 +0000 (14:06 +0000)]
related to ITS#4973

17 years agoGive OperationBuffer normal struct members instead of using
Hallvard Furuseth [Fri, 18 May 2007 23:54:26 +0000 (23:54 +0000)]
Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.

17 years agoRegenerate
Hallvard Furuseth [Fri, 18 May 2007 18:53:10 +0000 (18:53 +0000)]
Regenerate

17 years agoOnly use terminal escapes (in $TB/$TN) when printing to a terminal.
Hallvard Furuseth [Fri, 18 May 2007 18:42:59 +0000 (18:42 +0000)]
Only use terminal escapes (in $TB/$TN) when printing to a terminal.

17 years agoITS#4972: $LDAP_THREAD_DEBUG, detached threads, debug_already_initialized().
Hallvard Furuseth [Fri, 18 May 2007 17:49:38 +0000 (17:49 +0000)]
ITS#4972: $LDAP_THREAD_DEBUG, detached threads, debug_already_initialized().

Also plug a memory leak, set state vars even when unused for the sake of
debugging, and tweak some readability issues & data types.

17 years agoclean-local: Delete configpw configpw.conf
Hallvard Furuseth [Fri, 18 May 2007 15:32:50 +0000 (15:32 +0000)]
clean-local: Delete configpw configpw.conf

17 years agoReadability patch: ERRVAL() macro for pthreads < 7 vs. >= 7 return values.
Hallvard Furuseth [Fri, 18 May 2007 15:28:09 +0000 (15:28 +0000)]
Readability patch: ERRVAL() macro for pthreads < 7 vs. >= 7 return values.

17 years agoRe-fixing ITS#2667: test -a and test -o unportable, use && and ||.
Hallvard Furuseth [Fri, 18 May 2007 15:23:28 +0000 (15:23 +0000)]
Re-fixing ITS#2667: test -a and test -o unportable, use && and ||.

17 years agoOnly define x509_cert_get_dn() when HAVE_GNUTLS. Remove unused variable.
Hallvard Furuseth [Fri, 18 May 2007 15:10:15 +0000 (15:10 +0000)]
Only define x509_cert_get_dn() when HAVE_GNUTLS.  Remove unused variable.