]> git.sur5r.net Git - openldap/log
openldap
22 years agoCleanup HAVE_TLS dependencies, cleanup username with embedded realm handling
Howard Chu [Fri, 10 May 2002 19:26:35 +0000 (19:26 +0000)]
Cleanup HAVE_TLS dependencies, cleanup username with embedded realm handling

22 years agoFleshed out debug2syslog
Howard Chu [Fri, 10 May 2002 17:48:54 +0000 (17:48 +0000)]
Fleshed out debug2syslog

22 years agoPatch: back-passwd needs pwent mutex (ITS#1794)
Kurt Zeilenga [Thu, 9 May 2002 02:26:05 +0000 (02:26 +0000)]
Patch: back-passwd needs pwent mutex  (ITS#1794)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

back-passwd uses getpwent() and setpwfile(), which use static data.
It needs a mutex to make sure these operations can complete without
interference from another back-passwd call.  Here is a patch.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.

22 years agoPatch: Non-unique msgid for abandon in back-<shell,tcl> (ITS#1793)
Kurt Zeilenga [Thu, 9 May 2002 02:11:39 +0000 (02:11 +0000)]
Patch: Non-unique msgid for abandon in back-<shell,tcl>  (ITS#1793)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

Here is a patch which does what I described.  Of course, someone has
to decide if that is the right solution:-)
- Add an "opid:" line to the input to back-shell commands.
- Add an "abandonid: <opid> line to back-shell/abandon input.
- Replace message id with opid in back-tcl arguments.
- Add an abandonid = <opid> argument to back-tcl/abandon.
An opid (operation ID) is a "connection ID/message ID" string.  I
would have liked to use another name to avoid confusion with struct
slap_op->o_opid, but I could not think of another apt word.

This also fixes ITS#1784 and ITS#1792.  Since calling conventions
changed anyway, I fixed back-shell by adding abandonid: and making
opid: always be the ID of the current operation.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.

22 years agoDocumentation patch #4 (ITS#1749)
Kurt Zeilenga [Thu, 9 May 2002 02:07:41 +0000 (02:07 +0000)]
Documentation patch #4  (ITS#1749)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

Small changes:
- Fix typo slapd_meta -> slapd-meta in slapd-meta(5).
- Add slapd-dnssrv(5) to SEE ALSO in slapd.conf(5).
- Add descriptions of the files in FILES sections.
- Add $HOME/.udrc to FILES in ud(1) and ud.conf(5).
- Add ldaprc (without ".") and ENVIRONMENT VARIABLES in ldap.conf(5).
- Change manpage references to proper ".BR name (section)".

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.

22 years agoDon't use slap_empty_bv in structures that are expected to be free'able.
Howard Chu [Wed, 8 May 2002 23:16:17 +0000 (23:16 +0000)]
Don't use slap_empty_bv in structures that are expected to be free'able.

22 years agoFix dnParent: must always return a pointer relative to the input pointer.
Howard Chu [Wed, 8 May 2002 23:04:11 +0000 (23:04 +0000)]
Fix dnParent: must always return a pointer relative to the input pointer.

22 years agoRequire 2.1.3 or higher for Cyrus SASL 2
Howard Chu [Tue, 7 May 2002 23:56:59 +0000 (23:56 +0000)]
Require 2.1.3 or higher for Cyrus SASL 2

22 years agoDelete unused CANON_BUF_SIZE #define
Howard Chu [Tue, 7 May 2002 23:29:19 +0000 (23:29 +0000)]
Delete unused CANON_BUF_SIZE #define

22 years agoCyrus 2 support now requires Cyrus 2.1.3. Adds support for in-directory
Howard Chu [Tue, 7 May 2002 23:08:23 +0000 (23:08 +0000)]
Cyrus 2 support now requires Cyrus 2.1.3. Adds support for in-directory
SASL secrets. (Only works with plaintext userpassword tho.)

22 years agoTurn these functions on again. Need backend_attribute for SASLauthz stuff.
Howard Chu [Tue, 7 May 2002 22:35:01 +0000 (22:35 +0000)]
Turn these functions on again. Need backend_attribute for SASLauthz stuff.
Fix to work with NULL op.

22 years agoFixes for slap_sasl_regexp parsing and normalization
Howard Chu [Tue, 7 May 2002 18:46:32 +0000 (18:46 +0000)]
Fixes for slap_sasl_regexp parsing and normalization

22 years agoAdded comment for future reference re: in-directory secrets
Howard Chu [Tue, 7 May 2002 02:17:34 +0000 (02:17 +0000)]
Added comment for future reference re: in-directory secrets

22 years agoITS#1806, Cyrus 1 doesn't give back our callbacks pointer, must stash it
Howard Chu [Mon, 6 May 2002 23:56:35 +0000 (23:56 +0000)]
ITS#1806, Cyrus 1 doesn't give back our callbacks pointer, must stash it
ourselves.

22 years agoITS#1803, bogus free() of lber-private memory.
Howard Chu [Mon, 6 May 2002 16:51:00 +0000 (16:51 +0000)]
ITS#1803, bogus free() of lber-private memory.

22 years agoFix in 1.50 applies to Cyrus 1 as well as Cyrus 2.
Howard Chu [Sun, 5 May 2002 19:15:29 +0000 (19:15 +0000)]
Fix in 1.50 applies to Cyrus 1 as well as Cyrus 2.

22 years agoPatch: incomplete 'make clean' in liblunicode (ITS#1791)
Kurt Zeilenga [Sat, 4 May 2002 23:13:51 +0000 (23:13 +0000)]
Patch: incomplete 'make clean' in liblunicode  (ITS#1791)

In liblunicode, 'make clean' and 'make distclean' do not remove
the symlinks ucdata.h and ure.h.

from Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>

22 years agofix formats
Pierangelo Masarati [Sat, 4 May 2002 11:07:28 +0000 (11:07 +0000)]
fix formats

22 years agoremove unused variables
Pierangelo Masarati [Sat, 4 May 2002 11:07:04 +0000 (11:07 +0000)]
remove unused variables

22 years agoITS#1797 silence uninit'd var warnings
Howard Chu [Sat, 4 May 2002 10:52:05 +0000 (10:52 +0000)]
ITS#1797 silence uninit'd var warnings

22 years agoITS#1797 err used unit'd in Debug statement. (removed)
Howard Chu [Sat, 4 May 2002 10:50:24 +0000 (10:50 +0000)]
ITS#1797 err used unit'd in Debug statement. (removed)

22 years agoFix typos
Kurt Zeilenga [Sat, 4 May 2002 04:35:41 +0000 (04:35 +0000)]
Fix typos

22 years agoBasic dnssrv man page
Kurt Zeilenga [Sat, 4 May 2002 04:34:58 +0000 (04:34 +0000)]
Basic dnssrv man page

22 years agoInitialize authid in case ldap_pvt_tls_get_my_dn fails
Howard Chu [Sat, 4 May 2002 01:32:41 +0000 (01:32 +0000)]
Initialize authid in case ldap_pvt_tls_get_my_dn fails

22 years agoITS#1795 authid is uninit'd if tls_get_cert fails
Howard Chu [Sat, 4 May 2002 01:28:56 +0000 (01:28 +0000)]
ITS#1795 authid is uninit'd if tls_get_cert fails

22 years agoSet tls_opt_require_cert to default to NEVER. libldap defaults to DEMAND
Howard Chu [Sat, 4 May 2002 00:07:12 +0000 (00:07 +0000)]
Set tls_opt_require_cert to default to NEVER. libldap defaults to DEMAND
due to client needs, we change it back here.

22 years agoChanged default tls_opt_require_cert value to LDAP_OPT_X_TLS_DEMAND; force
Howard Chu [Sat, 4 May 2002 00:05:48 +0000 (00:05 +0000)]
Changed default tls_opt_require_cert value to LDAP_OPT_X_TLS_DEMAND; force
a fatal error when TLS server cert verification fails.

Changed ldap_pvt_tls_check_hostname to return LDAP_SUCCESS when no cert is
found: this can now only occur if tls_opt_require_cert was explicitly set
to NEVER or ALLOW.

In tls_verify_cb, added a text translation of the verification error code
to the debug message.

22 years agofix uninitialized counter in matched values
Kurt Zeilenga [Fri, 3 May 2002 19:00:52 +0000 (19:00 +0000)]
fix uninitialized counter in matched values

22 years agoFix DN freeing in BDB_HIER case. (BDB_HIER is still broken, seems to have
Howard Chu [Fri, 3 May 2002 14:47:29 +0000 (14:47 +0000)]
Fix DN freeing in BDB_HIER case. (BDB_HIER is still broken, seems to have
a bad interaction with the entry cache.)

22 years agoFix dependency typo from 1.99
Howard Chu [Fri, 3 May 2002 14:42:14 +0000 (14:42 +0000)]
Fix dependency typo from 1.99

22 years agoUse specific msg id instead of ANY to retrieve search results
Howard Chu [Fri, 3 May 2002 14:23:55 +0000 (14:23 +0000)]
Use specific msg id instead of ANY to retrieve search results

22 years agoFix previous commit, wrong if condition
Howard Chu [Fri, 3 May 2002 13:07:42 +0000 (13:07 +0000)]
Fix previous commit, wrong if condition

22 years agoBreak up large SASL writes into units of SASL maxoutbuf size.
Howard Chu [Fri, 3 May 2002 13:04:55 +0000 (13:04 +0000)]
Break up large SASL writes into units of SASL maxoutbuf size.

22 years agoFor Cyrus 2, cannot free session_callbacks in ldap_int_sasl_open, must
Howard Chu [Fri, 3 May 2002 12:10:47 +0000 (12:10 +0000)]
For Cyrus 2, cannot free session_callbacks in ldap_int_sasl_open, must
wait until ldap_int_sasl_close because SASL doesn't copy our structure,
it uses it directly.

22 years agos/LDAP_UNWILLING_TO_PERFORM/LDAP_ADMINLIMIT_EXCEEDED/ when search candidates exceed...
Pierangelo Masarati [Fri, 3 May 2002 10:27:37 +0000 (10:27 +0000)]
s/LDAP_UNWILLING_TO_PERFORM/LDAP_ADMINLIMIT_EXCEEDED/ when search candidates exceed unckecked limit

22 years agoMatched Values implementation (ITS#1776) based upon submission
Kurt Zeilenga [Thu, 2 May 2002 18:56:56 +0000 (18:56 +0000)]
Matched Values implementation (ITS#1776) based upon submission
form Mikhail Sahalaev <M.Sahalayev@pgr.salford.ac.uk>.
Further work needed:
add testxxx-matchedvalues
rework ldapsearch(1) portion of patch to generalize use of options
---
Copyright 2001, Mikhail Sahalaev, All rights reserved.
This software is not subject to any license of University Of
Salford.

Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice
is preserved.

22 years agoclarifications
Pierangelo Masarati [Thu, 2 May 2002 16:49:47 +0000 (16:49 +0000)]
clarifications

22 years ago3rd step at updating docs by hallvard Furuseth (with minor changes in slapd-meta.5)
Pierangelo Masarati [Thu, 2 May 2002 16:35:16 +0000 (16:35 +0000)]
3rd step at updating docs by hallvard Furuseth (with minor changes in slapd-meta.5)

22 years agoFix previous commit, only zero out v3 refer_cnt if we got a SEARCH_RESULT.
Howard Chu [Thu, 2 May 2002 12:08:19 +0000 (12:08 +0000)]
Fix previous commit, only zero out v3 refer_cnt if we got a SEARCH_RESULT.
If we got a SEARCH_REFERENCE, we need to keep going...

22 years agobroken berval after successful rewrite
Pierangelo Masarati [Thu, 2 May 2002 11:42:11 +0000 (11:42 +0000)]
broken berval after successful rewrite

22 years agoback-meta needs librewrite and back-ldap; automatically enable them
Pierangelo Masarati [Thu, 2 May 2002 09:06:12 +0000 (09:06 +0000)]
back-meta needs librewrite and back-ldap; automatically enable them

22 years agoFixes ITS#1786: dynamically growing number of tokens in config line
Pierangelo Masarati [Thu, 2 May 2002 08:48:14 +0000 (08:48 +0000)]
Fixes ITS#1786: dynamically growing number of tokens in config line
for both slapd and slurpd

Copyright 2002, John Morrissey (jwm at horde dot net), All rights reserved.
This is free software; you can redistribute and use it under the same terms
as OpenLDAP itself.

Applied with changes

22 years agoRemove debugging fluff.
Randy Kunkee [Thu, 2 May 2002 08:14:01 +0000 (08:14 +0000)]
Remove debugging fluff.

22 years agoGenerate ldaptclerr.h correctly.
Randy Kunkee [Thu, 2 May 2002 08:11:41 +0000 (08:11 +0000)]
Generate ldaptclerr.h correctly.

22 years agoAdded config keyword descriptions from ITS#966. Minor cleanup.
Howard Chu [Wed, 1 May 2002 20:24:56 +0000 (20:24 +0000)]
Added config keyword descriptions from ITS#966. Minor cleanup.

22 years agocouple of fixes
Pierangelo Masarati [Wed, 1 May 2002 19:36:24 +0000 (19:36 +0000)]
couple of fixes

22 years agoError if ar(1) is missing. (ITS#1772)
Kurt Zeilenga [Wed, 1 May 2002 19:22:32 +0000 (19:22 +0000)]
Error if ar(1) is missing.  (ITS#1772)

22 years agoFrom Hallvard, with slight changes
Howard Chu [Wed, 1 May 2002 19:21:21 +0000 (19:21 +0000)]
From Hallvard, with slight changes

22 years agoMore cleanups for suffixmassage DNs
Howard Chu [Wed, 1 May 2002 19:05:09 +0000 (19:05 +0000)]
More cleanups for suffixmassage DNs

22 years agoChanged be_[n]suffix, be_[n]suffixAlias to BerVarray. No more bvec's anywhere.
Howard Chu [Wed, 1 May 2002 18:50:14 +0000 (18:50 +0000)]
Changed be_[n]suffix, be_[n]suffixAlias to BerVarray. No more bvec's anywhere.

22 years agoPatch: Perl backend sends bind result twice (ITS#1783)
Kurt Zeilenga [Wed, 1 May 2002 18:10:14 +0000 (18:10 +0000)]
Patch: Perl backend sends bind result twice  (ITS#1783)

            ================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
            ================

perl_back_bind() should not send LDAP_SUCCESS, the frontend does that.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.

22 years agomassage dn-valued attributes also when compiled without --enable-rewrite
Pierangelo Masarati [Wed, 1 May 2002 17:53:32 +0000 (17:53 +0000)]
massage dn-valued attributes also when compiled without --enable-rewrite

22 years agouse BerVarray for suffix_massaging stuff
Pierangelo Masarati [Wed, 1 May 2002 17:45:03 +0000 (17:45 +0000)]
use BerVarray for suffix_massaging stuff

22 years agosecond round at ITS#1749
Pierangelo Masarati [Wed, 1 May 2002 16:38:30 +0000 (16:38 +0000)]
second round at ITS#1749

22 years ago- trim check for real naming context already defined as suffix
Pierangelo Masarati [Wed, 1 May 2002 11:41:57 +0000 (11:41 +0000)]
- trim check for real naming context already defined as suffix
- improve automatic massaging (prettify once)
- add (optimistic) automatic filter massaging
- cleanup of massaging stuff

22 years agoAdded RFC 2459 PKCS9 emailAddress
Howard Chu [Wed, 1 May 2002 06:34:49 +0000 (06:34 +0000)]
Added RFC 2459 PKCS9 emailAddress

22 years agoadd an RFC 2849 check... but behind #if 0 as I'm now thinking this
Kurt Zeilenga [Wed, 1 May 2002 04:40:26 +0000 (04:40 +0000)]
add an RFC 2849 check... but behind #if 0 as I'm now thinking this
is not appropriate.

22 years agocleanup before working on changes
Kurt Zeilenga [Wed, 1 May 2002 04:23:59 +0000 (04:23 +0000)]
cleanup before working on changes

22 years agoReworking backend_check_restrictions for extensions
Kurt Zeilenga [Wed, 1 May 2002 01:04:57 +0000 (01:04 +0000)]
Reworking backend_check_restrictions for extensions
Should resolve ITS#1781.

22 years agoFix previous commit - must fully init newAVA
Howard Chu [Tue, 30 Apr 2002 14:43:05 +0000 (14:43 +0000)]
Fix previous commit - must fully init newAVA

22 years agoAdded ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
Howard Chu [Tue, 30 Apr 2002 13:57:24 +0000 (13:57 +0000)]
Added ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
UNIVERSALSTRING to UTF-8 format.

22 years agoAdded ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
Howard Chu [Tue, 30 Apr 2002 13:57:01 +0000 (13:57 +0000)]
Added ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
UNIVERSALSTRING to UTF-8 format.

Rewrote ldap_X509dn2bv to check ASN.1 types and use above function.

22 years agoChanged ldap_pvt_tls_get_my_dn and ldap_pvt_tls_get_peer_dn to store result
Howard Chu [Tue, 30 Apr 2002 13:52:49 +0000 (13:52 +0000)]
Changed ldap_pvt_tls_get_my_dn and ldap_pvt_tls_get_peer_dn to store result
in dn parameter and return a result code.

Changed dnX509peerNormalize as above. Added debug message on failure to
retrieve client DN.

22 years agoChanged ldap_pvt_tls_get_my_dn and ldap_pvt_tls_get_peer_dn to store result
Howard Chu [Tue, 30 Apr 2002 13:50:56 +0000 (13:50 +0000)]
Changed ldap_pvt_tls_get_my_dn and ldap_pvt_tls_get_peer_dn to store result
in dn parameter and return a result code.

22 years agocouple of fixes
Pierangelo Masarati [Mon, 29 Apr 2002 20:36:04 +0000 (20:36 +0000)]
couple of fixes

22 years agoFirst commit of Hallvard's backend documentation effort
Pierangelo Masarati [Mon, 29 Apr 2002 20:24:29 +0000 (20:24 +0000)]
First commit of Hallvard's backend documentation effort

Backend documentation patch, version 1

================
Most of this text is taken from OpenLDAP.  The work of rewriting it
to manual pages is done by by Hallvard B. Furuseth and placed into
the public domain.  This software is not subject to any license of
the University of Oslo.
================

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.

22 years agohandle trivial cases
Pierangelo Masarati [Mon, 29 Apr 2002 19:14:42 +0000 (19:14 +0000)]
handle trivial cases

22 years agopointer initialization
Jong Hyuk Choi [Mon, 29 Apr 2002 16:42:41 +0000 (16:42 +0000)]
pointer initialization

22 years agohonor limits if below soft limit
Pierangelo Masarati [Mon, 29 Apr 2002 10:12:50 +0000 (10:12 +0000)]
honor limits if below soft limit

22 years agoFix check for "anonymous" in sasl_getdn
Howard Chu [Sat, 27 Apr 2002 03:44:23 +0000 (03:44 +0000)]
Fix check for "anonymous" in sasl_getdn

22 years agoITS#1730: Misc typos in NEW_LOGGING code from Hallvard
Julius Enarusai [Thu, 25 Apr 2002 22:12:44 +0000 (22:12 +0000)]
ITS#1730: Misc typos in NEW_LOGGING code from Hallvard

22 years agofix off-by-one bug; use s/sprintf/snprintf/
Pierangelo Masarati [Thu, 25 Apr 2002 19:23:37 +0000 (19:23 +0000)]
fix off-by-one bug; use s/sprintf/snprintf/

22 years agoFix ITS#1774, BDB keys need ulen and flags to be initialized because BDB
Howard Chu [Thu, 25 Apr 2002 05:16:15 +0000 (05:16 +0000)]
Fix ITS#1774, BDB keys need ulen and flags to be initialized because BDB
tries to retrieve both the key and the data.

22 years agoAdded rebind-as-user option; saves bind credentials and sets a rebind_proc
Howard Chu [Thu, 25 Apr 2002 02:05:34 +0000 (02:05 +0000)]
Added rebind-as-user option; saves bind credentials and sets a rebind_proc
to allow chasing referrals using the same user's credentials.

22 years ago- some code cleanups
Ralf Haferkamp [Tue, 23 Apr 2002 15:28:11 +0000 (15:28 +0000)]
- some code cleanups
- fix for the client caching code (cache is flushed after modifications
  rather than removing only the changed entry)

The code was submitted by Jeff Costlow <j.costlow@f5.com> under the
following terms:

Copyright 2002, F5 Networks, Inc, All rights reserved.
This software is not subject to any license of F5 Networks.

This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.

22 years agoRemove lint.
Kurt Zeilenga [Mon, 22 Apr 2002 23:03:33 +0000 (23:03 +0000)]
Remove lint.

22 years agoUpdate configure
Kurt Zeilenga [Mon, 22 Apr 2002 17:40:34 +0000 (17:40 +0000)]
Update configure

22 years agoRe: PRIVATE: Patch: Passwords (ITS#1740)
Kurt Zeilenga [Mon, 22 Apr 2002 17:31:16 +0000 (17:31 +0000)]
Re: PRIVATE: Patch: Passwords  (ITS#1740)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.

22 years agoITS#1749 added some descriptions for fetch, rewrite, rlookups, modules,
Howard Chu [Sat, 20 Apr 2002 10:24:24 +0000 (10:24 +0000)]
ITS#1749 added some descriptions for fetch, rewrite, rlookups, modules,
ldbm api/types

22 years agoITS#1749 added maxderefdepth, suffiaxalias, TLSCACertificatePath,
Howard Chu [Sat, 20 Apr 2002 10:06:23 +0000 (10:06 +0000)]
ITS#1749 added maxderefdepth, suffiaxalias, TLSCACertificatePath,
ucdata-path, moduleload, modulepath. sasl-external-x509dn-convert has
been deleted from the code.

22 years agoComment out "logfile", its code is behind #ifdef NEW_LOGGING in config.c.
Howard Chu [Sat, 20 Apr 2002 09:23:19 +0000 (09:23 +0000)]
Comment out "logfile", its code is behind #ifdef NEW_LOGGING in config.c.

22 years agoITS#1749 added "debug" description, commented out because it has no effect
Howard Chu [Sat, 20 Apr 2002 09:07:24 +0000 (09:07 +0000)]
ITS#1749 added "debug" description, commented out because it has no effect
without NEW_LOGGING. Added logfile.

22 years agoITS#1749 added BDB options
Howard Chu [Sat, 20 Apr 2002 08:12:03 +0000 (08:12 +0000)]
ITS#1749 added BDB options

22 years agoDN consistency, lowercase, etc.
Howard Chu [Sat, 20 Apr 2002 07:44:02 +0000 (07:44 +0000)]
DN consistency, lowercase, etc.

22 years agoTypos, slight rearrangement
Howard Chu [Sat, 20 Apr 2002 07:24:14 +0000 (07:24 +0000)]
Typos, slight rearrangement

22 years agoITS#1438 typos
Howard Chu [Sat, 20 Apr 2002 06:33:22 +0000 (06:33 +0000)]
ITS#1438 typos

22 years agoITS#1271 typos
Howard Chu [Sat, 20 Apr 2002 06:18:55 +0000 (06:18 +0000)]
ITS#1271 typos

22 years agoPatch for ITS# 1643
Jong Hyuk Choi [Fri, 19 Apr 2002 21:41:32 +0000 (21:41 +0000)]
Patch for ITS# 1643

22 years agoAdding support for compatibility decomposition to ucdata lib, and switch
Stig Venaas [Fri, 19 Apr 2002 12:59:57 +0000 (12:59 +0000)]
Adding support for compatibility decomposition to ucdata lib, and switch
from NFC to NFKC in UTF8bvnormalize() and UTF8bvnormcmp()

22 years agoIn ldap_int_tls_start, authid is very temporary, not const.
Howard Chu [Fri, 19 Apr 2002 04:35:16 +0000 (04:35 +0000)]
In ldap_int_tls_start, authid is very temporary, not const.

22 years agoPut dnX509 normalizers behind #ifdef HAVE_TLS
Howard Chu [Fri, 19 Apr 2002 01:25:15 +0000 (01:25 +0000)]
Put dnX509 normalizers behind #ifdef HAVE_TLS

22 years agoBlind commit:
Kurt Zeilenga [Thu, 18 Apr 2002 19:28:26 +0000 (19:28 +0000)]
Blind commit:
Re: Untested patch: back-tcl used wrong types  (ITS#1719)

================
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 turned it into an automatic variable.

...and used a variable-length array.  That's a gcc extension, it is not
in ANSI C89.  (It is in C99 though.)  You seem to be compiling without
-pedantic:-)  Anyway, here is a patch to turn it back into ch_malloc(),
plus some README fixes

22 years agoFix memory leak in previous commit
Howard Chu [Thu, 18 Apr 2002 16:02:02 +0000 (16:02 +0000)]
Fix memory leak in previous commit

22 years agoFix memory leak in previous commit
Howard Chu [Thu, 18 Apr 2002 15:55:05 +0000 (15:55 +0000)]
Fix memory leak in previous commit

22 years ago Added ldap_X509dn2bv()
Howard Chu [Thu, 18 Apr 2002 12:29:30 +0000 (12:29 +0000)]
  Added ldap_X509dn2bv()
  deleted ldap_pvt_tls_get_peer()
  changed ldap_pvt_tls_get_peer_dn() to use ldap_X509dn2bv()
  added ldap_pvt_tls_get_my_dn()

22 years agodeleted sasl_external_x509dn_convert; X509 DNs are always converted to
Howard Chu [Thu, 18 Apr 2002 12:26:36 +0000 (12:26 +0000)]
deleted sasl_external_x509dn_convert; X509 DNs are always converted to
normalized LDAP DNs now.

Changed dnDCEnormalize to dnX509normalize, added dnX509peerNormalize,
based on new ldap_X509dn2bv() etc.

22 years agoFix slap_bv2ad initializing with wrong bv_len
Howard Chu [Thu, 18 Apr 2002 12:21:33 +0000 (12:21 +0000)]
Fix slap_bv2ad initializing with wrong bv_len

22 years agoFix warnings from sasl_errdetail
Howard Chu [Thu, 18 Apr 2002 12:20:55 +0000 (12:20 +0000)]
Fix warnings from sasl_errdetail

22 years agoAdditional error reporting for Cyrus SASL 2. Attempt to get SASL-EXTERNAL
Howard Chu [Thu, 18 Apr 2002 00:48:36 +0000 (00:48 +0000)]
Additional error reporting for Cyrus SASL 2. Attempt to get SASL-EXTERNAL
working ifor Cyrus 2. (Both GSSAPI and EXTERNAL are broken at the moment.)

22 years agoDelete more unused code, no need to fetch REALM in slap_sasl_bind
Howard Chu [Wed, 17 Apr 2002 19:47:34 +0000 (19:47 +0000)]
Delete more unused code, no need to fetch REALM in slap_sasl_bind