]> git.sur5r.net Git - openldap/log
openldap
21 years agoMinor cleanup
Kurt Zeilenga [Thu, 5 Dec 2002 03:30:20 +0000 (03:30 +0000)]
Minor cleanup

21 years agoAdd ldapwhoami/ldapcompre to flags map
Kurt Zeilenga [Thu, 5 Dec 2002 00:19:21 +0000 (00:19 +0000)]
Add ldapwhoami/ldapcompre to flags map

21 years agoFix typo in prev commit value_find/_ex
Howard Chu [Wed, 4 Dec 2002 23:20:22 +0000 (23:20 +0000)]
Fix typo in prev commit value_find/_ex

21 years agoFix slap_sasl2dn(), performing internal search with wrong op.o_ndn.
Howard Chu [Wed, 4 Dec 2002 22:37:51 +0000 (22:37 +0000)]
Fix slap_sasl2dn(), performing internal search with wrong op.o_ndn.

21 years agoFix prev commit - require passed descriptor to be a pipe (FIFO) and
Howard Chu [Wed, 4 Dec 2002 20:50:19 +0000 (20:50 +0000)]
Fix prev commit - require passed descriptor to be a pipe (FIFO) and
require it to only be accessible by its owner, otherwise ignore it.

21 years agoAdded SLAP_MR_VALUE_NORMALIZED_MATCH, avoid redundant normalize when
Howard Chu [Wed, 4 Dec 2002 18:19:46 +0000 (18:19 +0000)]
Added SLAP_MR_VALUE_NORMALIZED_MATCH, avoid redundant normalize when
calling value_find with already-normalized DNs

21 years agoFix Solaris SEGV when base is not specified
Howard Chu [Wed, 4 Dec 2002 16:47:35 +0000 (16:47 +0000)]
Fix Solaris SEGV when base is not specified

21 years agoAdded check for sendmsg(). Added hack to use BSD sendmsg()/recvmsg() to
Howard Chu [Wed, 4 Dec 2002 16:03:02 +0000 (16:03 +0000)]
Added check for sendmsg(). Added hack to use BSD sendmsg()/recvmsg() to
propagate peer creds if no explicit PEERCRED facility exists. Works
on Solaris 8.

21 years agoUse getpeereid(3) where available else use *_PEERCRED replacment function
Kurt Zeilenga [Wed, 4 Dec 2002 06:17:32 +0000 (06:17 +0000)]
Use getpeereid(3) where available else use *_PEERCRED replacment function

21 years agoregen
Kurt Zeilenga [Wed, 4 Dec 2002 05:15:59 +0000 (05:15 +0000)]
regen

21 years agocleanup
Kurt Zeilenga [Wed, 4 Dec 2002 05:13:14 +0000 (05:13 +0000)]
cleanup

21 years agoAdd LTHREAD_LIBS to BDB tests
Kurt Zeilenga [Wed, 4 Dec 2002 05:09:58 +0000 (05:09 +0000)]
Add LTHREAD_LIBS to BDB tests

21 years agoRework libldap to not attempt to set LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
Kurt Zeilenga [Wed, 4 Dec 2002 04:51:55 +0000 (04:51 +0000)]
Rework libldap to not attempt to set LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE

21 years agoSupport SO_PEERCRED SASL EXTERNAL authorization.
Luke Howard [Wed, 4 Dec 2002 04:14:44 +0000 (04:14 +0000)]
Support SO_PEERCRED SASL EXTERNAL authorization.

21 years agoTreat all EXTERNAL DNs are already normalized.
Luke Howard [Wed, 4 Dec 2002 04:13:20 +0000 (04:13 +0000)]
Treat all EXTERNAL DNs are already normalized.

21 years agoITS#1523 enhanced ACL caching
Howard Chu [Wed, 4 Dec 2002 02:35:00 +0000 (02:35 +0000)]
ITS#1523 enhanced ACL caching

21 years agoremove proxy authorization (as first-cut was committed)
Kurt Zeilenga [Tue, 3 Dec 2002 18:45:42 +0000 (18:45 +0000)]
remove proxy authorization (as first-cut was committed)

21 years agoFixed minor compile errors in LDAP_LOG debug statements.
Julius Enarusai [Tue, 3 Dec 2002 17:06:58 +0000 (17:06 +0000)]
Fixed minor compile errors in LDAP_LOG debug statements.

21 years agoFirst-cut proxy authorization support.
Kurt Zeilenga [Tue, 3 Dec 2002 06:11:32 +0000 (06:11 +0000)]
First-cut proxy authorization support.

21 years agoITS#2221: getaddrinfo(3) not thread-safe on some platforms (namely
Kurt Zeilenga [Tue, 3 Dec 2002 01:15:03 +0000 (01:15 +0000)]
ITS#2221: getaddrinfo(3) not thread-safe on some platforms (namely
due to res_() routines).  Change all res_() dependent routines to
share same mutex.

21 years agoNever let ldif_parse_line() return a NULL value with success.
Hallvard Furuseth [Mon, 2 Dec 2002 22:46:07 +0000 (22:46 +0000)]
Never let ldif_parse_line() return a NULL value with success.

21 years agoOutput from ldif_fetch_url() is expected to be \0-terminated.
Hallvard Furuseth [Mon, 2 Dec 2002 22:08:26 +0000 (22:08 +0000)]
Output from ldif_fetch_url() is expected to be \0-terminated.

21 years agoldif_fetch_url() would return NULL value or pointless memory if file was empty
Hallvard Furuseth [Mon, 2 Dec 2002 21:46:58 +0000 (21:46 +0000)]
ldif_fetch_url() would return NULL value or pointless memory if file was empty

21 years agoRemove extraneous empty check
Kurt Zeilenga [Mon, 2 Dec 2002 18:46:53 +0000 (18:46 +0000)]
Remove extraneous empty check

21 years agoEsthetic change: Move break; out of if() to before the next case:
Hallvard Furuseth [Mon, 2 Dec 2002 15:46:53 +0000 (15:46 +0000)]
Esthetic change:  Move break; out of if() to before the next case:

21 years agoPlug memory leak in ldif_parse_line() if ber_strdup( type ) failed && url.
Hallvard Furuseth [Mon, 2 Dec 2002 11:14:13 +0000 (11:14 +0000)]
Plug memory leak in ldif_parse_line() if ber_strdup( type ) failed && url.

21 years agoITS#2218: fix empty values w/ spaces
Kurt Zeilenga [Mon, 2 Dec 2002 04:19:01 +0000 (04:19 +0000)]
ITS#2218: fix empty values w/ spaces

21 years agoput 'break' only at the end of the 'case'
Pierangelo Masarati [Sun, 1 Dec 2002 19:07:05 +0000 (19:07 +0000)]
put 'break' only at the end of the 'case'

21 years agoA search requesting 'cn;lang-en-' did not find 'cn;lang-en'.
Hallvard Furuseth [Sat, 30 Nov 2002 20:00:01 +0000 (20:00 +0000)]
A search requesting 'cn;lang-en-' did not find 'cn;lang-en'.

21 years agoldapsearch -E subentries=... lacked a break; for case 'E':
Hallvard Furuseth [Sat, 30 Nov 2002 19:17:14 +0000 (19:17 +0000)]
ldapsearch -E subentries=... lacked a break; for case 'E':

21 years agofix handling of anomalous databases, like subordinate ones (as suggested by Howard)
Pierangelo Masarati [Fri, 29 Nov 2002 17:43:28 +0000 (17:43 +0000)]
fix handling of anomalous databases, like subordinate ones (as suggested by Howard)

21 years agoClean up error messages
Kurt Zeilenga [Fri, 29 Nov 2002 02:49:11 +0000 (02:49 +0000)]
Clean up error messages

21 years agoFix ITS#2214, clear gs->matched after freeing it.
Howard Chu [Thu, 28 Nov 2002 17:20:17 +0000 (17:20 +0000)]
Fix ITS#2214, clear gs->matched after freeing it.

21 years agoFix ITS#2200, must use SASL creds exactly as received
Howard Chu [Thu, 28 Nov 2002 16:16:05 +0000 (16:16 +0000)]
Fix ITS#2200, must use SASL creds exactly as received

21 years agoFix ITS#2200, must send non-NULL cred even if it's zero-length.
Howard Chu [Thu, 28 Nov 2002 16:15:27 +0000 (16:15 +0000)]
Fix ITS#2200, must send non-NULL cred even if it's zero-length.

21 years agoMore streamlining.
Howard Chu [Thu, 28 Nov 2002 15:47:06 +0000 (15:47 +0000)]
More streamlining.

21 years agoDon't use be_private to point to our glueinfo. This allows underlying
Howard Chu [Thu, 28 Nov 2002 15:17:26 +0000 (15:17 +0000)]
Don't use be_private to point to our glueinfo. This allows underlying
backends to be called directly, instead of having to wrap every function.
Delete unneeded wrappers.

21 years agoperhaps the assert can be removed; should work now
Pierangelo Masarati [Thu, 28 Nov 2002 08:25:12 +0000 (08:25 +0000)]
perhaps the assert can be removed; should work now

21 years agoAdd -e authzid argument processing
Kurt Zeilenga [Thu, 28 Nov 2002 05:56:19 +0000 (05:56 +0000)]
Add -e authzid argument processing

21 years ago#unifdef paged results, remove lint
Kurt Zeilenga [Thu, 28 Nov 2002 04:38:41 +0000 (04:38 +0000)]
#unifdef paged results, remove lint

21 years agoFix error handling
Kurt Zeilenga [Thu, 28 Nov 2002 04:36:22 +0000 (04:36 +0000)]
Fix error handling

21 years agoUse ldap_whoami_s(3)
Kurt Zeilenga [Thu, 28 Nov 2002 03:14:54 +0000 (03:14 +0000)]
Use ldap_whoami_s(3)

21 years agoAdd whoami.c and passwd.c and other minor tweaks to control cleanups
Kurt Zeilenga [Thu, 28 Nov 2002 02:44:38 +0000 (02:44 +0000)]
Add whoami.c and passwd.c and other minor tweaks to control cleanups

21 years agoproxy authz control (client only)
Kurt Zeilenga [Thu, 28 Nov 2002 02:26:55 +0000 (02:26 +0000)]
proxy authz control (client only)
Misc control cleanups (client only)

21 years agoRevamp TODO list a bit
Kurt Zeilenga [Wed, 27 Nov 2002 19:56:58 +0000 (19:56 +0000)]
Revamp TODO list a bit

21 years agoITS#2128, setvbuf is unreliable
Howard Chu [Wed, 27 Nov 2002 04:13:19 +0000 (04:13 +0000)]
ITS#2128, setvbuf is unreliable

21 years agoFix ITS#2187, recursively free all requests
Howard Chu [Wed, 27 Nov 2002 03:57:36 +0000 (03:57 +0000)]
Fix ITS#2187, recursively free all requests

21 years agoITS#2184 maxbuf tweaks from Larry Greenfield @ CMU
Howard Chu [Wed, 27 Nov 2002 03:51:46 +0000 (03:51 +0000)]
ITS#2184 maxbuf tweaks from Larry Greenfield @ CMU

21 years agoITS#2202, set SASL_SUCCESS_DATA on sasl_server_new().
Howard Chu [Wed, 27 Nov 2002 03:49:04 +0000 (03:49 +0000)]
ITS#2202, set SASL_SUCCESS_DATA on sasl_server_new().

21 years agoFix ITS#2200, revert patch in rev 1.128. SASL/Kerberos4 requires a patch
Howard Chu [Wed, 27 Nov 2002 03:46:42 +0000 (03:46 +0000)]
Fix ITS#2200, revert patch in rev 1.128. SASL/Kerberos4 requires a patch
to Cyrus SASL lib/server.c, can't fix it here.

21 years agoReorder header inclusion to resolve ITS#2204.
Kurt Zeilenga [Tue, 26 Nov 2002 20:22:24 +0000 (20:22 +0000)]
Reorder header inclusion to resolve ITS#2204.

21 years agoReorder build order to ensure -llutil is available -llber and
Kurt Zeilenga [Tue, 26 Nov 2002 20:18:03 +0000 (20:18 +0000)]
Reorder build order to ensure -llutil is available -llber and
-llber is available for -llunicode.  Add -llber to ucgendat
(to pick up snprintf).

21 years agoSet -static when doing build from CVS
Kurt Zeilenga [Tue, 26 Nov 2002 18:11:05 +0000 (18:11 +0000)]
Set -static when doing build from CVS

21 years agoRemove autoconf task, best left to a committer (or me)
Kurt Zeilenga [Tue, 26 Nov 2002 17:57:32 +0000 (17:57 +0000)]
Remove autoconf task, best left to a committer (or me)

21 years agoClean up examples
Kurt Zeilenga [Tue, 26 Nov 2002 17:56:51 +0000 (17:56 +0000)]
Clean up examples

21 years agocleanup
Pierangelo Masarati [Mon, 25 Nov 2002 23:37:54 +0000 (23:37 +0000)]
cleanup

21 years agosilence warning
Pierangelo Masarati [Mon, 25 Nov 2002 23:37:10 +0000 (23:37 +0000)]
silence warning

21 years agomuch better fix for ITS#2196 (dnattr without sat_equality is bounced at config)
Pierangelo Masarati [Mon, 25 Nov 2002 18:37:04 +0000 (18:37 +0000)]
much better fix for ITS#2196 (dnattr without sat_equality is bounced at config)

21 years agofix -h option example for multi-URI handling (as suggested by Roland Bauerschmidt...
Pierangelo Masarati [Sun, 24 Nov 2002 21:52:48 +0000 (21:52 +0000)]
fix -h option example for multi-URI handling (as suggested by Roland Bauerschmidt <rb@debian.org>)

21 years agomr should not be NULL; fixes ITS#2196
Pierangelo Masarati [Sun, 24 Nov 2002 21:36:14 +0000 (21:36 +0000)]
mr should not be NULL; fixes ITS#2196

21 years agoITS#2176: Change password on slave when multimaster is enabled (do not use multimaster)
Pierangelo Masarati [Fri, 22 Nov 2002 00:56:20 +0000 (00:56 +0000)]
ITS#2176: Change password on slave when multimaster is enabled (do not use multimaster)

21 years agoremove paged results cruft
Pierangelo Masarati [Thu, 21 Nov 2002 22:37:06 +0000 (22:37 +0000)]
remove paged results cruft

21 years agoenforce the declared behavior when using -L[L[L]]
Pierangelo Masarati [Thu, 21 Nov 2002 22:13:07 +0000 (22:13 +0000)]
enforce the declared behavior when using -L[L[L]]

22 years agoset keyword to noEstimate and document it
Pierangelo Masarati [Thu, 21 Nov 2002 20:57:00 +0000 (20:57 +0000)]
set keyword to noEstimate and document it

22 years agoadd limits to entries count for paged results
Pierangelo Masarati [Thu, 21 Nov 2002 20:49:02 +0000 (20:49 +0000)]
add limits to entries count for paged results

22 years agoseems to be leaking a ber
Pierangelo Masarati [Thu, 21 Nov 2002 20:21:22 +0000 (20:21 +0000)]
seems to be leaking a ber

22 years agoimprove limits handling and consistency
Pierangelo Masarati [Thu, 21 Nov 2002 14:23:39 +0000 (14:23 +0000)]
improve limits handling and consistency

22 years agoimprove limits handling and consistency; return "Admin limit exceeded" instead of...
Pierangelo Masarati [Thu, 21 Nov 2002 12:58:59 +0000 (12:58 +0000)]
improve limits handling and consistency; return "Admin limit exceeded" instead of "Unwilling to perform"

22 years ago- allow interactive pagedResults size change
Pierangelo Masarati [Thu, 21 Nov 2002 03:36:37 +0000 (03:36 +0000)]
- allow interactive pagedResults size change
- implement pagedResults abandon by setting size=0
- misc code cleanup

22 years agoremove cruft
Pierangelo Masarati [Thu, 21 Nov 2002 02:18:31 +0000 (02:18 +0000)]
remove cruft

22 years agofix typo in comment :)
Pierangelo Masarati [Thu, 21 Nov 2002 02:18:13 +0000 (02:18 +0000)]
fix typo in comment :)

22 years agoadd supported controls to backend entries
Pierangelo Masarati [Thu, 21 Nov 2002 02:17:24 +0000 (02:17 +0000)]
add supported controls to backend entries

22 years agoSupport for RFC 2696:
Pierangelo Masarati [Thu, 21 Nov 2002 02:16:53 +0000 (02:16 +0000)]
Support for RFC 2696:
LDAP Control Extension for Simple Paged Results Manipulation

contributed by Lynn Moss <lynnmoss@us.ibm.com> (ITS#2189)

applied with changes.

22 years agofix possible uninitialized use of nmods
Pierangelo Masarati [Thu, 21 Nov 2002 00:31:36 +0000 (00:31 +0000)]
fix possible uninitialized use of nmods

22 years agoConverted ch_malloc and ch_calloc calls to SLAP_MALLOC and SLAP_CALLOC.
Julius Enarusai [Tue, 19 Nov 2002 21:26:09 +0000 (21:26 +0000)]
Converted ch_malloc and ch_calloc calls to SLAP_MALLOC and SLAP_CALLOC.

22 years agoConverted ch_malloc and ch_calloc calls to SLAP_MALLOC and SLAP_CALLOC.
Julius Enarusai [Tue, 19 Nov 2002 20:20:00 +0000 (20:20 +0000)]
Converted ch_malloc and ch_calloc calls to SLAP_MALLOC and SLAP_CALLOC.

22 years agoConverted ch_malloc and ch_calloc calls to SLAP_MALLOC and SLAP_CALLOC.
Julius Enarusai [Tue, 19 Nov 2002 18:24:18 +0000 (18:24 +0000)]
Converted ch_malloc and ch_calloc calls to SLAP_MALLOC and SLAP_CALLOC.

22 years agoConverted ch_calloc and ch_malloc calls to SLAP_CALLOC and SLAP_MALLOC.
Julius Enarusai [Tue, 19 Nov 2002 17:06:17 +0000 (17:06 +0000)]
Converted ch_calloc and ch_malloc calls to SLAP_CALLOC and SLAP_MALLOC.

22 years agoFix is_entry_objectclass flag comparisons (from Jason Townsend @ Apple)
Howard Chu [Mon, 18 Nov 2002 03:56:54 +0000 (03:56 +0000)]
Fix is_entry_objectclass flag comparisons (from Jason Townsend @ Apple)

22 years agoLDAP_TAILQ fix
Jong Hyuk Choi [Wed, 13 Nov 2002 05:50:07 +0000 (05:50 +0000)]
LDAP_TAILQ fix

22 years agoAdd stats to master.log
Kurt Zeilenga [Mon, 11 Nov 2002 19:39:10 +0000 (19:39 +0000)]
Add stats to master.log

22 years agoAdd AUTHZ stats logging
Kurt Zeilenga [Mon, 11 Nov 2002 18:55:45 +0000 (18:55 +0000)]
Add AUTHZ stats logging

22 years agoDelete some old (bad) statslog messages
Kurt Zeilenga [Mon, 11 Nov 2002 18:38:57 +0000 (18:38 +0000)]
Delete some old (bad) statslog messages

22 years agoRebuild
Kurt Zeilenga [Mon, 11 Nov 2002 03:21:14 +0000 (03:21 +0000)]
Rebuild

22 years agoUse vendorName instead of description
Kurt Zeilenga [Mon, 11 Nov 2002 01:08:11 +0000 (01:08 +0000)]
Use vendorName instead of description

22 years agoRoot DSE test
Kurt Zeilenga [Mon, 11 Nov 2002 00:34:38 +0000 (00:34 +0000)]
Root DSE test

22 years agoclose 'for' appropriately; clean also 'replica' subdir
Pierangelo Masarati [Sun, 10 Nov 2002 22:53:37 +0000 (22:53 +0000)]
close 'for' appropriately; clean also 'replica' subdir

22 years agosilence warnings; fix messages
Pierangelo Masarati [Sun, 10 Nov 2002 20:00:44 +0000 (20:00 +0000)]
silence warnings; fix messages

22 years agosilence warnings
Pierangelo Masarati [Sun, 10 Nov 2002 19:57:16 +0000 (19:57 +0000)]
silence warnings

22 years agoremove #ifdef SLAP_FILTER_HASSUBORDINATES
Pierangelo Masarati [Sun, 10 Nov 2002 19:48:36 +0000 (19:48 +0000)]
remove #ifdef SLAP_FILTER_HASSUBORDINATES

22 years agoimprove error messages
Pierangelo Masarati [Sun, 10 Nov 2002 18:16:43 +0000 (18:16 +0000)]
improve error messages

22 years agoRemove extra entry_free()
Kurt Zeilenga [Sun, 10 Nov 2002 06:48:55 +0000 (06:48 +0000)]
Remove extra entry_free()

22 years agoAdd checks for SQL headers in configure.in (need to rerun autoheader
Pierangelo Masarati [Sat, 9 Nov 2002 17:03:07 +0000 (17:03 +0000)]
Add checks for SQL headers in configure.in (need to rerun autoheader
and autoconf); #include "ac/string.h" instead of <string.h>

22 years agoPatch: Wrong args to Debug() and LDAP_LOG() (ITS#2170,2171)
Pierangelo Masarati [Sat, 9 Nov 2002 16:09:50 +0000 (16:09 +0000)]
Patch: Wrong args to Debug() and LDAP_LOG()  (ITS#2170,2171)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

22 years agocleanup str2adlist
Pierangelo Masarati [Sat, 9 Nov 2002 14:46:00 +0000 (14:46 +0000)]
cleanup str2adlist

22 years agoConverted ch_calloc calls to SLAP_CALLOC.
Julius Enarusai [Fri, 8 Nov 2002 18:17:21 +0000 (18:17 +0000)]
Converted ch_calloc calls to SLAP_CALLOC.

22 years agoConverted ch_malloc, ch_calloc and ch_realloc calls to SLAP_MALLOC,
Julius Enarusai [Fri, 8 Nov 2002 17:13:20 +0000 (17:13 +0000)]
Converted ch_malloc, ch_calloc and ch_realloc calls to SLAP_MALLOC,
SLAP_CALLOC and SLAP_REALLOC respectively.

22 years agofix attribute delete (ITS#2158) patch provided by Timofey B. Nickonov <ntb@mts.ru>
Pierangelo Masarati [Sat, 2 Nov 2002 16:00:21 +0000 (16:00 +0000)]
fix attribute delete (ITS#2158) patch provided by Timofey B. Nickonov <ntb@mts.ru>

22 years agoConverted ch_malloc, ch_calloc and ch_realloc calls to SLAP_MALLOC and
Julius Enarusai [Fri, 1 Nov 2002 18:59:52 +0000 (18:59 +0000)]
Converted ch_malloc, ch_calloc and ch_realloc calls to SLAP_MALLOC and
SLAP_CALLOC in add_value/add_value_one functions and propagated errors to
all functions that use these functions.

22 years agoFix sasl_server_start invocation, must pass NULL cred when credlen is 0.
Howard Chu [Fri, 1 Nov 2002 02:14:55 +0000 (02:14 +0000)]
Fix sasl_server_start invocation, must pass NULL cred when credlen is 0.