]> git.sur5r.net Git - openldap/log
openldap
21 years agocleanup
Kurt Zeilenga [Fri, 13 Dec 2002 00:18:54 +0000 (00:18 +0000)]
cleanup

21 years agoAdded searchstack keyword description. (Sorry, I don't like the word "slab"...)
Howard Chu [Thu, 12 Dec 2002 23:39:21 +0000 (23:39 +0000)]
Added searchstack keyword description. (Sorry, I don't like the word "slab"...)

21 years agoFactor out common client code to file common.c
Hallvard Furuseth [Thu, 12 Dec 2002 16:32:26 +0000 (16:32 +0000)]
Factor out common client code to file common.c

21 years agoImplement user-defined tagging attribute options and ranges
Hallvard Furuseth [Thu, 12 Dec 2002 13:56:05 +0000 (13:56 +0000)]
Implement user-defined tagging attribute options and ranges

21 years agoFix ITS#2234 canonicalization bug
Howard Chu [Thu, 12 Dec 2002 13:49:25 +0000 (13:49 +0000)]
Fix ITS#2234 canonicalization bug

21 years agomisc cleanup
Kurt Zeilenga [Wed, 11 Dec 2002 20:39:05 +0000 (20:39 +0000)]
misc cleanup

21 years agoundef CONNECTION_INPUT_LOOP, use DATA_READY_LOOP. Seems to help prevent
Howard Chu [Wed, 11 Dec 2002 18:36:02 +0000 (18:36 +0000)]
undef CONNECTION_INPUT_LOOP, use DATA_READY_LOOP. Seems to help prevent
hangs in heavy load situations.

21 years agoMust use reentrant gethostbyaddr for reverse lookups. Other threads may
Howard Chu [Wed, 11 Dec 2002 16:36:36 +0000 (16:36 +0000)]
Must use reentrant gethostbyaddr for reverse lookups. Other threads may
be doing lookups too (e.g., SASL/GSSAPI)

21 years agoFix previous commit, fstat arg was wrong.
Howard Chu [Wed, 11 Dec 2002 10:58:02 +0000 (10:58 +0000)]
Fix previous commit, fstat arg was wrong.

21 years agoFix const errors.
Hallvard Furuseth [Wed, 11 Dec 2002 08:30:29 +0000 (08:30 +0000)]
Fix const errors.

21 years agoPlug memory leak from ldap_<first/next>_attribute().
Hallvard Furuseth [Wed, 11 Dec 2002 08:28:42 +0000 (08:28 +0000)]
Plug memory leak from ldap_<first/next>_attribute().

21 years agoBumped stack size up from 2M to 4M, 2M is too small on Solaris
Howard Chu [Wed, 11 Dec 2002 04:35:05 +0000 (04:35 +0000)]
Bumped stack size up from 2M to 4M, 2M is too small on Solaris

21 years agoFix ITS#2227, nameUIDNormalize fell behind the times...
Howard Chu [Wed, 11 Dec 2002 01:33:24 +0000 (01:33 +0000)]
Fix ITS#2227, nameUIDNormalize fell behind the times...

21 years agoFix previous commit, check for dup in avl_insert
Howard Chu [Tue, 10 Dec 2002 20:56:08 +0000 (20:56 +0000)]
Fix previous commit, check for dup in avl_insert

21 years agoAdded config keyword "searchstack" for setting search stack cache depth.
Howard Chu [Tue, 10 Dec 2002 20:33:49 +0000 (20:33 +0000)]
Added config keyword "searchstack" for setting search stack cache depth.
Default is still 16.

Added IDL caching, modified from ITS#2182. Uses "idlcachesize" config
keyword. Code is #ifdef'd, currently defined, with default cache of 0.

21 years agoFrom ITS#2183, use a long-lived IDL stack per thread.
Howard Chu [Tue, 10 Dec 2002 17:59:21 +0000 (17:59 +0000)]
From ITS#2183, use a long-lived IDL stack per thread.

21 years agoMake digit a local static variable instead of a global
Kurt Zeilenga [Tue, 10 Dec 2002 16:44:02 +0000 (16:44 +0000)]
Make digit a local static variable instead of a global

21 years agoITS#2215: Let Statslog() work if only one of LDAP_DEBUG/LDAP_SYSLOG is #defined
Hallvard Furuseth [Mon, 9 Dec 2002 18:18:14 +0000 (18:18 +0000)]
ITS#2215: Let Statslog() work if only one of LDAP_DEBUG/LDAP_SYSLOG is #defined

21 years agorebuild
Kurt Zeilenga [Mon, 9 Dec 2002 16:46:47 +0000 (16:46 +0000)]
rebuild

21 years agoanother attempt to fix slapi build sequence ...
Pierangelo Masarati [Mon, 9 Dec 2002 12:17:23 +0000 (12:17 +0000)]
another attempt to fix slapi build sequence ...

21 years agoUpdate '-c' error handling, so error in any operation returns error from main.
Hallvard Furuseth [Mon, 9 Dec 2002 11:02:28 +0000 (11:02 +0000)]
Update '-c' error handling, so error in any operation returns error from main.

21 years agoexpand authid buffer
Kurt Zeilenga [Sun, 8 Dec 2002 07:56:49 +0000 (07:56 +0000)]
expand authid buffer

21 years agofix previous commit
Pierangelo Masarati [Sat, 7 Dec 2002 19:19:26 +0000 (19:19 +0000)]
fix previous commit

21 years agofix previous commit
Pierangelo Masarati [Sat, 7 Dec 2002 19:00:34 +0000 (19:00 +0000)]
fix previous commit

21 years agoDisable slapi by default (for now)
Kurt Zeilenga [Sat, 7 Dec 2002 18:52:55 +0000 (18:52 +0000)]
Disable slapi by default (for now)
Rebuild configure

21 years agoCatch NULL control OID up front.
Kurt Zeilenga [Sat, 7 Dec 2002 18:35:22 +0000 (18:35 +0000)]
Catch NULL control OID up front.

21 years agoAvoid magic constant (32) in allocation. Use sizeof instead
Kurt Zeilenga [Sat, 7 Dec 2002 18:34:25 +0000 (18:34 +0000)]
Avoid magic constant (32) in allocation.  Use sizeof instead

21 years agoInclude <ac/unistd.h> not <sys/types.h> and <unistd.h>
Kurt Zeilenga [Sat, 7 Dec 2002 18:32:40 +0000 (18:32 +0000)]
Include <ac/unistd.h> not <sys/types.h> and <unistd.h>
Use sizeof( string ) to determine buffer size
Put authzDN in same for as used on server
(We could, just as well, set authid to "fubar" as it matters
not what it is set to)

21 years agosome todo stuff
Pierangelo Masarati [Sat, 7 Dec 2002 18:31:25 +0000 (18:31 +0000)]
some todo stuff

21 years agoa skeleton of slapd.conf directives for SLAPI configuration (lot to do)
Pierangelo Masarati [Sat, 7 Dec 2002 18:03:13 +0000 (18:03 +0000)]
a skeleton of slapd.conf directives for SLAPI configuration (lot to do)

21 years agoon my system need headers to define geteuid() and so
Pierangelo Masarati [Sat, 7 Dec 2002 17:32:33 +0000 (17:32 +0000)]
on my system need headers to define geteuid() and so

21 years agoSLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani...
Pierangelo Masarati [Sat, 7 Dec 2002 17:19:29 +0000 (17:19 +0000)]
SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani <somrani@us.ibm.com> as ITS#2073

21 years agoFor LDAP_PROTO_IPC set the SASL EXTERNAL authid to allow the mech to be
Howard Chu [Sat, 7 Dec 2002 13:06:20 +0000 (13:06 +0000)]
For LDAP_PROTO_IPC set the SASL EXTERNAL authid to allow the mech to be
used by the client side. Please review.

21 years agoFinish proxy authzid control
Kurt Zeilenga [Thu, 5 Dec 2002 18:14:02 +0000 (18:14 +0000)]
Finish proxy authzid control

21 years agoAllow the root DN to switch to any authorization identity.
Luke Howard [Thu, 5 Dec 2002 12:25:16 +0000 (12:25 +0000)]
Allow the root DN to switch to any authorization identity.

21 years agofix initialization size and silence warning
Pierangelo Masarati [Thu, 5 Dec 2002 11:47:44 +0000 (11:47 +0000)]
fix initialization size and silence warning

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]]

21 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