]> git.sur5r.net Git - openldap/log
openldap
21 years agoFix lutil_str*() warnings
Kurt Zeilenga [Mon, 5 Aug 2002 17:56:13 +0000 (17:56 +0000)]
Fix lutil_str*() warnings

21 years agoForced commit:
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.

21 years agoPatch: add OpenLDAPaci #public# access (ITS#2005)
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.

21 years agoPatch: ACL #access-id#<invalid-DN> granted access to everyone (ITS#2006)
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.

21 years agoITS#1956, bvalp declaration
Howard Chu [Sat, 3 Aug 2002 09:15:17 +0000 (09:15 +0000)]
ITS#1956, bvalp declaration

21 years agoFix ITS#1994, Windows heap consistency
Howard Chu [Sat, 3 Aug 2002 02:57:52 +0000 (02:57 +0000)]
Fix ITS#1994, Windows heap consistency

21 years agoneed <lutil.h> for lutil_gentime
Pierangelo Masarati [Fri, 2 Aug 2002 10:24:03 +0000 (10:24 +0000)]
need <lutil.h> for lutil_gentime

21 years agofix previous commit
Pierangelo Masarati [Fri, 2 Aug 2002 10:00:44 +0000 (10:00 +0000)]
fix previous commit

21 years agoAdd note regarding user/system checks and operational attributes.
Kurt Zeilenga [Fri, 2 Aug 2002 00:55:50 +0000 (00:55 +0000)]
Add note regarding user/system checks and operational attributes.

21 years agoRevert previous commit. Fix needs more design.
Howard Chu [Thu, 1 Aug 2002 07:09:11 +0000 (07:09 +0000)]
Revert previous commit. Fix needs more design.

21 years agoITS#1995 return error text when ldap_pvt_tls_check_hostname fails
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

21 years agoITS#910, ITS#1983 retry partial writes in ber_pvt_sb_do_write
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

21 years agoITS#1951: saslRegexp limits syntax of regular expressions
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/

21 years agoFix bdb_idl_union of range and list (related to ITS#1969
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

21 years agooperationsError != Internal Error
Kurt Zeilenga [Wed, 31 Jul 2002 22:49:02 +0000 (22:49 +0000)]
operationsError != Internal Error
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/

21 years agoAdd member filter components to groupOfName assertions
Kurt Zeilenga [Tue, 30 Jul 2002 04:14:58 +0000 (04:14 +0000)]
Add member filter components to groupOfName assertions

21 years agoclean up curly matching
Kurt Zeilenga [Sun, 28 Jul 2002 07:37:46 +0000 (07:37 +0000)]
clean up curly matching

21 years agoFix for:
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>.

21 years agoFix up restart code for EINTR
Kurt Zeilenga [Sun, 28 Jul 2002 05:30:39 +0000 (05:30 +0000)]
Fix up restart code for EINTR

21 years agoFix pkiUser
Kurt Zeilenga [Sat, 27 Jul 2002 10:25:42 +0000 (10:25 +0000)]
Fix pkiUser

21 years agoITS#1965: use snprintf
Kurt Zeilenga [Sat, 27 Jul 2002 07:39:50 +0000 (07:39 +0000)]
ITS#1965: use snprintf

21 years agoITS#1985 fix: blind commit
Kurt Zeilenga [Sat, 27 Jul 2002 07:37:04 +0000 (07:37 +0000)]
ITS#1985 fix: blind commit

21 years agoImprove schema error messages
Kurt Zeilenga [Sat, 27 Jul 2002 06:08:51 +0000 (06:08 +0000)]
Improve schema error messages

21 years agoIf HAVE_EBCDIC, translate dbname from ASCII to EBCDIC in ldbm_open.
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.

21 years agotest progs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:34:23 +0000 (03:34 +0000)]
test progs need -llutil

21 years agotest programs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:20:47 +0000 (03:20 +0000)]
test programs need -llutil

21 years agotest programs need -llutil
Howard Chu [Sat, 27 Jul 2002 03:06:15 +0000 (03:06 +0000)]
test programs need -llutil

21 years agoFix segfault from ITS#1960 hacks
Howard Chu [Sat, 27 Jul 2002 02:19:44 +0000 (02:19 +0000)]
Fix segfault from ITS#1960 hacks

21 years agoUse lutil_gentime
Howard Chu [Sat, 27 Jul 2002 02:10:43 +0000 (02:10 +0000)]
Use lutil_gentime

21 years agoSilence struct tm warnings
Howard Chu [Sat, 27 Jul 2002 02:10:02 +0000 (02:10 +0000)]
Silence struct tm warnings

21 years agoDetect EBCDIC for SP2NL/NL2SP translation
Howard Chu [Sat, 27 Jul 2002 00:56:33 +0000 (00:56 +0000)]
Detect EBCDIC for SP2NL/NL2SP translation

21 years agoMoved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
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

21 years agoMoved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
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

21 years agoMoved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
Howard Chu [Sat, 27 Jul 2002 00:24:02 +0000 (00:24 +0000)]
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy

21 years agoAdditional tweak for HAVE_PTHREADS_OS390
Howard Chu [Sat, 27 Jul 2002 00:12:39 +0000 (00:12 +0000)]
Additional tweak for HAVE_PTHREADS_OS390

21 years agoUse lutil_progname, #include <lutil.h> to get it.
Howard Chu [Sat, 27 Jul 2002 00:06:27 +0000 (00:06 +0000)]
Use lutil_progname, #include <lutil.h> to get it.

21 years agoClarify error messages
Kurt Zeilenga [Fri, 26 Jul 2002 17:35:57 +0000 (17:35 +0000)]
Clarify error messages

21 years agouse strongAuthRequired instead of operationsError to indicate
Kurt Zeilenga [Fri, 26 Jul 2002 15:29:36 +0000 (15:29 +0000)]
use strongAuthRequired instead of operationsError to indicate
authentication required before modification.

21 years agoRevert previous commit, too much broken
Howard Chu [Fri, 26 Jul 2002 14:22:45 +0000 (14:22 +0000)]
Revert previous commit, too much broken

21 years agoFix previous commit
Howard Chu [Fri, 26 Jul 2002 13:46:09 +0000 (13:46 +0000)]
Fix previous commit

21 years agostdio kludge for OS/390; stdlib.h must be included after stdio.h
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

21 years agoFix argvec for OS/390
Howard Chu [Fri, 26 Jul 2002 13:29:37 +0000 (13:29 +0000)]
Fix argvec for OS/390

21 years agoInclude <sys/stat.h> for mkdir prototype
Howard Chu [Fri, 26 Jul 2002 13:24:37 +0000 (13:24 +0000)]
Include <sys/stat.h> for mkdir prototype

21 years agoMust include <stdio.h> for prototypes
Howard Chu [Fri, 26 Jul 2002 13:21:27 +0000 (13:21 +0000)]
Must include <stdio.h> for prototypes

21 years agoUse both <string.h> and <strings.h> if BOTH_STRINGS_H is defined
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

21 years agoMinor uniformity tweaks, use lutil_progname, don't use fscanf
Howard Chu [Fri, 26 Jul 2002 03:22:53 +0000 (03:22 +0000)]
Minor uniformity tweaks, use lutil_progname, don't use fscanf

21 years agoMake liblutil before liblunicde, ucgendat needs liblutil
Howard Chu [Fri, 26 Jul 2002 03:17:21 +0000 (03:17 +0000)]
Make liblutil before liblunicde, ucgendat needs liblutil

21 years agoMoved <stdio.h> before <ac/stdlib.h>
Howard Chu [Fri, 26 Jul 2002 03:16:21 +0000 (03:16 +0000)]
Moved <stdio.h> before <ac/stdlib.h>

21 years agoSome tweaks for OS/390 pthreads. Func signatures are different, return
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.

21 years agoFix previous commit, "data" disappeared...
Howard Chu [Fri, 26 Jul 2002 03:14:13 +0000 (03:14 +0000)]
Fix previous commit, "data" disappeared...

21 years agoConditionalize use of vsyslog
Howard Chu [Fri, 26 Jul 2002 02:56:01 +0000 (02:56 +0000)]
Conditionalize use of vsyslog

21 years agoMore 64-bit hacking...
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.

21 years agofix normalization bug; change time stamping by using createTimestamp and modifyTimest...
Pierangelo Masarati [Thu, 25 Jul 2002 09:49:02 +0000 (09:49 +0000)]
fix normalization bug; change time stamping by using createTimestamp and modifyTimestamp (related to ITS#1984)

21 years agofix normalization bug (related to ITS#1984)
Pierangelo Masarati [Thu, 25 Jul 2002 09:48:29 +0000 (09:48 +0000)]
fix normalization bug (related to ITS#1984)

21 years agoWrap get_ca_list opendir code with #if HAVE_DIRENT_H || dirent to avoid
Howard Chu [Wed, 24 Jul 2002 19:36:03 +0000 (19:36 +0000)]
Wrap get_ca_list opendir code with #if HAVE_DIRENT_H || dirent to avoid
compile errors on incompatible build platforms.

21 years agonamedref is now a Proposed Standard RFC
Kurt Zeilenga [Wed, 24 Jul 2002 15:48:27 +0000 (15:48 +0000)]
namedref is now a Proposed Standard RFC

21 years agoBootParamSyntax: be more liberal than the ABNF such that
Kurt Zeilenga [Wed, 24 Jul 2002 15:29:22 +0000 (15:29 +0000)]
BootParamSyntax: be more liberal than the ABNF such that
examples in RFC 2307 are treated as valid.

21 years agoShould allow keystring in bootParams
Kurt Zeilenga [Wed, 24 Jul 2002 15:19:40 +0000 (15:19 +0000)]
Should allow keystring in bootParams

21 years agoClarify use of slapd.conf(5) v ldap.conf(5).
Kurt Zeilenga [Wed, 24 Jul 2002 03:11:58 +0000 (03:11 +0000)]
Clarify use of slapd.conf(5) v ldap.conf(5).

21 years agoClean up last commit
Kurt Zeilenga [Tue, 23 Jul 2002 18:41:30 +0000 (18:41 +0000)]
Clean up last commit

21 years agoadd feature macros
Kurt Zeilenga [Tue, 23 Jul 2002 18:37:22 +0000 (18:37 +0000)]
add feature macros

21 years agomisc cleanup
Kurt Zeilenga [Tue, 23 Jul 2002 18:35:12 +0000 (18:35 +0000)]
misc cleanup

21 years agosnprintf cleanup
Kurt Zeilenga [Tue, 23 Jul 2002 18:31:42 +0000 (18:31 +0000)]
snprintf cleanup

21 years agoucdata presently uses sized types. sized types use should be avoided
Kurt Zeilenga [Tue, 23 Jul 2002 18:29:48 +0000 (18:29 +0000)]
ucdata presently uses sized types.  sized types use should be avoided
as they are not be available on all platforms.

21 years agoMisc sprintf/snprintf cleanup
Kurt Zeilenga [Tue, 23 Jul 2002 18:26:33 +0000 (18:26 +0000)]
Misc sprintf/snprintf cleanup

21 years agoShort term fix for ITS#1960
Kurt Zeilenga [Tue, 23 Jul 2002 18:22:58 +0000 (18:22 +0000)]
Short term fix for ITS#1960
Code really should be changed to write only 'unsigned int's
with simple sanity check.

21 years agoConverted LDAP_LOG messages to use new Macro
Julius Enarusai [Tue, 23 Jul 2002 00:01:53 +0000 (00:01 +0000)]
Converted LDAP_LOG messages to use new Macro

21 years agofix ITS#1953
Pierangelo Masarati [Mon, 22 Jul 2002 14:24:32 +0000 (14:24 +0000)]
fix ITS#1953

21 years agoChange list->range conversion again, avoid extra c_put.
Howard Chu [Fri, 19 Jul 2002 23:19:53 +0000 (23:19 +0000)]
Change list->range conversion again, avoid extra c_put.

21 years agoAdded vsnprintf, snprintf implementations.
Howard Chu [Fri, 19 Jul 2002 17:33:14 +0000 (17:33 +0000)]
Added vsnprintf, snprintf implementations.

21 years agopw_gecos depends on HAVE_PW_GECOS
Howard Chu [Fri, 19 Jul 2002 14:25:37 +0000 (14:25 +0000)]
pw_gecos depends on HAVE_PW_GECOS

21 years agoMust include <stdio.h> since <rewrite.h> uses FILE *.
Howard Chu [Fri, 19 Jul 2002 14:24:53 +0000 (14:24 +0000)]
Must include <stdio.h> since <rewrite.h> uses FILE *.

21 years agochange in the IDL conversion from a list to a range
Jong Hyuk Choi [Thu, 18 Jul 2002 15:34:51 +0000 (15:34 +0000)]
change in the IDL conversion from a list to a range

21 years agokrbName is now builtin
Kurt Zeilenga [Tue, 16 Jul 2002 02:42:29 +0000 (02:42 +0000)]
krbName is now builtin

21 years agoFixes ITS#1935
Stig Venaas [Tue, 16 Jul 2002 02:38:14 +0000 (02:38 +0000)]
Fixes ITS#1935

21 years agoLDAP auxprop plugin for external SASL-enabled servers
Howard Chu [Sat, 13 Jul 2002 07:20:38 +0000 (07:20 +0000)]
LDAP auxprop plugin for external SASL-enabled servers

21 years agoTweak: For slap tools, don't set DB_RECOVERY flag when opening DB environment.
Howard Chu [Sat, 13 Jul 2002 00:18:15 +0000 (00:18 +0000)]
Tweak: For slap tools, don't set DB_RECOVERY flag when opening DB environment.
This allows slapcat to run while slapd is running, otherwise causes db
corruption.

21 years agoFix setting c_authz_backend for SASL binds:
Howard Chu [Sat, 13 Jul 2002 00:11:03 +0000 (00:11 +0000)]
Fix setting c_authz_backend for SASL binds:
  in slap_sasl2dn, make sure it's set for base DN searches as well.
  in do_bind, don't zero it during multi-stage binds.

21 years agoFix previous commit - the stub was never needed.
Howard Chu [Fri, 12 Jul 2002 23:43:46 +0000 (23:43 +0000)]
Fix previous commit - the stub was never needed.

21 years agoFix order of params to sasl_setpass. Added initial stub for setpass to
Howard Chu [Fri, 12 Jul 2002 20:55:12 +0000 (20:55 +0000)]
Fix order of params to sasl_setpass. Added initial stub for setpass to
change in-directory password.

21 years agoUse AF_INET instead of AF_UNSPEC when IPv6 disabled
Stig Venaas [Fri, 12 Jul 2002 15:36:33 +0000 (15:36 +0000)]
Use AF_INET instead of AF_UNSPEC when IPv6 disabled

21 years agodebug.c file moved from liblutil to liblber due to changes in LDAP_LOG macro and...
Julius Enarusai [Thu, 11 Jul 2002 23:26:34 +0000 (23:26 +0000)]
debug.c file moved from liblutil to liblber due to changes in LDAP_LOG macro and global variable ldap_logvels

21 years agoCoverted LDAP_LOG macro to use subsystem ID int values instead of string values
Julius Enarusai [Thu, 11 Jul 2002 20:33:24 +0000 (20:33 +0000)]
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values

21 years agoFix SEGV on single-byte connection input
Howard Chu [Thu, 11 Jul 2002 12:26:35 +0000 (12:26 +0000)]
Fix SEGV on single-byte connection input

21 years agoMore ACL to dn="" bug fixing... and add test006-acl check
Kurt Zeilenga [Thu, 11 Jul 2002 01:45:22 +0000 (01:45 +0000)]
More ACL to dn="" bug fixing... and add test006-acl check

21 years agoFix ACL to dn="" bug
Kurt Zeilenga [Thu, 11 Jul 2002 01:35:37 +0000 (01:35 +0000)]
Fix ACL to dn="" bug

21 years agoChange dn="" to dn.base="".
Kurt Zeilenga [Thu, 11 Jul 2002 01:17:41 +0000 (01:17 +0000)]
Change dn="" to dn.base="".

21 years agomake sure we don't test against stored values starting with "{"
Kurt Zeilenga [Wed, 10 Jul 2002 22:04:14 +0000 (22:04 +0000)]
make sure we don't test against stored values starting with "{"

21 years agoget data if ready
Kurt Zeilenga [Wed, 10 Jul 2002 22:03:32 +0000 (22:03 +0000)]
get data if ready

21 years agoFix a few typos
Kurt Zeilenga [Wed, 10 Jul 2002 03:12:47 +0000 (03:12 +0000)]
Fix a few typos

21 years agoITS#1916: fix fscanf EOF bugs
Kurt Zeilenga [Tue, 9 Jul 2002 01:00:56 +0000 (01:00 +0000)]
ITS#1916: fix fscanf EOF bugs

21 years agoITS#1922: add references.lo
Kurt Zeilenga [Tue, 9 Jul 2002 00:34:41 +0000 (00:34 +0000)]
ITS#1922: add references.lo

21 years agoFix matched values zero allocation bug (ITS#1931)
Kurt Zeilenga [Tue, 9 Jul 2002 00:20:30 +0000 (00:20 +0000)]
Fix matched values zero allocation bug (ITS#1931)

21 years agoremove lint
Kurt Zeilenga [Mon, 8 Jul 2002 18:55:50 +0000 (18:55 +0000)]
remove lint

21 years agoAdd matchedValues
Kurt Zeilenga [Mon, 8 Jul 2002 18:54:52 +0000 (18:54 +0000)]
Add matchedValues

21 years agoFix possible under allocation of buffer
Kurt Zeilenga [Mon, 8 Jul 2002 18:45:53 +0000 (18:45 +0000)]
Fix possible under allocation of buffer

22 years agoAdded normalization to caseIgnoreIA5Indexer()
Stig Venaas [Sun, 7 Jul 2002 13:22:45 +0000 (13:22 +0000)]
Added normalization to caseIgnoreIA5Indexer()

22 years agoForced commit, wrong log msg/accidental commit.
Howard Chu [Fri, 5 Jul 2002 22:02:36 +0000 (22:02 +0000)]
Forced commit, wrong log msg/accidental commit.

Make a non-fatal warning if SASL buffer is smaller than SASL_MAX but
larger than negotiated max. Not sure this is actually a good idea.

22 years agoITS#1924 use GENERAL_NAMES_free instead of ext_free.
Howard Chu [Fri, 5 Jul 2002 21:59:02 +0000 (21:59 +0000)]
ITS#1924 use GENERAL_NAMES_free instead of ext_free.

22 years agoSet peeraddr also for IPv6, fixes ITS#1918
Stig Venaas [Fri, 5 Jul 2002 20:29:15 +0000 (20:29 +0000)]
Set peeraddr also for IPv6, fixes ITS#1918