]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sun, 11 Aug 2002 21:06:03 +0000 (21:06 +0000)]
Add back_bdb to modules
Kurt Zeilenga [Sun, 11 Aug 2002 20:26:01 +0000 (20:26 +0000)]
consistently reduce string_expand bv_len by 1
Howard Chu [Sun, 11 Aug 2002 00:30:46 +0000 (00:30 +0000)]
Never use DB_RECOVER flag when opening DB_ENV. Recovery must be done
manually. Automatic recovery would interfere with gentlehup restarts.
Howard Chu [Sat, 10 Aug 2002 23:34:55 +0000 (23:34 +0000)]
ITS#2019 Initialize utils properly
Pierangelo Masarati [Sat, 10 Aug 2002 14:25:41 +0000 (14:25 +0000)]
same as for back-meta
Pierangelo Masarati [Sat, 10 Aug 2002 14:13:46 +0000 (14:13 +0000)]
initialize struct timeval (fixes ITS#2014);
also, check for return value of dnNormalize2: if the returned
DN contains undefined attributes, the normalization fails.
Howard Chu [Sat, 10 Aug 2002 04:09:28 +0000 (04:09 +0000)]
ITS#1893 Add (terse) schemadn description
Kurt Zeilenga [Sat, 10 Aug 2002 03:48:09 +0000 (03:48 +0000)]
Some more sockaddr_in v sockaddr_storage cleanup
Howard Chu [Sat, 10 Aug 2002 03:10:52 +0000 (03:10 +0000)]
ITS#1893, use "schemadn" to configure subschemasubentry DN. (diff was
inaccessible, this is original code, not contributed.)
Howard Chu [Sat, 10 Aug 2002 00:32:25 +0000 (00:32 +0000)]
ITS#2016 possibly better macro test for this fix
Howard Chu [Sat, 10 Aug 2002 00:22:52 +0000 (00:22 +0000)]
ITS#2016 Don't include <openssl/des.h> if we're also including <krb.h>.
Kurt Zeilenga [Sat, 10 Aug 2002 00:21:25 +0000 (00:21 +0000)]
Update
Kurt Zeilenga [Fri, 9 Aug 2002 22:14:43 +0000 (22:14 +0000)]
ITS#2018: use sockaddr_storage
based upon patch provided by <thorild@Update.UU.SE>
Pierangelo Masarati [Fri, 9 Aug 2002 17:15:10 +0000 (17:15 +0000)]
rework connection pool handling (reduce amount of malloc)
Pierangelo Masarati [Fri, 9 Aug 2002 13:51:35 +0000 (13:51 +0000)]
remove dependency from LDAP_FILT_MAXSIZ (and handle arbitrary size filters)
Pierangelo Masarati [Fri, 9 Aug 2002 13:50:29 +0000 (13:50 +0000)]
remove warnings
Howard Chu [Thu, 8 Aug 2002 17:27:50 +0000 (17:27 +0000)]
ITS#2015 give correct index key back to presence_candidates
Kurt Zeilenga [Thu, 8 Aug 2002 03:03:48 +0000 (03:03 +0000)]
Remove reference to getfilter(3)
Kurt Zeilenga [Thu, 8 Aug 2002 03:01:14 +0000 (03:01 +0000)]
Zap LDAPv2-only stuff
Kurt Zeilenga [Wed, 7 Aug 2002 19:17:22 +0000 (19:17 +0000)]
Fix saslregex init bug
Kurt Zeilenga [Wed, 7 Aug 2002 19:12:59 +0000 (19:12 +0000)]
Add simple CN v cn test case for ITS#1997
Howard Chu [Wed, 7 Aug 2002 08:43:52 +0000 (08:43 +0000)]
Plug config leaks
Howard Chu [Wed, 7 Aug 2002 08:22:43 +0000 (08:22 +0000)]
Fix cargv leak in recursive read_config()
Kurt Zeilenga [Wed, 7 Aug 2002 08:19:11 +0000 (08:19 +0000)]
Move large string comment to just above UTF8StringValidate().
Howard Chu [Wed, 7 Aug 2002 06:37:11 +0000 (06:37 +0000)]
Revert previous commit
Howard Chu [Wed, 7 Aug 2002 05:31:03 +0000 (05:31 +0000)]
In backend_operational don't add subschemaSubentry unless it was
requested. In send_search_entry don't malloc vrFilter flags unless
a matchedValue filter was given; malloc 1 contiguous block instead
of multiple sub-arrays.
Howard Chu [Wed, 7 Aug 2002 05:19:55 +0000 (05:19 +0000)]
Don't strdup conn->authz into op, just reference directly. (Conn cannot
be freed until after all associated ops are freed.)
Howard Chu [Wed, 7 Aug 2002 03:12:47 +0000 (03:12 +0000)]
Fix typo
Howard Chu [Wed, 7 Aug 2002 03:00:00 +0000 (03:00 +0000)]
ITS#1958 from Andrew Findlay with minor adjustments
Howard Chu [Wed, 7 Aug 2002 00:47:57 +0000 (00:47 +0000)]
Eliminate an unnecessary malloc/free
Kurt Zeilenga [Tue, 6 Aug 2002 19:31:00 +0000 (19:31 +0000)]
ITS#2010: use snprintf instead of strcpy to prevent buffer overflow
Kurt Zeilenga [Tue, 6 Aug 2002 05:38:49 +0000 (05:38 +0000)]
other->invalid
Kurt Zeilenga [Tue, 6 Aug 2002 05:35:59 +0000 (05:35 +0000)]
For IA5, printable, telephone:
Don't allow empty string values.
Treat string values with only spaces as one space.
DirectoryString needs more work (space handling needs
to be done post normalization).
Kurt Zeilenga [Tue, 6 Aug 2002 04:25:54 +0000 (04:25 +0000)]
Add a summary to strings comment
Kurt Zeilenga [Tue, 6 Aug 2002 04:03:13 +0000 (04:03 +0000)]
Update string commment with examples.
Kurt Zeilenga [Tue, 6 Aug 2002 03:52:02 +0000 (03:52 +0000)]
Add start of discussion of strings in LDAP/X.500 and OpenLDAP.
Kurt Zeilenga [Tue, 6 Aug 2002 03:18:02 +0000 (03:18 +0000)]
Fix nameAndOptionalUUID normalization,
now uses bitStringNormalize().
Kurt Zeilenga [Tue, 6 Aug 2002 03:08:12 +0000 (03:08 +0000)]
Remove lint
Howard Chu [Tue, 6 Aug 2002 02:36:34 +0000 (02:36 +0000)]
Add #include "lutil.h" for lutil_str* functions
Howard Chu [Tue, 6 Aug 2002 02:35:51 +0000 (02:35 +0000)]
ITS#1998 ber_mem2bv should accept 0-length calls, just like ber_strdup.
Howard Chu [Tue, 6 Aug 2002 02:35:24 +0000 (02:35 +0000)]
ITS#1998 UTF8StringNormalize should accept all-space vals
Kurt Zeilenga [Mon, 5 Aug 2002 23:40:08 +0000 (23:40 +0000)]
Misc clean up of last commit.
Still need to fix my devbox so I can test this....
Kurt Zeilenga [Mon, 5 Aug 2002 23:16:28 +0000 (23:16 +0000)]
Rework saslRegex code (not yet tested)
Kurt Zeilenga [Mon, 5 Aug 2002 20:05:25 +0000 (20:05 +0000)]
Minor updates
Kurt Zeilenga [Mon, 5 Aug 2002 19:49:27 +0000 (19:49 +0000)]
Set O_EXCL
Kurt Zeilenga [Mon, 5 Aug 2002 19:48:50 +0000 (19:48 +0000)]
Fix LDIF LF / CRLF handling.
Patch suggested by Matthew Backes <lucca@csun.edu>
Kurt Zeilenga [Mon, 5 Aug 2002 19:44:24 +0000 (19:44 +0000)]
Prevent overflow in .rej creation (ITS#2007)
Kurt Zeilenga [Mon, 5 Aug 2002 19:43:01 +0000 (19:43 +0000)]
Set O_EXCL (ITS#2009)
Kurt Zeilenga [Mon, 5 Aug 2002 17:56:13 +0000 (17:56 +0000)]
Fix lutil_str*() warnings
Kurt Zeilenga [Mon, 5 Aug 2002 17:54:35 +0000 (17:54 +0000)]
Forced commit:
The log entries for the previous two commits were swapped by mistake.
Kurt Zeilenga [Mon, 5 Aug 2002 17:53:39 +0000 (17:53 +0000)]
Patch: add OpenLDAPaci #public# access (ITS#2005)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
I couldn't find a way for an OpenLDAPaci to grant public access to an
entry, so I added a dnType #public# for that. It is in the position
of subjectDn in the draft, which seems kind of stupid, so I put it
in the position of dnType instead.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
Kurt Zeilenga [Mon, 5 Aug 2002 17:52:16 +0000 (17:52 +0000)]
Patch: ACL #access-id#<invalid-DN> granted access to everyone (ITS#2006)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
There is a bug in OpenLDAPaci's "access-id": If the specified DN is
invalid so dnNormalize2() fails, everyone gets access.
This means that e.g. "#access-id#[all]" gives public access, so it
might be considered a feature, but I fixed it anyway:-) I guess that
means the change should be documented in the release notes, though.
See also ITS#2005 (add OpenLDAPaci #public# access).
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
Howard Chu [Sat, 3 Aug 2002 09:15:17 +0000 (09:15 +0000)]
ITS#1956, bvalp declaration
Howard Chu [Sat, 3 Aug 2002 02:57:52 +0000 (02:57 +0000)]
Fix ITS#1994, Windows heap consistency
Pierangelo Masarati [Fri, 2 Aug 2002 10:24:03 +0000 (10:24 +0000)]
need <lutil.h> for lutil_gentime
Pierangelo Masarati [Fri, 2 Aug 2002 10:00:44 +0000 (10:00 +0000)]
fix previous commit
Kurt Zeilenga [Fri, 2 Aug 2002 00:55:50 +0000 (00:55 +0000)]
Add note regarding user/system checks and operational attributes.
Howard Chu [Thu, 1 Aug 2002 07:09:11 +0000 (07:09 +0000)]
Revert previous commit. Fix needs more design.
Howard Chu [Thu, 1 Aug 2002 03:23:29 +0000 (03:23 +0000)]
ITS#1995 return error text when ldap_pvt_tls_check_hostname fails
Howard Chu [Thu, 1 Aug 2002 03:03:52 +0000 (03:03 +0000)]
ITS#910, ITS#1983 retry partial writes in ber_pvt_sb_do_write
blind fix, needs testing
Kurt Zeilenga [Thu, 1 Aug 2002 01:10:55 +0000 (01:10 +0000)]
ITS#1951: saslRegexp limits syntax of regular expressions
Don't normalize regex.
Also, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
Howard Chu [Wed, 31 Jul 2002 23:43:56 +0000 (23:43 +0000)]
Fix bdb_idl_union of range and list (related to ITS#1969
Kurt Zeilenga [Wed, 31 Jul 2002 22:49:02 +0000 (22:49 +0000)]
operationsError != Internal Error
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
Kurt Zeilenga [Tue, 30 Jul 2002 04:14:58 +0000 (04:14 +0000)]
Add member filter components to groupOfName assertions
Kurt Zeilenga [Sun, 28 Jul 2002 07:37:46 +0000 (07:37 +0000)]
clean up curly matching
Kurt Zeilenga [Sun, 28 Jul 2002 07:27:55 +0000 (07:27 +0000)]
Fix for:
SASL regex segmentation faults with group based acls (ITS#1978)
based, in part, by patch submitted by Simon Wilkinson <simon@sxw.org.uk>.
Kurt Zeilenga [Sun, 28 Jul 2002 05:30:39 +0000 (05:30 +0000)]
Fix up restart code for EINTR
Kurt Zeilenga [Sat, 27 Jul 2002 10:25:42 +0000 (10:25 +0000)]
Fix pkiUser
Kurt Zeilenga [Sat, 27 Jul 2002 07:39:50 +0000 (07:39 +0000)]
ITS#1965: use snprintf
Kurt Zeilenga [Sat, 27 Jul 2002 07:37:04 +0000 (07:37 +0000)]
ITS#1985 fix: blind commit
Kurt Zeilenga [Sat, 27 Jul 2002 06:08:51 +0000 (06:08 +0000)]
Improve schema error messages
Howard Chu [Sat, 27 Jul 2002 04:43:48 +0000 (04:43 +0000)]
If HAVE_EBCDIC, translate dbname from ASCII to EBCDIC in ldbm_open.
Howard Chu [Sat, 27 Jul 2002 03:34:23 +0000 (03:34 +0000)]
test progs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:20:47 +0000 (03:20 +0000)]
test programs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:06:15 +0000 (03:06 +0000)]
test programs need -llutil
Howard Chu [Sat, 27 Jul 2002 02:19:44 +0000 (02:19 +0000)]
Fix segfault from ITS#1960 hacks
Howard Chu [Sat, 27 Jul 2002 02:10:43 +0000 (02:10 +0000)]
Use lutil_gentime
Howard Chu [Sat, 27 Jul 2002 02:10:02 +0000 (02:10 +0000)]
Silence struct tm warnings
Howard Chu [Sat, 27 Jul 2002 00:56:33 +0000 (00:56 +0000)]
Detect EBCDIC for SP2NL/NL2SP translation
Howard Chu [Sat, 27 Jul 2002 00:26:27 +0000 (00:26 +0000)]
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Added lutil_gentime
Howard Chu [Sat, 27 Jul 2002 00:25:16 +0000 (00:25 +0000)]
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Added lutil_gentime, moved lutil_vsnprintf to stdio.c
Howard Chu [Sat, 27 Jul 2002 00:24:02 +0000 (00:24 +0000)]
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Howard Chu [Sat, 27 Jul 2002 00:12:39 +0000 (00:12 +0000)]
Additional tweak for HAVE_PTHREADS_OS390
Howard Chu [Sat, 27 Jul 2002 00:06:27 +0000 (00:06 +0000)]
Use lutil_progname, #include <lutil.h> to get it.
Kurt Zeilenga [Fri, 26 Jul 2002 17:35:57 +0000 (17:35 +0000)]
Clarify error messages
Kurt Zeilenga [Fri, 26 Jul 2002 15:29:36 +0000 (15:29 +0000)]
use strongAuthRequired instead of operationsError to indicate
authentication required before modification.
Howard Chu [Fri, 26 Jul 2002 14:22:45 +0000 (14:22 +0000)]
Revert previous commit, too much broken
Howard Chu [Fri, 26 Jul 2002 13:46:09 +0000 (13:46 +0000)]
Fix previous commit
Howard Chu [Fri, 26 Jul 2002 13:36:04 +0000 (13:36 +0000)]
stdio kludge for OS/390; stdlib.h must be included after stdio.h
Howard Chu [Fri, 26 Jul 2002 13:29:37 +0000 (13:29 +0000)]
Fix argvec for OS/390
Howard Chu [Fri, 26 Jul 2002 13:24:37 +0000 (13:24 +0000)]
Include <sys/stat.h> for mkdir prototype
Howard Chu [Fri, 26 Jul 2002 13:21:27 +0000 (13:21 +0000)]
Must include <stdio.h> for prototypes
Howard Chu [Fri, 26 Jul 2002 11:31:29 +0000 (11:31 +0000)]
Use both <string.h> and <strings.h> if BOTH_STRINGS_H is defined
Howard Chu [Fri, 26 Jul 2002 03:22:53 +0000 (03:22 +0000)]
Minor uniformity tweaks, use lutil_progname, don't use fscanf
Howard Chu [Fri, 26 Jul 2002 03:17:21 +0000 (03:17 +0000)]
Make liblutil before liblunicde, ucgendat needs liblutil
Howard Chu [Fri, 26 Jul 2002 03:16:21 +0000 (03:16 +0000)]
Moved <stdio.h> before <ac/stdlib.h>
Howard Chu [Fri, 26 Jul 2002 03:15:25 +0000 (03:15 +0000)]
Some tweaks for OS/390 pthreads. Func signatures are different, return
val is 0/-1 with err in errno instead of in return val.
Howard Chu [Fri, 26 Jul 2002 03:14:13 +0000 (03:14 +0000)]
Fix previous commit, "data" disappeared...
Howard Chu [Fri, 26 Jul 2002 02:56:01 +0000 (02:56 +0000)]
Conditionalize use of vsyslog
Kurt Zeilenga [Thu, 25 Jul 2002 15:00:31 +0000 (15:00 +0000)]
More 64-bit hacking...
This code should be rewritten to avoid fixed sized types.