]>
git.sur5r.net Git - openldap/log
Pierangelo Masarati [Fri, 16 Aug 2002 16:33:22 +0000 (16:33 +0000)]
silence warnings
Pierangelo Masarati [Fri, 16 Aug 2002 16:32:42 +0000 (16:32 +0000)]
fix printableStringValidate return value bug
Pierangelo Masarati [Tue, 13 Aug 2002 17:13:57 +0000 (17:13 +0000)]
reflect recent additions to backend configuration
Pierangelo Masarati [Tue, 13 Aug 2002 17:12:27 +0000 (17:12 +0000)]
changes:
- re-style according to the style giudelines for better readability
- updated to recent frontend/backend API changes
- fixed a few quirks about normalization
- "optimized" a few memory allocation/string handling functions
- fixed a few quirks about add/modify (still have to look ad modrdn)
todo:
- there is still something broken (at least with PostgreSQL and IBM db2,
the two RDBMS O have at hand) when adding
- move everything to struct bervals and try to save a few strlen
- try some LDAP/SQL syntax relation to use appropriate value bind if possible
- ...
Pierangelo Masarati [Tue, 13 Aug 2002 17:07:40 +0000 (17:07 +0000)]
VERY PRELIMINARY support for PostgreSQL and IBM db2
Pierangelo Masarati [Tue, 13 Aug 2002 17:00:33 +0000 (17:00 +0000)]
better error handling when returning results
Kurt Zeilenga [Tue, 13 Aug 2002 03:49:21 +0000 (03:49 +0000)]
Log successful SASL bind (ITS#2017)
Kurt Zeilenga [Tue, 13 Aug 2002 02:33:20 +0000 (02:33 +0000)]
Patch: lutil_progname() and lutil_strcopy() are not declared (ITS#2021)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
lutil_progname() and lutil_strcopy() are not declared, which can
be fatal since they do not return int.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
Kurt Zeilenga [Tue, 13 Aug 2002 02:32:57 +0000 (02:32 +0000)]
Fix IRIX sc_mask conflict
Kurt Zeilenga [Mon, 12 Aug 2002 22:33:43 +0000 (22:33 +0000)]
backout last change... too tired to make this work right now.
Kurt Zeilenga [Mon, 12 Aug 2002 22:27:24 +0000 (22:27 +0000)]
This *should* work
Kurt Zeilenga [Mon, 12 Aug 2002 22:15:25 +0000 (22:15 +0000)]
cleanup
Kurt Zeilenga [Mon, 12 Aug 2002 22:14:10 +0000 (22:14 +0000)]
Partially back out last commit
Kurt Zeilenga [Mon, 12 Aug 2002 21:49:27 +0000 (21:49 +0000)]
Rewrite master/slave ports
Kurt Zeilenga [Mon, 12 Aug 2002 20:50:20 +0000 (20:50 +0000)]
Add support for response controls
Kurt Zeilenga [Mon, 12 Aug 2002 19:49:20 +0000 (19:49 +0000)]
paged results uses one OID for both request and response
Kurt Zeilenga [Mon, 12 Aug 2002 18:07:24 +0000 (18:07 +0000)]
minor updates
Kurt Zeilenga [Mon, 12 Aug 2002 08:45:20 +0000 (08:45 +0000)]
Fix inverted bvmatch logic in modrdn
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