ChangeLog   [plain text]

2004-03-10  Rob Siemborski <>
	* lib/dlopen.c: HPUX 11 Fix (Alexey Melnikov <>)
	* Add sasl_version_info() (Alexey Melnikov <>)
	* Add a bunch of NTMakefile files to EXTRA_DIST in's
	* Ready for 2.1.18

2004-03-08  Rob Siemborski <>
	* NI_WITHSCOPEID fixes (Hajimu UMEMOTO <>) - correct

2004-02-24  Rob Siemborski <>
	* acinclude.m4: move to config/libtool.m4
	* saslauthd/lak.[ch]: Added filter based group membership check
	  (Paul Bender <>, Igor Brezac <>)

2004-02-23  Rob Siemborski <>
	* plugins/NTMakefile: Enable DO_SRP_SETPASS on windows
	  (Alexey Melnikov <>)
	* doc/windows.html: Updates
	  (Alexey Melnikov <>)
	* win32/: Add version resource info to plugins
	  (Alexey Melnikov <>)
	* plugins/digestmd5.c: Comments and other cleanup

2004-02-20  Rob Siemborski <>
	* lib/server.c, include/saslplug.h: Allow "temporary failure"
	  return values from mech_avail
	* lib/canonusr.c, lib/server.c: Comment Nits
	  (Alexey Melnikov <>)
	* plugins/NTMakefile, plugins/plugin_common.h, 
	  plugins/plugin_common.c, plugins/otp.c: build OTP on Windows
	  (Alexey Melnikov <>)

2004-02-19  Ken Murchison <>
	* plugins/ntlm.c, sample/server.c, sample/client.c:
	  error checking of getnameinfo() (Paul Kranenburg <>)
	* plugins/ntlm.c: alignment and endian fixes in load_session_setup()
	  (Paul Kranenburg <>)

2004-02-18  Rob Siemborski <>
	* doc/NTMakefile, NTMakefile: nmake install support
	  for doc/ (Alexey Melnikov <>)
	* plugins/digestmd5.c: Check that digest-uri is only sent once
	  (Alexey Melnikov <>)
	* utils/ add LIB_PGSQL to static link line

2004-02-17  Rob Siemborski <>
	* win32/include/config.h: caddr_t might be already defined
	  elsewhere (Alexey Melnikov <>)
        * lib/NTMakefile, include/saslutil.h:  getopt might be already
	  defined elsewhere. The change will produce libsasl.dll which exports
	  getopt, buat a define can be used to prevent import of getopt from
	  libsasl.dll. (Alexey Melnikov <>)

2004-02-16  Rob Siemborski <>
	  (Patrick Welche <>)
	* lib/dlopen.c: OpenBSD ELF patch (J.C. Roberts)

2004-02-06  Rob Siemborski <>
	* lib/NTMakefile, utils/NTMakefile: fix "clean" target
	  (Alexey Melnikov <>)
	* General winsock.h -> winsock2.h conversion
	  (Alexey Melnikov <>)
	* plugins/plugin_common.h: add extern "C" wrapper
	  (Alexey Melnikov <>)

2004-01-23  Rob Siemborski <>
	* Remove "experimental" designation from saslauthd/ldap
	* Correct handling of sasl_setpass errors when no
	  mechanisms implement the setpass interface
	  (Alexey Melnikov <>)

2004-01-20  Rob Siemborski <>
	* minor sql nit (Edward Rudd <>)
	* lib/staticopen.h: MYSQL should be SQL
	  (Edward Rudd <>)

2004-01-12  Rob Siemborski <>
	* win32/include/config.h: fix VC++ 6.0 compiles
	  (Alexey Melnikov <>)
	* Correct use of AC_LIBOBJ, quote macro names
	  defined by AC_DEFUN, Use enable_shared to determine whether
	  to enable the shared plugin.
	  (Maciej W. Rozycki <>)
	* plugins/srp.c: Fix typos
	  (Maciej W. Rozycki <>)
	* saslauthd/ Correct use of AC_LIBOBJ
	  (Maciej W. Rozycki <>)

2004-01-08  Ken Murchison <>
	* plugins/sql.c: better error logging

2004-01-07  Rob Siemborski <>
	* lib/checkpw.c & others: Support for Courier-IMAP authdaemond
	  use during password verification (Leandro Santi

2003-12-30  Rob Siemborski <>
	* saslauthd/lak.c: Fix NULL pointer dereference
	  (Simon Brady <>)
	* saslauthd/lak.c, lak.h, LDAP_SASLAUTHD: Improved retry handler,
	  Improved logging/debug messages, Fixed String checks, config
	  option changes (Igor Brezac <>)

2003-12-22  Rob Siemborski <>
	* plugins/digestmd5.c: Fix memory leak
	  (Alexey Melnikov <>)

2003-12-18  Rob Siemborski <>
	* plugins/plugin_common.c: Fix handling of blob unwrapping
	  in _plug_decode
	* lib/checkpw.c: Fix some file descriptor leaks during failures
	  in the saslauthd code.

2003-12-15  Rob Siemborksi <>
	* utils/saslauthd.c: Fix Typo
	  (Alexey Melnikov <>)
	* plugins/plugin_common.c: Fix potential memory leak
	* lib/external.c: Limit size of authzids in EXTERNAL
	* plugins/gssapi.c: Pre-init some variables
	* lib/cram.c: Detect possible buffer overrun
	* lib/checkpw.c: Post-fence bug
	  (Leandro Santi <>)

2003-12-12  Rob Siemborski <>
	* saslauthd/lak.c: assign null to free
	  variables (Juan Felipe Garcia <>)
	* saslauthd/lak.c: Improve retry when ldap connection is reset
	  (1st pass) (Igor Brezac <>)

2003-12-11  Rolf Braun <>
	* Several MacOS X Fixes

2003-12-06  Ken Murchison <>
	* lib/checkpw.c, lib/server.c,
	  plugins/cram.c, plugins/digestmd5.c, plugins/ntlm.c,
	  plugins/otp.c, plugins/srp.c: erase the plaintext password
	  property from the context when we're done with it

2003-12-01  Ken Murchison <>
	* doc/draft-ietf-sasl-crammd5-01.txt: added
	* doc/draft-ietf-sasl-gssapi-00.txt: added
	* doc/draft-ietf-sasl-plain-03.txt: added
	* doc/draft-ietf-sasl-rfc2222bis-03.txt: added
	* doc/draft-ietf-sasl-saslprep-04.txt: added
	* doc/draft-ietf-sasl-crammd5-00.txt: deleted
	* doc/draft-ietf-cat-sasl-gssapi-05.txt: deleted
	* doc/draft-ietf-sasl-plain-02.txt: deleted
	* doc/draft-ietf-sasl-rfc2222bis-02.txt: deleted
	* doc/draft-ietf-sasl-saslprep-03.txt: deleted
	* doc/index.html, doc/ updated to latest version of
	  SASL drafts

2003-12-01  Rob Siemborski <>
	* Fix build nit in IRIX.
	* Actual 2.1.17 release.

2003-11-28  Rob Siemborski <>
	* Ready for 2.1.17

2003-11-19  Rob Siemborski <>
	* config/kerberos_v4.m4: Disable KERBEROS_V4 support by default

2003-11-14  Rob Siemborski <>
	* lib/server.c: do authorization callback in sasl_checkpass()
	  (Chris Newman <>)

2003-11-11  Ken Murchison <>
	* lib/client.c: allow serverFDQN to be NULL in sasl_client_new()
	* plugins/digestmd5.c, gssapi.c: require that we have serverFQDN
	  for the client side of the plugin

2003-11-07  Rob Siemborski <>
	* --with-gss_impl configure option
	  (Alexey Melnikov <>)

2003-11-06  Rob Siemborski <>
	* nmake install support for Win32
	  (Alexey Melnikov <>)

2003-11-03  Ken Murchison <>
	* include/saslplug.h, lib/server.c, plugins/cram.c,
	  plugins/digestmd5.c, plugins/ntlm.c, plugins/otp.c,
	  plugins/srp.c: return SASL_TRANS to the application where
	  appropriate (auto_transition enabled with writable auxprop)

2003-10-30  Rob Siemborski <>
	* saslauthd/lak.c: OpenLDAP 2.0 Compatability Fix
	  (Igor Brezac <>)
	* saslauthd/ipc_unix.c: Fix buglet of not using saved errno
	  value (Jeremy Rumpf <>)

2003-10-20  Rob Siemborski <>
	* Win64 warning squashing (Alexey Melnikov <>)
	* GSSAPI cleanups and fixes (Alexey Melnikov <>)

2003-10-14  Rob Siemborski <>
	* Ready for 2.1.16-BETA

2003-10-08  Rob Siemborski <>
	* Support for autoconf 2.57, automake 1.7
	* Minor m4 quoting fixes (Patrick Welche <>)

2003-10-07  Ken Murchison <>
	* plugins/sql.c: removed sql_delete - don't DELETE rows from the
	  table, just set the properties to NULL;
	  fix a stupid logic error in my PgSQL changes
	* doc/options.html: removed sql_delete option; clarifications
	* doc/install.html: note that we require PostgreSQL v7.2+

2003-10-06  Ken Murchison <>
	* plugins/sql.c: use the correct propctx in sql_auxprop_store()

2003-10-06  Maya Nigrosh <>
	* plugins/sql.c: tiny bugfix to begin pgsql transactions
2003-10-04  Ken Murchison <>
	* plugins/sql.c: only do a txn when we have a property to fetch;
	  _pgsql_open() cleanup/fixes; more intelligient sql_usessl parsing;
	  require sql_select option
	* doc/options.html: reorganized SQL option descriptions

2003-10-03  Rob Siemborski <>
	* sasldb/allockey.c, sasldb/sasldb.h, utils/sasldblistusers.c:
	  Add enumeration capability to the sasldb API
	  (Alexey Melnikov <>)

2003-10-02  Ken Murchison <>
	* plugins/sql.c: changed abstraction layer for transactions

2003-10-01  Rob Siemborski <>
	* doc/: Documentation Update
	  (Alexey Melnikov <>)
	* plugins/NTMakefile, plugins/srp.c: Win32 SRP Support
	  (Alexey Melnikov <>)

2003-09-30  Rob Siemborski <>
	* plugins/digestmd5.c: Clean up some warnings
	* lib/canonusr.c, win32/include/config.h, win32/common.mak,
	  include/saslplug.h: Minor Cleanup
	  (Alexey Melnikov <>)
	* utils/NTMakefile, utils/sasldblistusers.c, utils/saslpasswd.c:
	  Add version options to command line utilities
	  (Alexey Melnikov <>)

2003-09-29  Ken Murchison <>
	* plugins/sql.c, doc/options.html: added sql_update and sql_delete
	  for a complete auxprop_store() implementation; logic cleanup

2003-09-25  Rob Siemborski <>
	* utils/saslpasswd.c: Win32 perror() related patch
	  (Alexey Melnikov <>)

2003-09-25  Ken Murchison <>
	* plugins/sql.c: renamed sql_statement to sql_select,
	  cleanup and bugfixes

2003-09-23  Rob Siemborski <>
	* doc/gssapi.html: Misc updates
	  (Alexey Melnikov <>)
	* lib/, plugins/, saslauthd/,
	  sasldb/ Cleanup INCLUDES for different build
	  directories. (Alexey Melnikov <>)

2003-09-23  Maya Nigrosh <>
	* plugins/sql.c: put transaction handling around the entirety of 
	  the queries, and not just per-property; return the result status
	  of bad postgres tuples

2003-09-22  Maya Nigrosh <>
	* plugins/sql.c: added semicolon at the end of each sql statement
2003-09-19  Maya Nigrosh <>
	* plugins/sql.c: moved transaction handling to a more useful place,
	  minor bugfixes

2003-09-18  Ken Murchison <>
	* lib/server.c: log a message when no password change is attempted
	  (Alexey Melnikov <>)

2003-09-17  Ken Murchison <>
	* plugins/sql.c: misc fixes from Patrick Welche <>
2003-09-16  Ken Murchison <>
	* doc/mechanisms.html: updated to latest versions of LOGIN and
	  SRP drafts

2003-09-15  Ken Murchison <>
	* doc/draft-ietf-sasl-rfc2222bis-02.txt: added
	* doc/draft-ietf-sasl-rfc2222bis-01.txt: deleted
	* doc/index.html, doc/ updated to latest version of
	  SASL draft

2003-09-14  Ken Murchison <>
	* plugins/ntlm.c, plugins/plugin_common.[ch]: Win32 support
	  (Alexey Melnikov <>)

2003-09-12  Rob Siemborski <>
	* plugins/sql.c: Log errors on connect failures
	  (based on patch from Bruce M Simpson <>)
	* plugins/NTMakefile: Add support for GSSAPI=CyberSafe
	  (Alexey Melnikov <>)

2003-09-10  Maya Nigrosh <>
	* plugins/sql.c: created generic sql store function, added 
	  transaction handling to sql statements
	* doc/options.html: put pretty new options in the documentation
2003-09-10  Rob Siemborski <>
	* plugins/gssapi.c, win32/config.mak, sample/: Win32 Fixes
	  (Alexey Melnikov <>)

2003-09-09  Rob Siemborski <>
	* lib/NTMakefile: Minor nit
	  (Alexey Melnikov <>)

2003-09-09  Ken Murchison <>
	* plugins/ntlm.c: use retry_read() instead of just read()
	* lib/checkpw.c, plugins/ntlm.c, saslauthd/utils.c:
	  squash signed/unsigned warning

2003-09-08  Ken Murchison <>
	* plugins/ntlm.c: fix byte-alignment and password handling problems

2003-09-03  Rob Siemborski <>
	* lib/checkpw.c: Check return value of door_call
	  (Gary Mills <>)
	* saslauthd/ipc_doors.c: Implement thread limiting,
	  minor cleanup and error checking
	  (Gary Mills <>)
	* plugins/digestmd5.c: Fix minor interop issues, limit maxbuf
	  (Alexey Melnikov <>)

2003-09-02  Ken Murchison <>
	* plugins/ntlm.c, doc/options.html: added support for NTLMv2 responses;
	  fixed potential buffer overflow

2003-09-02  Rob Siemborski <>
	* lib/common.c, lib/server.c, lib/NTMakefile, include/md5.h:
	  more windows compatibility
	  (Alexey Melnikov <>)
	* plugins/NTMakefile: Add ability to build NTLM plugin under
	  Win32 (Alexey Melnikov <>)
	* utils/NTMakefile: Add ability to build testsuite
	  (Alexey Melnikov <>)
	* saslauthd/lak.c: Minor error message fix
	  (Igor Brezac <>)

2003-08-29  Ken Murchison <>
	* doc/draft-murchison-sasl-login-00.txt: added
	* doc/draft-sasl-login.txt: deleted
	* doc/index.html, doc/ updated to "official" LOGIN draft

2003-08-29  Rob Siemborski <>
	* plugins/gssapi.c: properly compute GSSAPI MAXOUTBUF
	  (Paul Turgyan <>)
	* Further Win32 cleanup + HIER_DELIMITER usage
	  (Alexey Melnikov <>)

2003-08-28  Rob Siemborski <>
	* include/md5.h, lib/md5.c: Misc cleanup
	  (Alexey Melnikov <>)
	* utils/sasldblistusers.c: UI Cleanup, Win32 support
	  (Alexey Melnikov <>)
	* acconfig.h: add HIER_DELIMITER

2003-08-27  Ken Murchison <>
	* plugins/digestmd5.c: handle OpenSSL 0.9.7+ w/o old DES support

2003-08-26  Ken Murchison <>
	* plugins/ntlm.c: only send one NT/LM response to server
	  (NT preferred); don't use canonified authid when proxying

2003-08-24  Ken Murchison <>
	* plugins/ntlm.c, doc/options.html: allow NTLM authentication to
	  be optionally proxied to an NT server (ntlm_server option)

2003-08-24  Ken Murchison <>
	* lib/common.c: added support for unsigned int types in _sasl_log()

2003-08-18  Rob Siemborski <>
	* Improvements in Win32 build system from Alexey Melnikov

2003-08-14  Rob Siemborski <>
	* doc/*: Massive documentation updates.

2003-08-13  Ken Murchison <>
	* doc/index.html: added reference to a CIFS (SMB/NTLM) document

2003-08-12  Ken Murchison <>
	* doc/index.html: added reference to a good NTLM document

2003-07-29  Ken Murchison <>
	* plugins/cram.c: don't truncate long secrets to 64 bytes on the
	  client-side of CRAM-MD5 (

2003-07-28  Rob Siemborski <>
	* plugins/gssapi.c: another missed pointer init
	  (Will Fiveash <>)

2003-07-26  Rob Siemborski <>
	* lib/server.c: Missed pointer initialization fix
	  ("Dave Cridland [Home]" <>)

2003-07-26  Ken Murchison <>
	* plugins/digestmd5.c: merged privacy and integrity security layer
	  code and removed use of tmp buffers for security layer

2003-07-25  Ken Murchison <>
	* plugins/srp.c: removed use of tmp buffer for security layer;
	  don't make a big buffer out of iovecs when encoding
	* lib/server.c, plugins/login.c, plugins/plain.c: better handling
	  of auto_transition -- doesn't try to transition from auxprop to

2003-07-25  Rob Siemborski <>
	* Fix up some mysql/pgsql detection
	* plugins/gssapi.c: improved error reporting
	  (William Fiveash <>)
	* cmulocal/sasl2.m4, saslauthd/mechanisms.h: Improved
	  GSSAPI detection (don't default to MIT, require HAVE_KRB5_H
	  for the kerberos5 saslauthd module)
	  (Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>)

2003-07-24  Ken Murchison <>
	* plugins/srp.c: updated security layer code to be closer to draft -08

2003-07-23  Rob Siemborksi <>
	* saslauthd/utils.[ch], saslauthd/ Detect/replace
	  strlcpy and strlcat (based on ideas from
	  Igor Brezac <>)

2003-07-22  Ken Murchison <>
	* plugins/digestmd5.c, plugins/gssapi.c, plugins/kerberos4.c,
	  plugins/plugin_common.[ch]: moved encoded packet buffering into

2003-07-21  Ken Murchison <>
	* plugins/srp.c: updated auth code to draft -08 (layers still need
	  to be updated)
	*, plugins/srp.c: use auxprop_store() instead of
	  direct sasldb access

2003-07-21  Rob Siemborski <>
	* add runpath information for MySQL and Postgres;
	  better behavior for the interaction of --enable-sql and
	  --with-mysql / --with-pgsql
	* saslauthd/lak.[ch]: %d to be derived from %u if it can be,
	  otherwise use %r (to account for the recent change in the
	  core library).  Add ldap_default_realm parameter
	  (Igor Brezac <>)

2003-07-18  Rob Siemborski <>
	* plugins/digestmd5.c: Client side of digest md5 doesn't
	  have quotes around its cypher= directive (Bug 2113).
	* saslauthd/lak.[ch]: support for ldap sasl binds,
	  support for tls (Igor Brezac <>)

2003-07-17  Ken Murchison <>
	* include/sasl.h, include/saslplug.h,
	* lib/auxprop.c, lib/common.c, lib/server.c, plugins/sasldb.c:
	  implemented writable auxprops
	*, plugins/otp.c, utils/saslpasswd: use
	  auxprop_store() instead of direct sasldb access
	* doc/options.html, lib/server.c: implemented 'noplain' option for

2003-07-17  Rob Siemborski <>
	* lib/config.c: Remove sasl_config_getint and sasl_config_getswitch
	  because they are unused and confusing
	* lib/checkpw.c: Correctly split realm from username in

2003-07-15  Ken Murchison <>
	* plugins/sql.c, doc/options.html: added sql_usessl option

2003-07-15  Ken Murchison <>
	* plugins/mysql.c: deleted
	* plugins/sql.c: added
	* acconfig.h,,
	  doc/components.html, doc/options.html, doc/sysadmin.html,
	  plugins/, plugins/ deprecated MySQL plugin
	  in favor of a new generic SQL plugin (currently supports MySQL and

2003-07-15  Rob Siemborski <>
	* Ready for 2.1.15

2003-07-03  Rob Siemborski <>
	* doc/components.html: added in the hopes that this gives a better
	  description of how all the components interact

2003-07-02  Ken Murchison <>
	* doc/draft-ietf-sasl-anon-02.txt: added
	* doc/draft-ietf-sasl-plain-02.txt: added
	* doc/draft-ietf-sasl-saslprep-03.txt: added
	* doc/draft-ietf-sasl-anon-01.txt: deleted
	* doc/draft-ietf-sasl-plain-01.txt: deleted
	* doc/index.html, doc/ updated to latest versions of
	  PLAIN, ANONYMOUS, SASLprep drafts

2003-07-02  Rob Siemborski <>
	* acconfig.h, cmulocal/sasl2.m4, plugins/gssapi.c:
	  Properly detect HAVE_GSS_C_NT_USER_NAME
	  (Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>)

2003-07-01  Rob Siemborski <>
	* plugins/kerberos4.c: Fix some maxoutbuf handling issues

2003-07-01  Rob Siemborski <>
	* plugins/mysql.c: Check return value of mysql_init
	  (Ivan Kelly <>)

2003-07-01  Ken Murchison <>
	* doc/draft-burdis-cat-srp-sasl-08.txt: added
	* doc/draft-ietf-sasl-rfc2222bis-01.txt: added
	* doc/draft-ietf-sasl-rfc2831bis-02.txt: added
	* doc/draft-burdis-cat-srp-sasl-06.txt: deleted
	* doc/draft-ietf-sasl-rfc2222bis-00.txt: deleted
	* doc/draft-ietf-sasl-rfc2831bis-01.txt: deleted
	* doc/index.html, doc/ updated to latest versions of
	  SASL, SRP, DIGEST-MD5 drafts

2003-06-30  Rob Siemborski <>
	* plugins/mysql.c: Call mysql_init() too
	  (Hajimu UMEMOTO <>)

2003-06-28  Rob Siemborski <>
	* doc/sysadmin.html: Add more text about how to use realms.

2003-06-27  Rob Siemborski <>
	* Ready for 2.1.14

2003-06-11  Rolf Braun <>
	* config/kerberos_v4.m4:
	  fix fallback to -lkrb4 when --enable-krb4 is specified
	* config/ltconfig:
	* config/
	  make the darwin libtool work on OS X v10.2
	  (bash/zsh shell syntax, and don't link bundles with extra args)
	* dlcompat-20010505/dlopen.c: back out bogus delimiter change
	* doc/macosx.html: update for 10.2 and add known problems section
	* mac/osx_cfm_glue/cfmglue.c: fix sasl_done followed by client_init

2003-06-11  Rob Siemborski <>
	* man/sasl_client_new.3, man/sasl_server_new.3:
	  Security flags don't belong here, connection flags do.

2003-06-10  Ken Murchison <>
	* doc/draft-ietf-sasl-crammd5-00.txt: added
	* doc/draft-nerenberg-sasl-crammd5-03.txt: deleted
	* doc/index.html, doc/ updated to WG version of
	  CRAM-MD5 draft

2003-05-30  Rob Siemborski <>
	* plugins/gssapi.c: If we get an empty output token back
	  from gss_accept_sec_context, return
	  an empty string to transmit to the client.

2003-05-30  Ken Murchison <>
	* doc/draft-ietf-sasl-rfc2831bis-01.txt: added
	* doc/draft-ietf-sasl-rfc2831bis-00.txt: deleted
	* doc/index.html, doc/ updated to latest version of
	  DIGEST-MD5 draft

2003-05-28  Ken Murchison <>
	* doc/draft-ietf-sasl-anon-01.txt: added
	* doc/draft-ietf-sasl-plain-01.txt: added
	* doc/draft-ietf-sasl-rfc2222bis-00.txt: added
	* doc/draft-ietf-sasl-anon-00.txt: deleted
	* doc/draft-ietf-sasl-plain-00.txt: deleted
	* doc/draft-myers-saslrev-02.txt: deleted
	* doc/index.html, doc/ updated to latest versions of

2003-05-21  Rob Siemborski <>
	* saslauthd/ipc_unix.c: Accept File Descriptor Locking
	  Fixes (found by Leena Heino <>)
	* saslauthd/cache.c: Similar fixes
	  (Jeremy Rumpf <>)

2003-05-15  Rob Siemborski <>	
	* Actually listen to --disable-java
	  (Maciej W. Rozycki <>)
	* saslauthd/saslauthd-main.h: Increase listen backlog to
	  match Cyrus master process (Igor Brezac <>)

2003-05-14  Rob Siemborski <>
	* config/kerberos_v4.m4: Minor nit
	  (Carlos Velasco <>)
	* plugins/gssapi.c: Use GSS_C_NT_USER_NAME
	  to work around Solaris 8/9 libgss bug.
	  (gssapi_client_mech_step): Pass GSS_C_NO_BUFFER to first
	  invocation of gss_init_sec_context to work around Solaris 8/9
	  mech_krb5 bug. (Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>)
	* cmulocal/sasl2.m4: Check for Sun SEAM GSS-API implementation
	  (Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>)
	* saslauthd/ Check for krb5.h.  Don't define if GSSAPI
	  is present. (Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>)
	* saslauthd/mechanisms.h: Test for HAVE_KRB5_H instead of HAVE_GSSAPI_H
	  to activate AUTH_KRB5. (Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>)
	* plugins/mysql.c: Use mysql_real_connect() instead of mysql_connect()
	  (Petri Riihikallio <>)
	* saslauthd/: Misc ANSI C cleanups (Jeremy Rumpf <>)

2003-05-13  Rob Siemborski <>
	* config/sasldb.m4, utils/ fix installation of man
	  pages that are homed in the utils/ directory
	* include/*.h: Add extern "C" blocks for C++ compiles

2003-05-06  Rob Siemborski <>
	* saslauthd/saslauthd-main.c: misc spelling and UI cleanups

2003-04-16  Rob Siemborski <>
	* saslauthd/saslauthd-main.c: Don't set the auth mech until
	  all options have been processed. (Peter Stamfest <>)
	* lib/client.c, lib/common.c, lib/saslint.h, lib/server.c: Do
	  reference counting of the number of times sasl has been inited/doned.

2003-04-15  Rob Siemborski <>
	* config/ fix some portability problems in the use of expr
	  (Oliver Eikemeier <>)

2003-04-14  Rob Siemborski <>
	* Ready for 2.1.13

2003-04-08  Rob Siemborski <>
	* lib/external.c, lib/server.c: use mech_avail to disable
	EXTERNAL instead of special casing it (Chris Newman

2003-03-31  Rob Siemborski <>
	* saslauthd/ipc_unix.c, saslauthd/saslauthd-main.c,
	  saslauthd/saslauthd-main.h: use the pidfile locking from
	  the Cyrus IMAPd master process (implemented for saslauthd by
	  Igor Brezac <>)
	*, acconfig.h: Add configure option to set what
	  we use for /dev/random

2003-03-28  Rob Siemborski <>
	* saslauthd/: Unify the source files so that the IPC methods
	  are broken out into a separate API.  Cacheing of authentication
	  credentials is also available as a command-line option.
	  Other changes include: Remove Time of Day Flag, omit
	  SO_REUSEADDR on AF_UNIX sockets, make using the accept-socket
	  locking runtime configurable, and misc other cleanup.
	  (Jeremy Rumpf <>)

2003-03-26  Rob Siemborski <>
	* plugins/plain.c: Defend against memory leak on canon_user
	  failure (Chris Newman <>)

2003-03-19  Rob Siemborski <>
	* lib/auxprop.c, lib/checkpw.c, lib/common.c, lib/saslutil.c,
	  lib/server.c: Assorted minor fixes from Sun Microsystems
	  (provided by Chris Newman <>)

2003-03-13  Rob Siemborski <>
	* saslauthd/lak.c: Fix a memset length.  (Igor Brezac <>)

2003-03-06  Rob Siemborski <>
	* plugins/digestmd5.c: fix parity of digest-uri test
	* lib/client.c, common.c, saslint.h, server.c: Pass global
	  callbacks to global utils structure
	  (Howard Chu <>)
	* saslauthd/auth_krb5.c: Fix memory/file descriptor leak
	  in krb5 authentication (Jonathen Chen <>)
	* saslauthd/lak.c, lak.h, LDAP_SASLAUTHD: Remove ldap_cache
	  code, and rename MAX() to LAK_MAX()

2003-02-20  Ken Murchison <>
	* doc/draft-ietf-sasl-rfc2831bis-00.txt: added
	* doc/draft-melnikov-rfc2831bis-02.txt: deleted
	* doc/draft-newman-sasl-c-api-01.txt: added
	* doc/draft-newman-sasl-c-api-00.txt: deleted
	* doc/index.html: updated to WG version of DIGEST-MD5 draft,
	  updated to latest C API draft
	* doc/ updated to WG version of DIGEST-MD5 draft,
	  updated to latest C API draft

2003-02-12  Lawrence Greenfield  <>
	* plugins/digestmd5.c: verify the service component of digest-uri

2003-02-11  Ken Murchison <>
	* doc/draft-ietf-sasl-anon-00.txt: added
	* doc/draft-ietf-sasl-plain-00.txt: added
	* doc/draft-zeilenga-sasl-anon-01.txt: deleted
	* doc/draft-zeilenga-sasl-plain-01.txt: deleted
	* doc/index.html: updated to WG versions of ANONYMOUS, PLAIN drafts

2003-02-03  Rob Siemborski <>
	* cmulocal/sasl2.m4: Don't use -ldes to check for Heimdal
	* saslauthd/auth_krb4.c, saslauthd/auth_shadow.c,
	  saslauthd/auth_getpwent.c, lib/kerberos4.c:
	  Smarter checking of #includs for des.h
	  (Mark Keasling <>)
	* saslauthd/testsaslauthd.c, saslauthd/saslauthd-doors.c:
	  retry_read() should use a char * buffer not a void *
	  buffer (Mark Keasling <>)	
	* cmulocal/berkdb.m4: Set CPPFLAGS around tests
	  (based on patch from Leena Heino <>)
	* config/sasldb.m4: Actually use results of Berkeley DB tests
	  (Leena Heino <>)
	* Ready for 2.1.12

2003-01-31  Rob Siemborski <>
	* Ready for 2.1.11
	* utils/ Ensure that dbconverter-2 can see the sasldb
	  include directory.

2003-01-29  Rob Siemborski <>
	* plugins/digestmd5.c: Fix a situation where the realm wasn't
	  being set for the client context, causing a segfault
	* config/kerberos_v4.m4: first check des_* then check DES_*
	  during OpenSSL tests (based on ideas from
	  Leena Heino <>)

2003-01-28  Rob Siemborski <>
	* config/sasldb.m4: Don't build sasldb plugin if compiling
	  --with-dblib=none, since it will only fail to load anyway.

2003-01-27  Rob Siemborski <>
	* saslauthd/ use CMU_ADD_LIBPATH for LDAP support
	  (Simon Brady <>)

2003-01-23  Rob Siemborski <>
	* saslauthd/acconfig.h: protect file from being included more than
	  once (reported by Jeremy Rumpf <>)
	* saslauthd/, Move OpenSSL detection into
	  cmulocal, detect openssl for use with lak.c

2003-01-21  Ken Murchison <>
	* plugins/ntlm.c: only _require_ one response (LM and/or NT), not both

2003-01-09  Rob Siemborski <>
	* saslauthd/lak.c, saslauthd/lak.h: Add the fastbind auth method
	  (Simon Brady <>)

2003-01-01  Ken Murchison <>
	* saslauthd/, saslauthd/ don't make
	  -lcrypt dependent upon --enable-plain

2002-12-11  Ken Murchison <>
	* plugins/otp.c: set SASL_FEAT_ALLOWS_PROXY on client side

2002-12-10  Ken Murchison <>
	* plugins/otp.c: explicitly #include <openssl/md5.h> to resolve
	  OpenBSD/OpenSSL cruftiness

2002-12-10  Rob Siemborksi <>
	* saslauthd/saslauthd-doors.c: Fix a potential memory leak when
	  we call door_return()

2002-12-09  Rob Siemborski <>
	* lib/auxprop.c: Correct leak in prop_clear, also update list_end
	  in prop_request.
	* doc/options.html: Update use of saslauthd_path to be correct

2002-12-06  Rob Siemborski <>
	* Ready for 2.1.10

2002-12-05  Larry Greenfield <>
	* plugins/digestmd5.c: DES key fixes. stupid DES libraries want
          the key in the stupid DES parity format.
        * plugins/digestmd5.c:  refactored some of the cipher code so that
          there isn't RC4 state around when we're using DES and vice versa

2002-12-05  Rob Siemborski <>
	* saslauthd/lak.c: Allocate a large enough buffer to account for
	  a completely escaped username. (lak_escape and lak_filter)
	* lib/common.c: Ensure there is enough space for the trailing \0
	  in _sasl_log

2002-12-04  Rob Siemborski <>
	* lib/canonusr.c: Check for potential buffer overflow

2002-12-03  Ken Murchison <>
	* plugins/digestmd5.c: major fast reauth rewrite, mech_step cleanup
	* doc/options.html: server-side reauth is disabled by default

2002-11-24  Ken Murchison <>
	* plugins/login.c: allow authid to be passed in initial response
	* doc/draft-sasl-login.txt, doc/mechanisms.html:
	  documentation updates re: initial response

2002-11-07  Ken Murchison <>
	* doc/draft-nerenberg-sasl-crammd5-03.txt: added
	* doc/draft-nerenberg-sasl-crammd5-02.txt: deleted
	* doc/draft-zeilenga-sasl-anon-01.txt: added
	* doc/draft-zeilenga-sasl-anon-00.txt: deleted
	* doc/draft-zeilenga-sasl-plain-01.txt: added
	* doc/draft-zeilenga-sasl-plain-00.txt: deleted
	* doc/index.html: updated to latest CRAM-MD5, ANONYMOUS, PLAIN drafts

2002-11-01  Rob Siemborski <>
	* plugins/kerberos4.c: Make at most 1 canon_user call, not two.
	  (Howard Chu <>)

2002-10-25  Rob Siemborski <>
	* saslauthd/lak.c: minor cleanups

2002-10-24  Rob Siemborski <>
	* saslauthd/lak.c: fix problem where saslauthd stops LDAP
	  authentications when ldap_auth_method is bind.
	  (Igor Brezac <>)
	* doc/sysadmin.html, doc/options.html, saslauthd/saslauthd.mdoc:
	  documentation updates re: saslauthd mux path

2002-10-23  Ken Murchison <>
	* lib/external.c: added SASL_SEC_NOANONYMOUS to client side
	  (Howard Chu, <>)

2002-10-21  Ken Murchison <>
	* plugins/ntlm.c: NTLM probably doesn't offer perfect forward secrecy
	* doc/mechanisms: added table of properties/features

2002-10-20  Ken Murchison <>
	* saslauthd/ consolidated hashed password checking code

2002-10-18  Rob Siemborski <>
	* saslauthd/lak.[ch], saslauthd/auth_ldap.c:
	  Code cleanup, now support {SHA}, {SSHA}, {MD5}, and {SMD5} hashes,
	  misc other cleanup. (Igor Brezac <> and
	  Thomas Lussnig <>)

2002-10-17  Ken Murchison <>
	* doc/draft-melnikov-rfc2831bis-02.txt: added
	* doc/draft-melnikov-rfc2831bis-01.txt: deleted
	* doc/index.html: updated to latest RFC 2831bis draft

2002-10-11  Rob Siemborski <>
	* lib/ add missing staticopen.h to EXTRA_DIST,
	  fix some dependencies
	* Ready for 2.1.9

2002-10-10  Rob Siemborski <>
	* Ready for 2.1.8

2002-10-09  Rob Siemborski <>
	* lib/client.c: Allow plaintext mechanisms under an external security

2002-10-07  Rob Siemborski <>
	* sample/server.c: Fix some IPV6 defines
	  (Marshall Rose <>)

2002-10-02  Ken Murchison <>
	* lib/checkpw.c: return SASL_NOUSER when we can't find APOP secret
	* lib/server.c: plug APOP memory leak and consolidate canonification
	* force the use of a cache file
	  (Carlos Velasco <>)

2002-10-02  Rob Siemborski <>
	* lib/checkpw.c: Fix some misuses of sasl_seterror
	  (Martin Exler <>)

2002-09-24  Rob Siemborski <>
	* config/sasl2.m4, saslauthd/ GSSAPI doesn't need
	  to link ndbm.  Also cleanup some sasldb linking in saslauthd.

2002-09-23  Rob Siemborski <>
	* config/kerberos_v4.m4: Don't compile with kerberos unless we
	  have both the libs and the headers (Carlos Velasco

2002-09-19  Rob Siemborski <>
	* plugins/gssapi.c: endinaness corrections
	* sasldb/db_berkeley.c, utils/dbconverter-2.c: Berkley DB 4.1
	  support (Mika Iisakkila <>)

2002-09-19  Ken Murchison <>
	* plugins/plugin_common.[ch]: make SASL_CB_USER and result optional
	* plugins/anonymous.c: use SASL_CB_USER for fetching trace info,
	  don't require SASL_CB_AUTHNAME
	* plugins/gssapi.c, plugins/kerberos.c: don't require SASL_CB_USER
	* lib/external.c: define SASL_FEAT_ALLOWS_PROXY for this mechanism,
	  don't require SASL_CB_USER

2002-09-18  Rob Siemborski <>
	* plugins/srp.c, plugins/kerberos4.c: correct maxoutbuf handling
	* plugins/digestmd5.c: correct maxoutbuf handling, actually
	  send maxbuf to the remote.
	* lib/common.c: sanity check security properties
2002-09-17  Ken Murchison <>
	* plugins/ntlm.c: home-grown client/server NTLM implementation
	* NTLM depends on OpenSSL libcrypto
	* doc/sysadmin.html: added NTLM blurb

2002-09-16  Rob Siemborski <>
	* lib/canonusr.c: don't index begin_u with -1
	  (Randy Kunkee <>)
	* doc/sysadmin.html: cleanup
	* utils/saslpasswd.c: don't exit with -SASL_FAIL
	* saslauthd/saslauthd-unix.c: use a char* instead of a void* in

2002-09-12  Ken Murchison <>
	* lib/common.c: NULL outbuf if we get no output from sasl_decode()

2002-09-11  Rob Siemborski <>
	* plugins/mysql.c: Actually loop through the potential servers
	  properly (Seow Kok Heng <>)
	* acinclude.m4: Added copy of the correct libtool macros as
	* fix for gcc 3.x
	  (Carlos Velasco <>)

2002-09-10  Rob Siemborski <>
	* lib/server.c: Better handling of add_plugin failures

2002-09-10  Ken Murchison <>
	* acconfig.h, enable/disable NTLM
	* lib/staticopen.h, plugins/,, ntlm.c:
	  added NTLM support (client-side only)

2002-09-07  Rob Siemborski <>
	* saslauthd/, saslauthd/ don't
	  do configure substitutions for the saslauthd_SOURCES variable
	  (Carlos Velasco <>)

2002-09-05  Rob Siemborski <>
	* doc/os390.html: added
	* doc/index.html: referenced os390.html and macosx.html
	* lib/ better handling of plugin_common

2002-09-04  Rob Siemborski <>
	* (throughout) Extensive cleanup of how we build static and
	  shared versions of libsasl.  Also some more portability
	  fixes (Howard Chu <>)

2002-09-04  Rob Siemborski <>
	* acconfig.h, Actually check for sysexits.h,
	  varargs.h, and stdarg.h
	* lib/checkpw.c: compatibility patch for retry_read
	  (Howard Chu <>)

2002-09-03  Rob Siemborski <>
	* (throughout) fix handling of sys/param.h
	* (throughout) fix handling of time.h and sys/time.h
	* include/exits.h: include a replacement for sysexits.h
	* acconfig.h: define MAXHOSTNAMELEN if it isn't
	* lib/getaddrinfo.c, config/ipv6.m4: minor fixes for partial
	  getaddrinfo/getnameinfo implementations
	* (Above changes are all from or based on ideas from
	   Howard Chu <>)

2002-08-28  Rob Siemborski <>
	* lib/client.c, lib/saslint.h: Properly handle client-side
	  serverFQDN and clientFQDN

2002-08-19  Rob Siemborski <>
	* lib/dlopen.c: use correct paths when a .la file is not present
	  (Justin Gibbs <>)

2002-08-13  Rob Siemborski <>
	* doc/sysadmin.html: fix some /usr/lib/sasl references to
	  /usr/lib/sasl2 (Andrew Jones <>)

2002-08-09  Rob Siemborski <>
	* saslauthd/ fix small parts of the saslauthd.8 build
	* Ready for 2.1.7

2002-08-06  Ken Murchison <>
	* plugins/digestmd5.c: disable/remove server-side fast reauth

2002-08-02  Rob Siemborski <>
	* include/sasl.h, lib/common.c: Add SASL_AUTHUSER as a parameter
	  to sasl_getprop

2002-08-01  Rob Siemborski <>
	* saslauthd/lak.c: allow use of more than one %u or %r in the filter
	  (Laurent Larquère <>)

2002-07-30  Rob Siemborski <>
	* lib/client.c, lib/server.c: Add checks for SASL_NEED_PROXY and
	* include/sasl.h, include/saslplug.h: Add SASL_NEED_PROXY and
	* plugins/digestmd5.c, plugins/gssapi.c, plugins/kerberos4.c,
	  plugins/otp.c, plugins/plain.c, plugins/srp.c: define
	  SASL_FEAT_ALLOWS_PROXY for these mechanisms

2002-07-27  Rob Siemborski <>
	* saslauthd/auth_sasldb.c: Include mechanisms.h in a reasonable place.

2002-07-24  Rob Siemborski <>
	* saslauthd/ Fix DEFS to still supply -I. and -I..
	* Make --with-ldap show up in top level configure script,
	  make saslauthd compile by default
	* lib/saslutil.c: use read() and not fread() on /dev/random to preserve
	* doc/sysadmin.html: Add note about using /dev/urandom

2002-07-19  Rob Siemborski <>
	* doc/sysadmin.html, doc/readme.html, doc/upgrading.html:
	  Misc. documentation cleanup (Joe Rhett <>)

2002-07-17  Ken Murchison <>
	* lib/canonusr.c: update length of user string to length of output
	  from callback 

2002-07-16  Rob Siemborski <>
        * plugins/cram.c: Fix a security problem in the verification of
          the digest string. (Andrew Jones <>)
	* Ready for 2.1.6

2002-07-06  Rob Siemborski <>
	* plugins/mysql.c: Further memory management cleanup. (never
	  strdup the options, and therefore don't free staticly allocated
	* man/sasl_getopt_t.3: Clarify semantics of memory management

2002-07-05  Rob Siemborski <>
	* saslauthd/lak.c: Better handling of downed ldap servers
	  (Igor Brezac <>)
	* sasldb/db_berkeley.c, utils/dbconverter-2.c: Use db_strerror()
          rather than strerror() for Berkeley DB error values.
	  (J.H.M. Dassen (Ray) <>)
	* saslauthd/, saslauthd/auth_ldap.c: don't
	  hardwire the saslauthd conf file
	  (J.H.M. Dassen (Ray) <>)

2002-07-03  Rob Siemborski <>
	* man/sasl_user_exists.3: fix sasl_idle reference

2002-07-02  Rob Siemborski <>
	* lib/auxprop.c: Can now select multiple auxprop plugins
	* doc/options.html: updated for above
	* lib/client.c: improve mechanism selection to include
	  number of security flags

2002-06-27  Ken Murchison <>
	* doc/draft-zeilenga-sasl-plain-00.txt: added
	* doc/index.html: added PLAIN draft

2002-06-26  Ken Murchison <>
	* doc/draft-zeilenga-sasl-anon-00.txt: added
	* doc/index.html: added ANONYMOUS draft

2002-06-20  Rob Siemborski <>
	* lib/auxprop.c: Make "cound not find auxprop plugin" warning
	  log at LOG_DEBUG

2002-06-19  Rob Siemborski <>
	* plugins/digestmd5.c: create layer keys for integrity as
	  well as privacy
	* saslauthd/auth_ldap.[ch], saslauthd/lak.[ch]:
	  Large rewrite (Igor Brezac <>)
	* lib/client.c, lib/server.c, lib/common.c:
	  Actually set most of the sparams and cparams structures

2002-06-19  Ken Murchison <>
	* doc/draft-melnikov-rfc2831bis-01.txt: added
	* doc/draft-melnikov-rfc2831bis-00.txt: deleted
	* doc/index.html: updated to latest RFC 2831bis draft

2002-06-18  Ken Murchison <>
	* doc/draft-nerenberg-sasl-crammd5-02.txt: added
	* doc/draft-nerenberg-sasl-crammd5-01.txt: deleted
	* doc/index.html: updated to latest CRAM-MD5 draft

2002-06-17  Rob Siemborski <>
	* plugins/login.c, plugins/plain.c: Canonicalize username before
	  doing checkpass

2002-06-14  Rob Siemborski <>
	* lib/client.c, lib/server.c, lib/saslint.h, lib/common.c.
	  lib/seterror.c: continued size_t vs unsigned cleanups

2002-06-13  Rob Siemborski <>
	* saslauthd/ : remove LDAP support
	* Ready for 2.1.5

2002-06-12  Rob Siemborski <>
	* plugins/digestmd5.c: rename get_realm to get_server_realm, and
	  pay attention to its return value
	* lib/external.c, lib/seterror.c: cleanup size_t/unsigned confusion

2002-06-10  Rob Siemborski <>
	* sasldb/ fix handling of allockey (only include it once)
	* plugins/kerberos4.c: fix a reference count leak
	* Ready for 2.1.4

2002-05-28  Rob Siemborski <>
	* saslauthd/LDAP_SASLAUTHD, saslauthd/saslauthd.mdoc:
	  Update documentation for LDAP and Saslauthd as per
	  Igor Brezac <>

2002-05-22  Lawrence Greenfield  <>
	* lib/checkpw.c: close door file descriptor in

2002-05-21  Rob Siemborski <>
	* saslauthd/auth_krb5.c: fix a leak due to not
	  calling krb5_cc_destroy on failure

2002-05-17  Rob Siemborski <>
	* saslauthd/saslauthd-*.c: support a generic mechanism option -O
	  instead of -H
	* saslauthd/auth_ldap.c, lak.c, et. al: auth_ldap overhaul
	  (Igor Brezac <>)
	* lib/common.c, include/sasl.h: add sasl_version

2002-05-13  Rob Siemborski <>
	* lib/checkpw.c: use "*cmusaslsecretPLAIN" in auxprop_verify_password
	  (Howard Chu, <>), also only make a single
	  canon_user call.

2002-05-13  Ken Murchison <>
	* plugins/plugin_common.c: set the return code to SASL_FAIL, and
	  NULL the results of the _plug_get_*() functions before we get
	* plugins/digestmd5.c, otp.c, plain.c, srp.c: check for NULL or
	  empty authzid from callback

2002-05-09  Rob Siemborski <>
	* saslauthd/ --with-ldap now takes a path

2002-05-08  Rob Siemborski <>
	* saslauthd/acconfig.h, auth_ldap.c,, lak.c, lak.h:
	  Misc compile/portability fixes (mostly header-related)
	* utils/testsuite.c: minor getopt() parameter fix
	  (Claus Assmann <>)
	* lib/checkpw.c: fix some warnings

2002-05-07  Rob Siemborski <>
	* Ready for 2.1.3-BETA

2002-05-06  Rob Siemborski <>
	* include/saslplug.h: add name member for canon_user plugins
	* lib/canonusr.c: use name member

2002-05-06  Ken Murchison <>
	* plugins/digestmd5.c: added client-side reauth

2002-05-05  Ken Murchison <>
	* lib/client.c: pass global_context to mech_new()
	* lib/server.c: don't free global_context (the plugin should free it)
	* utils/testsuite: swapped serverlast tests so that the
	  descriptions are correct

2002-05-03  Ken Murchison <>
	* plugins/digestmd5.c: added server-side reauth
	* doc/index.html: added Marshall Rose's SASL papers
	* doc/options.html: added 'reauth_timeout'

2002-05-03  Rob Siemborski <>
	* plugins/kerberos4.c: fix compile errors
	* config/kerberos_v4.m4, plugins/digestmd5.c: fix des_cbc_encrypt
	  interoperability problem (OpenSSL)
	* saslauthd/, acconfig.h, auth_ldap.c, auth_ldap.h,, lak.c, lak.h, mechanisms.c, mechanisms.h,
	  saslauthd.conf: added experimental LDAP saslauthd module 
	  (by Igor Brezac <>)
	* include/saslplug.h: give auxprop plugins a name
	* plugins/sasldb.c: give sasldb plugin a name
	* lib/auxprop.c: allow auxprop selection
	* doc/options.html: document auxprop_plugin option

2002-05-01  Ken Murchison <>
	* plugins/digestmd5.c, gssapi.c, kerberos4.c, srp.c:
	  general plugin cleanup - standardizing structure

2002-04-30  Rob Siemborski <>
	* plugins/gssapi.c: Minor cleanup of struct hack in context structure

2002-04-30  Ken Murchison <>
	* plugins/plugin_common.[ch], anonymous.c, cram.c, login.c, otp.c,
	  plain.c, sasldb.c, srp.c,
	  lib/client.c, external.c, saslint.h, server.c: general plugin
	  cleanup - reusing more common code, standardizing structure

2002-04-28  Ken Murchison <>
	* plugins/plugin_common.[ch], anonymous.c, cram.c, digestmd5.c,
	  gssapi.c, kerberosv4.c, login.c, otp.c, plain.c, srp.c,
	  lib/external.c:finalize movement of callback/interaction stuff
	  into plugin_common

2002-04-27  Ken Murchison <>
	* plugins/plugin_common.[ch], anonymous.c, cram.c, digestmd5.c,
	  gssapi.c, kerberosv4.c, login.c, otp.c, plain.c, srp.c,
	  lib/external.c: move make_prompts stuff into plugin_common
	* utils/testsuite.c: allow for testing of EXTERNAL

2002-04-26  Rob Siemborski <>
	* sasldb/allockey.c: be sure to set userPassword and not *userPassword

2002-04-26  Ken Murchison <>
	* lib/client.c, server.c: check 'doneflag' just before mech_step()
	* plugins/plugin_common.[ch], anonymous.c, cram.c, digestmd5.c,
	  gssapi.c, kerberosv4.c, login.c, otp.c, plain.c, srp.c,
	  lib/external.c, move callback/interaction stuff
	  into plugin_common
	* plugins/plugin_common.[ch], digestmd5.c, gssapi.c,
	  kerberosv4.c, srp.c: move decode/concatenation of multiple
	  packets into plugin_common
	* utils/testsuite.c: set SASL_AUTH_EXTERNAL so we can test EXTERNAL

2002-04-25  Ken Murchison <>
	* plugins/otp.c: don't free the secret when we get data from a
	  callback (and don't copy it)
	* plugins/gssapi.c, plain.c: make sure to set 'doneflag' when done
	* lib/client.c, server.c: don't call mech_step() if 'doneflag' is set

2002-04-24  Rob Siemborski <>
	* plugins/cram.c, digestmd5.c, login.c, plain.c, srp.c: don't
	  free the secret when we get data from a callback (and don't copy it)
2002-04-22  Rob Siemborski <>
	* include/gai.h: Fix for compatibility with older glibc versions
	  (Howard Chu, <>)
	* plugins/gssapi.c: Don't always send authzid on client side
	  (Howard Chu, <>)

2002-04-18  Rob Siemborski <>
	* saslauthd/auth_sasldb.c: Use "use_realm" instead of "realm"
	  for lookup of secret. (Jonas Oberg <>)
	* plugins/gssapi.c: Correct handling of client-side authid and
	  authzid (Howard Chu, <>)
	* lib/external.c: Better handling of user canonicalization
	  (Howard Chu, <>)
	* plugins/cram.c, digestmd5.c, gssapi.c, kerberos4.c,
	  login.c, otp.c, plain.c, srp.c:  zero out prompt_need structures
	  before use

2002-04-17  Rob Siemborski <>
	* plugins/cram.c, digestmd5.c, srp.c: Adjust cmusaslsecretFOO to
	* plugins/sasldb.c: correctly handle *(property)
	* lib/canonusr.c, server.c: Lookup authzid and authid auxprops
	  correctly (and in the same place).
	* include/sasl.h, saslplug.h: Fix auxprop lookups

2002-04-15  Rob Siemborski <>
	* plugins/gssapi.c: Handle null authzid's correctly
	* lib/server.c: fix a strcmp() that should be a memcmp()

2002-04-15  Rob Siemborski <>
	* plugins/gssapi.c: fix how name_token and name_without_realm are

2002-04-12  Ken Murchison <>
	* doc/draft-melnikov-rfc2831bis-00.txt: added
	* doc/draft-myers-saslrev-02.txt: moved TOC
	* doc/draft-myers-saslrev-02.txt: added
	* doc/draft-myers-saslrev-01.txt: deleted
	* doc/index.html: changed link to updated saslrev draft,
	  added KERBEROS_V4 notation,
	  added link to rfc2831bis draft

2002-04-08  Ken Murchison <>
	* lib/server.c, doc/options.html: allow multiple pwcheck_methods

2002-04-03  Rob Siemborski <>
	* saslauthd/ properly define AUTH_KRB5
	* saslauthd/auth_krb5.c: changes for MIT KRB5

2002-03-27  Rob Siemborski <>
	* Removed check for db3/db.h (people can just use --with-bdb-incdir)

2002-03-26  Rob Siemborski <>
	* Ready for 2.1.2

2002-03-11  Rob Siemborski <>
	* plugins/kerberos4.c: Fix a race condition during mutex allocation

2002-03-04  Rob Siemborski <>
	* lib/checkpw.c: Stop logging "authentication failed" message
	* plugins/gssapi.c: Reduce log level of "gss_accept_context" message

2002-02-27  Rob Siemborski <>
	* saslauthd/saslauthd.mdoc: Clarify that sasldb with saslauthd
	  is not what you want to be doing.
	* doc/sysadmin.html: Update "sasldb" verifier to "auxprop"

2002-02-22  Rob Siemborski <>
	* lib/checkpw.c: made retry_read static

2002-02-21  Rob Siemborski <>
	* lib/checkpw.c (auxprop_verify_password) report SASL_NOUSER instead
	  of SASL_FAIL.
	* lib/client.c, lib/server.c: More Complete returning of SASL_NOTINIT
	* utils/testsuite.c: Better checking for SASL_NOTINIT

2002-02-11  Ken Murchison <>
	* plugins/srp.c: removed OpenSSL 0.9.6 dependencies, small bugfix
	* cleaned up OpenSSL (libcrypto) check

2002-02-05  Rob Siemborski <>
	* contrib/tclsasl: Add Marshall Rose's <>
	  tclsasl patch.
	* plugins/anonymous.c: No longer append extra NUL to client response

2002-02-04  Rob Siemborski <>
	* utils/saslpasswd.c: Added -n option (Ken Murchison)
	* lib/dlopen.c: Removed confusing entry point message.
	* Ready for 2.1.1

2002-02-01  Ken Murchison <>
	* plugins/srp.c: fixed srp_setpass()

2002-01-31  Ken Murchison <>
	* include/sasl.h, lib/server.c,
	  plugins/digestmd5.c, gssapi.c, kerberos4.c, srp.c:
	* plugins/srp.c: cleanup error messages and return codes
2002-01-30  Ken Murchison <>
	* plugins/otp.c, plugins/otp.h: added non-OPIE client/server
	  implementation (requires OpenSSL)
	* OTP now requires OpenSSL, OPIE is optional
	* doc/options.html, doc/readme.html, doc/sysadmin.html, doc/TODO:
	  updated for new OTP implementation

2002-01-25  Rob Siemborski <>
	* saslauthd/ Correct multiple EXTRA_DIST bug
	* saslauthd/ small typo fixed (Leena Heino <>)

2002-01-23  Rob Siemborski <>
	* utils/dbconverter-2.c (main): More intelligent default paths
	* acconfig.h: #ifndef's for _GNU_SOURCE (Assar <>)

2002-01-22  Rob Siemborski <>
	* lib/common.c: Complete definition of sasl_global_listmech
	  (from Love <>)
	* lib/client.c: added checks for _sasl_client_active to
	  sasl_client_new and sasl_client_start

2002-01-21  Ken Murchison <>
	* doc/draft-myers-saslrev-01.txt: moved TOC
	* doc/draft-ietf-cat-sasl-gssapi-05.txt: moved TOC
	* doc/draft-nerenberg-sasl-crammd5-01.txt: added
	* doc/draft-nerenberg-sasl-crammd5-00.txt: deleted
	* doc/index.html: changed link to updated draft
	* plugins/login.c (login_client_mech_step): fix client-first

2002-01-21  Rob Siemborski <>
	* lib/server.c (sasl_server_start): null out *serverout and
	  *serveroutlen, just in case.
	* lib/external.c: Added correct required_prompts
	* saslauthd/testsaslauthd.c: Added simple saslauthd client
	* saslauthd/ rules for testsaslauthd
	* doc/sysadmin.html: updated to reference testsaslauthd
	* saslauthd/saslauthd.c: allow -n 0 (for fork-per-connection)
	* saslauthd/saslauthd.mdoc: documentation of -n 0
	* plugins/cram.c (crammd5_client_mech_step): fix client-first
	* sasldb/db_gdbm.c: improved error reporting
	  (Courtesy Marshall T. Rose <>
	* config/sasldb.m4: improved gdbm configure handling
	  (Courtesy Marshall T. Rose <>
	* config/kerberos_v4.m4: Detect OpenSSL libdes first.
	  (Courtesy Marshall T. Rose <>
	* plugins/cram.c, digestmd5.c, kervberos4.c, login.c,
	  lib/client.c, server.c, include/saslplug.h:
	  Cleaner client-first ABI.

2002-01-19  Ken Murchison <>
	* plugins/otp.c: set serverout to NULL where we have nothing to
	  send instead of the empty string
	* plugins/srp.c: let glue code handle client-last/server-last
	  situation by setting serverout appropriately

2002-01-19  Rob Siemborski <>
	* plugins/plain.c, plugins/login.c, plugins/digestmd5.c:
          set serverout to NULL where we have nothing to send instead of
	  the empty string
	* include/saslplug.h, lib/client.c, lib/server.c: eliminated
	  SASL_FEAT_WANT_SERVER_LAST in favor of clever setting of serverout
	* plugins/digestmd5.c: removed SASL_FEAT_WANT_SERVER_LAST

2002-01-18  Ken Murchison <>
	* plugins/srp.c: updated to draft-burdis-cat-srp-sasl-06
	* plugins/srp.c: server uses external SSF
	* plugins/srp.c: server sends mandatory options based on min SSF
	* doc/draft-burdis-cat-srp-sasl-06.txt: added
	* doc/draft-burdis-cat-srp-sasl-05.txt: deleted
	* doc/index.html: changed link to updated draft

2002-01-17  Rob Siemborski <>
	* plugins/kerberos4.c: Actually allocate a mutex on the client side

2002-01-16  Rob Siemborski <>
	* lib/server.c (mech_permitted): fixed incorrect return value of
	  SASL_NOMECH that should have been 0.
	* lib/common.c (sasl_errdetail): fixed core if passed in conn is NULL
	* plugins/digestmd5.c (encode_tmp_buf): removed unneeded buffer

2002-01-16  Ken Murchison <>
	* plugins/srp.c: fixed layer decoding to handle multiple packets
	* plugins/srp.c: plugged memory leaks (now passes testsuite)
	* plugins/srp.c: more logging
	* plugins/srp.c: lots of other nits, bug fixes
	* utils/testsuite.c: added SSF=0/56 test

2002-01-14  Rob Siemborski <>
	* saslauthd/auth_krb4.c (auth_krb4): fix tf_name memory leak,
	  and other efficency fixes

2002-01-11  Rob Siemborski <>
	* include/saslplug.h: Add flags member to params structures
	* lib/client.c, lib/server.c: flags parameter to sasl_*_new
	  now gets to the plugins

2002-01-10  Rob Siemborski <>
	* include/sasl.h: Update for sasl_global_listmech API
	* lib/common.c, lib/client.c, lib/server.c: sasl_global_listmech()
	* lib/dlopen.c (_parse_la): fix parseing of dlname= line
	* Ready for 2.1.0

2002-01-09  Ken Murchison <>
	* plugins/otp.c: fixed security_flags
	* plugins/srp.c: corrected integrity layer encoding
	* plugins/srp.c: finished maxbuffersize handling
	* plugins/srp.c: fixed security_flags
	* doc/index.html: added reference to SRP paper

2002-01-09  Rob Siemborski <>
	* lib/common.c (sasl_decode): Removed maxoutbuf check
	* man/sasl_setprop.3: Minor clarifications
	* plugins/digestmd5.c, plugins/gssapi.c, plugins/kerberos4.c:
	  Assorted security layer fixes (maxoutbuf setting, mech_ssf setting)
	* lib/common.c, lib/client.c, lib/server.c, lib/saslint.h:
	  Allowed client-side sasl_listmech calls.
	* include/sasl.h: Minor cosmetic fix to comments
	* doc/programming.html: Interaction memory management clarifications
	* lib/common.c: Fix several crash problems in getprop
	  (Courtesy Marshall T. Rose <>)

2002-01-05  Lawrence Greenfield  <>
	* saslauthd/saslauthd.c: F_SETLK doesn't block; F_SETLKW does
	* saslauthd/saslauthd.c: detect errors somewhat better

2002-01-04  Rob Siemborski <>
	* lib/common.c: Allow sasl_setprop for SASL_DEFUSERREALM

2002-01-04  Ken Murchison <>
	* plugins/srp.c: don't send M2 if using a confidentiality layer
	* plugins/srp.c: more constraint checks
	* plugins/otp.c: improve standard hex/word response detection
	* doc/install.html, doc/sysadmin.html, contrib/opie-2.4-fixes:
	  add patch for OPIE 2.4 to enable extended responses

2002-01-03  Ken Murchison <>
	* removed check fpr gmp
	* plugins/srp.c: migrated to OpenSSL's BN (removed GNU MP dependency)

2001-12-20  Rob Siemborski <>
	* sasldb/db_ndbm.c: Fixed small memory leak
	  (Courtesy  Howard Chu <>)

2001-12-18  Ken Murchison <>
	* plugins/srp.c: more constraint checks

2001-12-17  Rob Siemborski <>
	* saslauthd/saslauthd.c: Prefork a number of processes to handle
	* saslauthd/auth_krb4.c: Handle concurrent accesses better.

2001-12-15  Ken Murchison <>
	* plugins/srp.c: added confidentiality layers

2001-12-14  Ken Murchison <>
	* plugins/srp.c: improved client/server layer option handling
	* plugins/srp.c: added client-side support for mandatory options
	* plugins/srp.c: added framework for confidentiality layers
	* plugins/srp.c: added some data sanity checking (thanks to
	  Tom Holroyd <> for feedback)

2001-12-13  Rob Siemborski <>
	* lib/server.c, lib/common.c: Fix handling of
	  global callbacks so that plugin_list works again

2001-12-12  Rob Siemborski <>
	* pwcheck/ Added include of ../lib
	  (from Hajimu UMEMOTO <>)

2001-12-11  Rob Siemborski <>
	* sasldb/db_ndbm.c: fix call to dbm_nextkey, from
	  Scot W. Hetzel <>

2001-12-10  Rob Siemborski <>
	* doc/plugprog.html: Update for new user canonicalization usage.
	* man/sasl_canon_user.3: Update for new user canonicalization usage.
	* Actually set STATIC_GSSAPIV2 when necessary

2001-12-08  Ken Murchison <>
	* plugins/srp.c: make sure we have the HMAC before trying to use it
	* plugins/srp.c: don't advertise server integrity w/o HMAC-SHA-1
	* plugins/srp.c: move EVP_cleanup() to mech_free so mech can be reused

2001-12-07  Ken Murchison <>
	* SRP now requires OpenSSL
	* plugins/srp.c: migrated to OpenSSL's MDA/cipher abstraction API 
	* plugins/srp.c: added RIPEMD-160 support
	* plugins/srp.c: using "standard ACSII names" for MDA-names as
	  documented by [SCAN] (until determined otherwise)
	* plugins/srp.c: using updated canon_user API to allow separate
	  canonicalization of authid and authzid.

2001-12-06  Rob Siemborski <>
	* lib/canonusr.c: Better logging when desired plugin is not found.
	* lib/checkpw.c: spelling error fixed.
	* lib/canonusr.c, lib/checkpw.c, lib/client.c, lib/external.c,
	  lib/saslint.h, lib/server.c, include/sasl.h, include/saslplug.h,
	  plugins/*.c: Updated canon_user API to allow separate
	  canonicalization of authid and authzid.

2001-12-05  Rob Siemborski <>
	* saslauthd/, saslauthd/acconfig.h, saslauthd/
	  Solaris 7 and FreeBSD (FreeBSD is courtesy of Claus Assmann
	* sasldb/ link order fix (Courtesy Claus Assmann

2001-12-05  Ken Murchison <>
	* plugins/ only build SRP with sasldb libs when
	  srp_setpass() is enabled
	* plugins/srp.c: added HMAC-SHA-160 integrity layer
	* plugins/srp.c: don't offer integrity layers unless HMAC-SHA-160
	  is available (mandatory)
	* plugins/srp.c: fixed multiple integrity/confidentiality layer
	  client-side bug
	* plugins/srp.c: fixed delete SRP secret bug
	* plugins/srp.c: removed VL() stuff

2001-12-04  Rob Siemborski <>
	* utils/, config/sasldb.m4: Build sasldblistusers2
	  and saslpasswd2.  Default database now /etc/sasldb2
	* INSTALL, README, doc/index.html, doc/upgrading.html: Update
	  with upgrading instructions in preparation for release.
	* doc/, /: Documentation reorganization, convert README and INSTALL to
	  HTML format.
	* Bumped appropriate version numbers, Ready for 2.0.5-BETA

2001-12-04  Ken Murchison <>
	* acconfig.h, dependency checking for SRP
	* acconfig.h,
	* plugins/srp.c: made srp_setpass() a compile-time option (default=off)
	* plugins/srp.c: use auxprop to fetch cmusaslsecretSRP/userPassword
	* plugins/srp.c: code cleanup
	* acconfig.h,
	* doc/sysadmin.html:
	* plugins/otp.c: made otp_setpass() a compile-time option (default=off)

2001-12-02  Ken Murchison <>
	* plugins/srp.c: fixed SHA1 support
	* plugins/srp.c: changed calculation of 'x' to coincide with draft -05
	* plugins/srp.c: code cleanup

2001-12-01  Ken Murchison <>
	* plugins/srp.c: abstracted MDA interface
	* plugins/srp.c: added SHA1 support (not working)

2001-11-30  Ken Murchison <>
	* plugins/srp.c: renumbered steps to start at 1
	* plugins/srp.c: check plugin API version instead of SRP_VERSION
	* plugins/srp.c: changed data exchanges to conform to draft -05

2001-11-29  Ken Murchison <>
	* plugins/srp.c: code now compiles and runs
	* plugins/ added sasldb libs to SRP build

2001-11-24  Ken Murchison <>
	* lib/external.c: made EXTERNAL a client-send-first mechanism
	* doc/index.html: added CRAM-MD5 draft

2001-11-22  Ken Murchison <>
	* plugins/otp.c: fixed otp_setpass() bug
	* doc/sysadmin.html: OTP additions/changes

2001-11-19  Rob Siemborski <>
	* utils/saslpasswd.c: Corrected disable handling

2001-11-17  Ken Murchison <>
	* doc/index.html, rfc2945.txt, rfc3174.txt: specification additions
	* doc/ Updated included RFCs and IDs
2001-11-14  Ken Murchison <>
	* lib/server.c, doc/options.html: added 'mech_list' option

2001-11-14  Rob Siemborski <>
	* sasldb/allockey.c: removed an assert() call
	* sasldb/db_ndmb.c, sasldb/db_gdbm.c: Fixed cntxt's to be conn's 

2001-11-13  Ken Murchison <>
	* acconfig.h,
	* plugins/otp.c: support client-side OTP without OPIE

2001-11-08  Ken Murchison <>
	* plugins/otp.c: allow entry of one-time password via
	* plugins/otp.c: code cleanup
	* doc/index.html, draft*.txt: specification updates/additions

2001-11-08  Rob Siemborski <>
	* plugins/cram.c, digestmd5.c, sasldb.c: Removed all assert()
	  calls from supported plugins.

2001-11-07  Rob Siemborski <>
	* utils/testsuite.c: added proxy policy checks
	* lib/checkpw.c (_sasl_auxprop_verify_apop): correct handling
	  of seterror calls

2001-11-06  Rob Siemborski <>
	* lib/canonusr.c (_canonuser_internal): added necessary seterror calls
	* doc/ Updated included RFCs and IDs
	* lib/canonusr.c, lib/server.c: Corrected authzid/authid handling
	* plugins/digestmd5.c: Unconfused authzid/authid in server call to

2001-11-01  Rob Siemborski <>
	* plugins/gssapi.c, plugins/kerberos4.c: Get rid of unnecessary
	  buffer copy in security layer encodes.

2001-10-24  Ken Murchison <>
	* plugins/otp.c: added otp_setpass() so that saslpasswd can
	  be used instead of opiepasswd on closed systems
	* doc/sysadmin.html: OTP additions/changes

2001-10-22  Ken Murchison <>
	* acconfig.h, detect OPIE, enable/disable OTP
	* plugins/,, otp.c: added OTP support
	  (still need work on RFC2444 compliance - depends on OPIE changes)
	* doc/index.html, options.html, sysadmin.html, rfc*.txt:
	  OTP additions/changes

2001-10-18  Rob Siemborski <>
	* utils/testsuite.c: Test DES harder for DIGEST-MD5
	* plugins/digestmd5.c (enc_des): Get rid of one buffer copy.
	* plugins/digestmd5.c (dec_des, dec_3des): correct handling of
	  padding length check.

2001-10-17  Rob Siemborski <>
	* config/sasldb.m4: detect berkeley db 4
	* plugins/gssapi.c, cram.c, kerberos4.c, digestmd5.c: have dispose
	  calls deal with the possibility of a null context

2001-10-16  Rob Siemborski <>
	* saslauthd/ Link LIB_PAM  as well, if needed
	* plugins/digestmd5.c: Don't send a trailing nul on challenge and
	* lib/server.c (sasl_server_start, sasl_server_step): Deal with
	  authentication failures better. (Reported by Larry Rosenbaum

2001-10-02  Rob Siemborski <>
	* saslauthd/, saslauthd/auth_sasldb.c,
	  saslauthd/ Changes to allow extraction of saslauthd
	  as needed.

2001-09-19  Rob Siemborski <>
	* lib/getaddrinfo.c (getaddrinfo): Correct fix for
	  AI_PASSIVE bug from Hajimu UMEMOTO <>
	* plugins/plugin_common.c, lib/common.c (_*_ipfromstring):
	  revert to previous versions.

	* plugins/ Include necessry compatibility objects
	  as needed.
	* lib/ compatibility code for static libsasl
	* small changes to make compatibility objects easy
	  to use.

2001-09-18  Rob Siemborski <>
	* plugins/plugin_common.c, lib/common.c (_*_ipfromstring):
	  no longer use AI_PASSIVE hint for getaddrinfo

2001-09-13  Rob Siemborski <>
	* saslauthd/auth_sasldb.c, saslauthd/auth_sasldb.h:
	  Added experimental sasldb saslauthd module
	* saslauthd/ sasldb related config changes,
	  do not config if disabled

2001-09-12  Rob Siemborski <>
	* saslauthd/*, lib/checkpw.c (saslauthd_verify_password):
	  merged new saslauthd protocol from Ken Murchison <>

2001-08-30  Rob Siemborski <>

	*, saslauthd/ check for inet_aton
	  in, so as to link it if necessary

	* config/sasldb.m4 (BERKELEY_DB_CHK_LIB): set runpath of library
	  if necessary

2001-08-29  Rob Siemborski <>

	* utils/testsuite.c: Minor testsuite fix (include paths)

	* Ready for 2.0.4-BETA

2001-08-24  Rolf Braun <>

	* Mac OS 9 and X support, including Carbon
	  Mac OS 9 Classic support based on the SASL v1 code
	  by Aaron Wohl <>

	* updated ltconfig and
	* acconfig.h:
	* lib/saslutil.c: use random() when jrand48() isn't available

	* dlcompat-20010505:
	  dlcompat included for OS X support, compiles separately
	* lib/dlopen.c: prefix symbols with underscore on OS X, as on OpenBSD
	  note that this is also detected automatically by configure,
	  this only helps when cross-compiling (for OS X?)

	* acconfig.h:
	* config/kerberos_v4.m4
	  look for libdes524 when libdes doesn't exist.
	  look for libkrb4 when libkrb doesn't exist.

	* lib/saslint.h:
	* lib/common.c:
	* lib/seterror.c:
	* lib/
	  split sasl_seterror() into a new file.
	  add_string -> _sasl_add_string and made this non-static
	  so seterror can use it.
	  added _sasl_get_errorbuf to go into the conn_t struct
	  so we don't have to know the format of that struct when
	  seterror.c is linked from glue code (i.e., the Mac OS X CFM glue)

	* acconfig.h:
	  fix the order of the fake iovec struct for systems that
	  don't have it (like Mac OS 9) so it's the same order as
	  most Unixes that do (like Mac OS X) -- the CFM glue needs this

	* acconfig.h:
	  include <sys/types.h> before we include <sys/uio.h>

	* plugins/kerberos4.c:
	* lib/checkpw.c:
	* acconfig.h:
	  check for krb_get_err_txt in the kerberos 4 library,
	  and use it instead of the krb_err_txt[] array if available

	* plugins/kerberos4.c:
	  define KEYFILE to "/etc/srvtab" if not already defined
	  by the kerberos 4 headers (needed for MIT KfM 4.0)

	* doc/macosx.html: added this
	* README: point Mac OS X users to doc/macosx.html
	* doc/ add doc/macosx.html to distfiles

	* lib/
	* include/
	* config/Info.plist:
	  when building on Mac OS X, install a framework
	  in /Library/Frameworks

	* mac/*:
	  projects and support files for Mac OS 9, classic and Carbon
	* mac/osx_cfm_glue:
	  the glue to allow CFM Carbon applications under Mac OS X
	  call the Unix-layer SASL library

	* lib/common.c:
	* lib/canonusr.c:
	  don't do the auxprop stuff on Mac OS 9

	* lib/getaddrinfo.c:
	  don't look up hostnames on Mac OS 9 (we only officially
	  support passing IP address strings anyway)

	* lib/getaddrinfo.c:
	* plugins/plugin_common.c:
	* plugins/plugin_common.h:
	  don't include headers on Mac OS 9 that we don't have.

	* sample/sample-client.c:
	  add a cast for Mac OS 9 (different type handling of char)

	* plugins/
	  include the stub header to export the right symbols on Mac OS 9

2001-08-20  Rob Siemborski <>
	* plugins/gssapi.c (gssapi_server_mech_step): fixed accidental
	  back link into glue code

	* config/kerberos4.m4: Actually link in -lkrb

2001-08-15  Rob Siemborski <>
	* lib/common.c (_sasl_iptostring): #if 0'd out.

	* lib/server.c (sasl_user_exists): only check the verifier we
	  are using

	* config/kerberos_v4.m4 (SASL_DES_CHK): added
	* config/kerberos_v4.m4 (SASL_KERBEROS_V4_CHK): included
	  entire check from
	* moved kerberos 4 code completely out.
	* saslauthd/acconfig.h (WITH_DES, WITH_SSL_DES): Added
	  DES-related symbols	

2001-08-14  Rob Siemborski <>
	* Check for sys/uio.h
	* saslauthd/ Check for sys/uio.h
	* config.h: Do the Right Thing for struct iovec (and
	  no longer include sys/uio.h elsewhere)
	* saslauthd/config.h: Do the Right Thing for struct iovec (and
	  no longer include sys/uio.h elsewhere)

2001-08-13  Rob Siemborski <>
	* plugins/digestmd5.c (init_des, init_3des, enc_des, dec_des,
	  enc_3des, dec_3des): fixed interoperability problems,
	  3des was not decrypting with correct key and des was not
	  setting up the initial vector.

	* lib/checkpw.c (always_true): log users who log in via this verifier

2001-08-13  Rob Siemborski <>
	* utils/testsuite.c (giveokpath): fix memory leak

	* lib/common.c (sasl_ipfromstring): add call to freeaddrinfo()
	* plugins/plugin_common.c (_plug_ipfromstring): add call to

	* lib/saslutil.c (sasl_randseed): actually initilize the randpool

	* saslauthd/auth_getpwent.c (auth_getpwent): clear a warning
	* saslauthd/auth_shadow.c (auth_shadow): clear a similar warning

	* utils/ (EXTRA_DIST): Actually include the needed files

	* saslauthd/ Handle shadow passwords correctly
	* saslauthd/acconfig.h: Handle shadow passwords correctly

	* lib/checkpw.c (always_true): added
	* added check for alwaystrue verifier
	* acconfig.h: added HAVE_ALWAYSTRUE
	* doc/options.html: alwaystrue verifier documented

2001-08-11  Rob Siemborski <>
	* saslauthd/: Now configures separately from SASL, so as
	  to localize tests for that package within that package

	* utils/dbconverter-2.c (listusers_cb): fix handling of APOP 

2001-08-10  Rob Siemborski <>
	* saslauthd/ (install-data-local):
	  correct handling of $(DESTDIR) (and create the directory if it
	  isn't there) [Amos Gouaux <>]

	* lib/server.c (sasl_server_init): Added plugname to add_plugin
	  call for EXTERNAL

	* doc/index.html: updated
	* doc/appconvert.html: cleaned up

2001-08-09  Rob Siemborski <>
	* plugins/digestmd5.c (digestmd5_client_mech_step): handle
	  missing authorization name
	* plugins/plain.c (plain_client_mech_step): handle
	  missing authorization name

	* include/sasl.h: better documentation of SASL_CB_CANON_USER

2001-08-08  Rob Siemborski <>
	* saslauthd/saslauthd.mdoc: updated re: pam
	* saslauthd/saslauthd.8: regenerated
	* saslauthd/ Link against PLAIN_LIBS also
	  (from Ken Murchison <>)

2001-08-07  Rob Siemborski <>
	* lib/client.c (sasl_server_step): corrected maxoutbuf handleing
	* lib/server.c (sasl_server_step): corrected maxoutbuf handleing
	* lib/saslint.h (DEFAULT_MAXOUTBUF): removed

	* lib/common.c (sasl_encodev, sasl_decode): maxbufsize checking

	* utils/testsuite.c (testseclayer,doauth): more security layer
	  checking.  Added parameter to doauth to disable fatal() calls,
	  updated all callers.

	* utils/smtptest.c (main): added ability to support LMTP

	* plugins/gssapi.c: conform with draft-ietf-cat-sasl-gssapi-05.txt

	* doc/draft-ietf-cat-sasl-gssapi-05.txt: added
	* doc/ (EXTRA_DIST): added above to EXTRA_DIST

2001-08-06  Rob Siemborski <>
	* utils/dbconverter-2.c (listusers_cb): handle PLAIN-APOP

	* lib/client.c (sasl_client_add_plugin, client_done):
	  save plugin name
	* lib/server.c (sasl_server_add_plugin, server_done):
	  save plugin name
	* lib/dlopen.c (_sasl_plugin_load): correctly pass pluginname
	* lib/common.c (sasl_getprop): implement SASL_AUTHSOURCE properly
	* lib/saslint.h (cmechanism_t, mechanism_t): added plugname field
	* lib/canonusr.c (internal_canonuser_init): no longer limit
	  based on plugname
	* plugins/sasldb.c (sasldb_auxprop_plug_init): no longer limit
	  based on plugname

2001-08-01  Rob Siemborski <>
	* utils/smtptest.c (iptostring): better behaved w.r.t endianness

	* plugins/cram.c (crammd5_server_mech_step): support for old-style
	* plugins/digestmd5.c (digestmd5_server_mech_step): support for
	  old-style secrets
	* lib/checkpw.c (auxprop_verify_password,_sasl_make_plain_secret):
	  support for old-style secrets
	* utils/dbconverter-2.c: added
	* utils/sasldblistusers.c (listusers): Print out property names
	  as well as username@realm format.
	* utils/saslpasswd.c (_sasl_sasldb_set_pass): Correctly handle updates
	  that concern old-style secrets

	* sasldb/allockey.c: Added a missing null to propName in key parser
2001-07-31  Rob Siemborski <>
	* plugins/kerberos4.c (mech_avail): made static

	* plugins/kerberos4.c (mech_avail): fixed ipv4 check
	  (patch from Hajimu UMEMOTO <>)

	* doc/appconvert.html: vague guide documenting our experience
	  porting Cyrus IMAPd to use SASLv2
	* doc/ added appconvert.html

	* lib/client.c (sasl_client_new): fixed ip address setting to hit
		relevant params structures as well
	* lib/server.c (sasl_server_new): fixed ip address setting to hit
		relevant params structures as well
	* lib/common.c (sasl_setprop): fixed ip address setting to hit
		relevant params structures as well

	* lib/common.c (sasl_seterror): fixed spelling error

2001-07-30  Rob Siemborski <>
	* sasldb/db_berkeley.c: utils->seterror() calls
	* sasldb/db_gdbm.c: utils->seterror() calls
	* sasldb/db_ndbm.c: utils->seterror() calls
	* sasldb/allockey.c: utils->seterror() calls

	* lib/common.c (sasl_seterror): still call logging callback with a
	  null sasl_conn_t

	* plugins/sasldb.c (sasldb_auxprop_lookup): support for multiple

	* plugins/ added -module to LDFLAGS

	* config/sasldb.m4: Allow specification of exact berkeley db
	  lib and include paths
	* sasldb/ Add proper include directory

	* sasldb/sasldb.m4 (SASL_DB_BACKEND_STATIC): include allockey.o
	* Ready for 2.0.3-BETA	

	* plugins/kerberos4.c (kerberos4_server_plug_init): reset
	  srvtab when we do not load correctly.

	* lib/staticopen.c (_sasl_load_plugins): do not fail
	  if a single plugin load fails

	* include/sasl.h (SASL_CLIENT_FALLBACK): removed

2001-07-27  Rob Siemborski <>
	* extracted SASLDB-related checking
	* config/sasldb.m4: added

	* now cache the JNI include directory path

	* utils/testsuite.c: switch some sasl_errstrings to sasl_errdetail
	* plugins/gssapi.c: Fix error reporting

	* plugins/gssapi.c: Required SASL_CB_USER instead of SASL_CB_AUTHNAME

	* plugins/anonymous.c: Function name standardization
	* plugins/cram.c: Function name standardization
	* plugins/digestmd5.c: Function name standardization
	* plugins/gssapi.c: Function name standardization
	* plugins/kerberos.c: Function name standardization
	* plugins/login.c: Function name standardization
	* plugins/plain.c: Function name standardization	

	* sasldb/allockey.c: Generalized SASLdb API
	* sasldb/db_berkeley.c: Generalized SASLdb API
	* sasldb/db_gdbm.c: Generalized SASLdb API
	* sasldb/db_ndbm.c: Generalized SASLdb API
	* sasldb/db_none.c: Generalized SASLdb API
	* sasldb/db_testw32.c: Added #error to block compile so the API will
		be fixed when we do the Win 32 port
	* plugins/sasldb.c: Use new SASLdb API
	* utils/saslpasswd.c: Use new SASLdb API
2001-07-26  Rob Siemborski <>
	* lib/common.c (_sasl_getcallback): fixed reference to
	  	possibly NULL conn

	* only build saslpasswd and sasldblistusers
		if we have a meaningfull libsasldb (e.g. not db_none),
	* utils/ only build saslpasswd and sasldblistusers
		if we have a meaningfull libsasldb (e.g. not db_none),

	* conditionally build smtptest
	* utils/ conditionally build smtptest
	* sasldb/allockey.c (_sasldb_parse_key): added

	* sasldb/sasldb.h: New key list access API, added  parameter to
		sasl_check_db (all callers updated, all callees updated)
	* sasldb/db_berkeley.c: Implement key list access API
	* sasldb/db_gdbm.c: Implement key list access API
	* sasldb/db_ndbm.c: Implement key list access API
	* sasldb/db_none.c: Implement key list access API

	* utils/sasldblistuser.c: Use libsasldb instead of internal
	* utils/saslpasswd.c: No longer have separate global_utils,
		call sasl_dispose and sasl_done

	* acconfig.h: check for inttypes.h
	* check for inttypes.h
	* plugins/plugin_common.c: include, if necessary, inttypes.h,
		reference uint32_t instead of u_int32_t

2001-07-25  Rob Siemborski <>
	* lib/saslint.h: changed "sasldb" verifier to "auxprop"
	* lib/server.c: changed "sasldb" verifier to "auxprop"
	* lib/checkpw.c: changed "sasldb" verifier to "auxprop"
	* utils/testsuite.c: changed "sasldb" verifier to "auxprop"
	* doc/options.html: changed "sasldb" verifier to "auxprop"

	* README: updated upgrade information

	* utils/ (CLEANFILES): added

	* sasldb/allockey.c (alloc_key): single place for alloc_key()
	  Removed alloc_key from other source files.
	* sasldb/sasldb.h: added declaration of alloc_key()	

	* added checks for db-3.3 and db3.3

	* plugins/digestmd5.c (get_realm): now error on empty user_realm

	* plugins/cram.c (client_required_prompts): removed redundant

	* plugins/plain.c (client_continue_step): server-send-last error

	* utils/testsuite.c (main): detailed client-send-first,
		server-send-last checking
2001-07-24  Rob Siemborski <>
	* plugins/sasldb.c: Cleaned up calls into the glue code

	* java/Test/*: Cleaned up java test utilities
	* Minor GSSAPI configure changes

	* utils/saslpasswd.c: Clarfied -d option for saslpasswd
	* utils/saslpasswd.8: Clarfied -d option for saslpasswd
	* doc/plugprog.html: Added plugin programmer's guide
	* doc/index.html: linked to plugin programmer's guide
        * corrected configure checking of Berkeley DB
          (from Scot W. Hetzel <>)

	* corrected checking for libcom_err
	  (from Scot W. Hetzel <>)

2001-07-23  Rob Siemborski <>
	* Added check for db3/db.h

	* plugins/kerberos4.c Added mech_avail (checks for IP info)
	* lib/common.c: Fixed setting of serverFQDN in _sasl_conn_init
	* lib/server.c: Fully Implemented mech_avail calls in glue code
	* lib/server.c: Fixed allocation/destruction of sasl_conn_t's
	* lib/client.c: Fixed allocation/destruction of sasl_conn_t's
	* lib/common.c: Rely on earlier initialization in server.c and client.c

	* doc/options.html: added

	* ChangeLog: back to standard format
2001-07-20  Rob Siemborski <>
	* Can now deal with variable client-first mechs such as
	  DIGEST-MD5, though this interface is subject to change
	* Modified parseuser to deal better with default realms
	* Simplified realm handling in DIGEST-MD5 (getrealm callback
	  is no longer required).
	* Cleaned up some memory management issues in DIGEST-MD5

2001-07-19  Rob Siemborski <>
	* Fixed prototype of sasl_getpath_t to be in conformance with
	  memory allocation rules
	* Fixed up samples directory
	* Try to dlopen using information in .la file if available
	  (based on patch from
	   Stoned Elipot <>)
	* Resolution of most of the server-send-first and client-send-last
	  issues (using mechanism feature flags)

2001-07-18  Rob Siemborski <>
	* Updated config.guess and config.sub
	* Better underscore checking for dlsym
	* Resolved possible global_utils namespace collision
	* Updated sasldb library to be expandable to multiple properties
	  if the need arises in the future.
	* IPv6 support from Hajimu UMEMOTO <>

2001-07-17  Rob Siemborski <>
	* Extricated sasldb support to an auxprop plugin only.
	  sasldb modifications can now only be done through the saslpasswd

2001-07-13  Rob Siemborski <>
	* Fixed buffer overrun problem in sasldb auxprop plugin
	* Removed severe memory leak from testsuite
	* Version 2.0.2-ALPHA Released

2001-07-11  Rob Siemborski <>
	* error reporting in KERBEROS_V4 plugin
	* vague handling of SASL_AUTHSOURCE for getprop
	* random misc error reporting bugs
	* basic error messages for GSSAPI plugin

2001-07-10  Rob Siemborski <>
	* added client-send-first logic in glue code
	* removed some client-send-first logic in mechanisms
	* removed IPv4 specifics from sasl_conn_t
	* Much gluecode error revamping (store the error code
	  in sasl_conn_t)

2001-07-09  Rob Siemborski <>
	* Removed dependency on "name" in canonuser plugin structure
	* Update from a new configure.scan
	* Update copyright info in man pages, finished all API man pages
	* Added auxprop tests to testsuite
	* Added userdb callback support

2001-07-09  Rob Siemborski <>
	* First attempt at making the java code work again
	* Minor memory and byte order bugfixes
	* Added testing support for dmalloc (--with-dmalloc)

2001-07-06  Rob Siemborski <>
	* Loading of auxprop and canonuser plugins from DSOs
	  (This still sucks performance wise, and will be fixed soon)
	* Fixed some lack of indirection in the plugins
	* Reverted to the v1 entry points for the plugins
	* Cleaned up a good deal of the library loading code so it
	  now only gets called from the sasl_*_init functions, and
	  all the cleanup happens in the common sasl_done function
	  and now _sasl_conn_init calls it to do the same work.

2001-07-05  Rob Siemborski <>
	* Working libsfsasl and smtptest program (--with-sfio)
	* Fixed sasldblistusers (atleast for Berkeley DB)
	* seterror() calls in ANONYMOUS, CRAM, PLAIN and LOGIN
	* Some new manpages

2001-07-03  Rob Siemborski <>
	* Static library compilation now optional (--with-staticsasl)
	  Note that this is different from --enable-static, which causes
	  libtool to build static versions of everything is is almost
	  certainly NOT what you want.
	* Removed all references to the ancient NANA code.
	* Updated some documentation.

2001-07-02  Rob Siemborski <>
	* Improved allocation efficiency of KERBEROS_V4, DIGEST-MD5,
	  and GSSAPI security layers.
	* Fixed a decode bug in DIGEST-MD5 (and testsuite improvements to
	  help find similar ones)
	* Fixed a number of solaris compiler warnings
	* Static Library Build Support

2001-06-30  Rob Siemborski <>
	* Cleanup of some man pages (added sasl_errors.3)

2001-06-29  Rob Siemborski <>
	* Cleanup of APOP Code + new man page (Ken Murchison <>)
	* Cleanup of comments in some files (Ken Murchison <>)
	* Fixed some compiler errors on Solaris using /opt/SUNWspro/bin/cc
	  (Reported by Mei-Hui Su <mei@ISI.EDU>

2001-06-28  Rob Siemborski <>
	* Improved memory allocation in default sasl_decode handler
	* Added ability to disable sasl_checkapop (--disable-checkapop)
	* Re-initialized kerberos mutex to NULL after it was freed

2001-06-28  Rob Siemborski <>
	* Fixed a severe bug in DIGEST-MD5 Plugin
	* KERBEROS_V4 plugin now thread safe
	* Version 2.0.1-ALPHA Released (due to DIGEST-MD5 problem)

2001-06-27  Rob Siemborski <>
	* Version 2.0.0-ALPHA Released