]> git.sur5r.net Git - openldap/log
openldap
21 years agoMinor cleanup
Kurt Zeilenga [Sat, 21 Dec 2002 22:54:25 +0000 (22:54 +0000)]
Minor cleanup

21 years agobump libtool to 1.4.3
Kurt Zeilenga [Sat, 21 Dec 2002 03:27:31 +0000 (03:27 +0000)]
bump libtool to 1.4.3

21 years agoconfig.guess/sub from libtool 1.4.2
Kurt Zeilenga [Sat, 21 Dec 2002 03:26:40 +0000 (03:26 +0000)]
config.guess/sub from libtool 1.4.2

21 years agoRebuild with new libtool.m4
Kurt Zeilenga [Fri, 20 Dec 2002 18:49:20 +0000 (18:49 +0000)]
Rebuild with new libtool.m4

21 years agoMinor tweak
Kurt Zeilenga [Fri, 20 Dec 2002 18:25:26 +0000 (18:25 +0000)]
Minor tweak

21 years agoUpdate to v1.4.3
Kurt Zeilenga [Fri, 20 Dec 2002 18:22:48 +0000 (18:22 +0000)]
Update to v1.4.3

21 years agoCorrect fix
Kurt Zeilenga [Fri, 20 Dec 2002 17:57:00 +0000 (17:57 +0000)]
Correct fix

21 years agoif 0 out bad statslog
Kurt Zeilenga [Fri, 20 Dec 2002 17:25:51 +0000 (17:25 +0000)]
if 0 out bad statslog

21 years agocleanup
Kurt Zeilenga [Fri, 20 Dec 2002 04:08:06 +0000 (04:08 +0000)]
cleanup

21 years agoFix ITS#2246, fix in rev 1.73 was in the wrong place
Howard Chu [Fri, 20 Dec 2002 00:33:10 +0000 (00:33 +0000)]
Fix ITS#2246, fix in rev 1.73 was in the wrong place

21 years agoPlug memory leak
Howard Chu [Wed, 18 Dec 2002 22:44:13 +0000 (22:44 +0000)]
Plug memory leak

21 years agolcup persistent search option
Jong Hyuk Choi [Wed, 18 Dec 2002 22:09:25 +0000 (22:09 +0000)]
lcup persistent search option

21 years agoAdded subjectAltName:IPADDR tests to ldap_pvt_tls_check_hostname()
Howard Chu [Wed, 18 Dec 2002 21:43:17 +0000 (21:43 +0000)]
Added subjectAltName:IPADDR tests to ldap_pvt_tls_check_hostname()

21 years agoUse ber_flatten2
Howard Chu [Wed, 18 Dec 2002 19:17:15 +0000 (19:17 +0000)]
Use ber_flatten2

21 years agoUse ber_flatten2 to avoid excess mallocs
Howard Chu [Wed, 18 Dec 2002 19:16:31 +0000 (19:16 +0000)]
Use ber_flatten2 to avoid excess mallocs

21 years agoAdded ber_flatten2 - uses passed in struct berval, allocates copy or
Howard Chu [Wed, 18 Dec 2002 19:15:27 +0000 (19:15 +0000)]
Added ber_flatten2 - uses passed in struct berval, allocates copy or
directly re-uses existing ber buf.

21 years agoEliminate redundant steps
Howard Chu [Wed, 18 Dec 2002 19:00:23 +0000 (19:00 +0000)]
Eliminate redundant steps

21 years agoPlug memory leaks from ldap_get_option().
Hallvard Furuseth [Wed, 18 Dec 2002 09:37:21 +0000 (09:37 +0000)]
Plug memory leaks from ldap_get_option().

21 years agoFix previous commit, compare must return signed result
Howard Chu [Wed, 18 Dec 2002 07:55:27 +0000 (07:55 +0000)]
Fix previous commit, compare must return signed result

21 years agoRemove unneeded sasl_ssf param from ldap_int_sasl_open(),
Howard Chu [Wed, 18 Dec 2002 03:09:52 +0000 (03:09 +0000)]
Remove unneeded sasl_ssf param from ldap_int_sasl_open(),
it's set by ldap_int_sasl_external().

21 years agoPlug memory leak
Howard Chu [Wed, 18 Dec 2002 01:58:18 +0000 (01:58 +0000)]
Plug memory leak

21 years agoDon't reeval expression
Kurt Zeilenga [Tue, 17 Dec 2002 05:25:05 +0000 (05:25 +0000)]
Don't reeval expression

21 years agoRevert previous, it was only masking the real problem. And caused more...
Howard Chu [Tue, 17 Dec 2002 04:56:41 +0000 (04:56 +0000)]
Revert previous, it was only masking the real problem. And caused more...

21 years agoFix Statslog messages
Howard Chu [Tue, 17 Dec 2002 00:23:36 +0000 (00:23 +0000)]
Fix Statslog messages

21 years agoFix typo in UDP logmsg
Howard Chu [Mon, 16 Dec 2002 18:17:20 +0000 (18:17 +0000)]
Fix typo in UDP logmsg

21 years agoFix typo in previous commit
Howard Chu [Mon, 16 Dec 2002 12:17:49 +0000 (12:17 +0000)]
Fix typo in previous commit

21 years agoStatslog additions:
Howard Chu [Mon, 16 Dec 2002 12:14:37 +0000 (12:14 +0000)]
Statslog additions:
Added StatslogTest macro.
Added attributes to modify and search Statslog.
Added Statslog of SASL authcid.

21 years agoRemove a useless function pointer cast.
Hallvard Furuseth [Mon, 16 Dec 2002 12:02:54 +0000 (12:02 +0000)]
Remove a useless function pointer cast.

21 years agoRemove a bad function pointer cast.
Hallvard Furuseth [Mon, 16 Dec 2002 09:18:20 +0000 (09:18 +0000)]
Remove a bad function pointer cast.

21 years agoFix typo.
Hallvard Furuseth [Mon, 16 Dec 2002 07:32:06 +0000 (07:32 +0000)]
Fix typo.

21 years agoFix typos.
Hallvard Furuseth [Mon, 16 Dec 2002 07:31:13 +0000 (07:31 +0000)]
Fix typos.

21 years agoMake links to ber_bvfree and others, and add them to NAME section.
Hallvard Furuseth [Mon, 16 Dec 2002 07:29:43 +0000 (07:29 +0000)]
Make links to ber_bvfree and others, and add them to NAME section.

21 years agoFix ldap_extended_s(3) -> ldap_extended_operation(3)
Hallvard Furuseth [Mon, 16 Dec 2002 07:28:10 +0000 (07:28 +0000)]
Fix ldap_extended_s(3) -> ldap_extended_operation(3)

21 years agoFix previous commit, was freeing name from rev-lookup too soon.
Howard Chu [Mon, 16 Dec 2002 00:58:05 +0000 (00:58 +0000)]
Fix previous commit, was freeing name from rev-lookup too soon.

21 years agoRemove casts of AVL function pointers.
Hallvard Furuseth [Sat, 14 Dec 2002 22:25:52 +0000 (22:25 +0000)]
Remove casts of AVL function pointers.

21 years agoCall node_find_cmp() with (void *)&ulong instead of (void *)ulong.
Hallvard Furuseth [Sat, 14 Dec 2002 21:01:08 +0000 (21:01 +0000)]
Call node_find_cmp() with (void *)&ulong instead of (void *)ulong.
The old code assumed sizeof(long) == sizeof(void *), among other things.

21 years agoDunno in advance how many controls will be set by a client
Pierangelo Masarati [Sat, 14 Dec 2002 16:34:59 +0000 (16:34 +0000)]
Dunno in advance how many controls will be set by a client

21 years agoallow a custom error log file for plugins by means of a slapd.conf directive; add...
Pierangelo Masarati [Sat, 14 Dec 2002 15:04:37 +0000 (15:04 +0000)]
allow a custom error log file for plugins by means of a slapd.conf directive; add very bare-bone back-monitor info about installed plugins

21 years agoRename "lang(uage)" to "tag(s)". (Cleanup after attribute options patch.)
Hallvard Furuseth [Fri, 13 Dec 2002 19:15:20 +0000 (19:15 +0000)]
Rename "lang(uage)" to "tag(s)".  (Cleanup after attribute options patch.)

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: