2005-09-22 Moriyoshi Koizumi * pam_mysql.c: #define PAM_SM_* so that pam_mysql.c can be linked statically to libpam. tatic'ify some functions. s/pam_permit_modstruct/pam_mysql_modstruct/. prevent blocks obtained from pam_get_item() from being freed. (pam_mysql_sql_log): fix incorrect order of arguments for sprintf(). fix invalid handling of in_addr_t. (PR #1256243). 2005-09-18 Moriyoshi Koizumi * README: add a note about the issue regarding official MySQL binary packages. * NEWS: prepare for the release. * configure.in: ditto. 2005-08-01 Moriyoshi Koizumi * acinclude.m4: (PAM_MYSQL_CHECK_LIBMYSQLCLIENT): remove redundant eval. Will fix PR #1245188. 2005-06-24 Moriyoshi Koizumi * pam_mysql.c: (pam_sm_authenticate): correct error code; return PAM_ERR_AUTH instead of PAM_ERR_AUTHTOK which is only expected in pam_sm_chauthtok(). (pam_mysql_check_passwd): don't update password column if crypt=md5 and non-crypt md5 is not implemented. 2005-06-19 Moriyoshi Koizumi * pam_mysql.c: add use_323_passwd option for compatibility with the old MySQL PASSWORD() implementation (inspired by Daniel Renaud. Thanks.) (pam_sm_acct_mgmt): add a missing piece of code to the account management callback. I don't know why I didn't notice this before the last release. * acinclude.m4: (PAM_MYSQL_CHECK_LIBMYSQLCLIENT) ditto. Fix compile failure on Solaris when --with-openssl is specified to configure. * .cvsignore: add pam_mysql.spec * README: note about statcolumn / use_323_passwd. 2005-06-17 Moriyoshi Koizumi * acinclude.m4: old mysql_config doesn"t accept --include option. this resulted in sed errors in config.status. Reported by Worlfgang Erlenkoetter. Thanks. * .cvsignore: add .orig and .rej. * pam_mysql.spec.in: require OpenSSL by default. 2005-06-16 Moriyoshi Koizumi * acinclude.m4: fix library detection code: s/shrext/shrext_cmds/. use $libext instead of ".a" for library suffices. 2005-06-15 Moriyoshi Koizumi * README: add missing description for option "MD5". note about the GPL issue. * configure.in: add pam_mysql.spec to AC_OUTPUT. Noticed by Fredrik Rambris (boost at users dot sourceforge dot net). Thanks. * Makefile.am: add pam_mysql.spec and pkg.m4 to EXTRA_DIST. Notices by * COPYING: replace by GPL terms, were accidentially LGPL ones. 2005-06-13 Moriyoshi Koizumi * pam_mysql.c: s/crypt/crypt_type/ due to possible namespace pollution. * acinclude.m4: (PAM_MYSQL_CHECK_LIBMYSQLCLIENT) check mysql_config availability for more accurate detection. * README: misc. documentation fixes. * INSTALL: ditto. 2005-06-12 Moriyoshi Koizumi * pam_mysql.c: - remove redundant #include that caused compatibility problem. - #define PAM_EXPORT / LOG_AUTHPRIV if undefined. - #include beforehand of #include as Sun's implementation doesn't really take inclusion order into account. - include crypt.h if available. (pam_sm_open_session): log session state, to fix PR# 1047213. (pam_sm_close_session): ditto. (pam_sm_authenticate): log authentication failure as well. * NEWS: note about above. * configure.in: add /usr/lib/security and /usr/lib/pam to module search path. * acinclude.m4: (PAM_MYSQL_CHECK_PAM): remove redundant checks for pam_misc.h. (PAM_MYSQL_CHECK_PROTOS): add for compatibility. 2005-06-07 Moriyoshi Koizumi * pam_mysql.c: initialize statcolumn to "1" (for the sake of backwards compatibility) on start and free on exit. This fixes the bug reported by Deniss from Latvia. Thanks. * configure.in: include pkg.m4 (from pkgconfig 0.17.2 which is covered by GPL) to deal with the case pkg-config devel package is not installed. * pkg.m4: added. * autogen.sh: run libtoolize prior to aclocal. * README: remove note about default values, as those ones no longer exist for string parameters. added note for an undocumented option (verbose). * NEWS: updates for expected releases. 2005-03-28 Moriyoshi Koizumi * pam_mysql.c: uncapitalize log message. fix log level in pam_mysql_set_option(). add missing PAM_MYSQL_LOG_PREFIX to syslog() params. * Makefile.am: add install-sh, missing and mkinstalldirs to EXTRA_DISTS. 2005-03-27 Moriyoshi Koizumi * README: add CVS tags and note about unix socket / non-default port number support. * INSTALL: add CVS tags. * pam_mysql.c: add CVS tags. fix typo. * NEWS: reformat and add entry for 0.6. 2005-03-23 Moriyoshi Koizumi * README: add a notice about md5() crypt. 2005-03-22 Moriyoshi Koizumi * COPYING: this should have been there.. * pam_mysql.c: add missing license terms. * Makefile.am: ditto. * ChangeLog: fix indentation. 2005-03-12 Moriyoshi Koizumi * acinclude.m4: fix PAM_MYSQL_CHECK_OPENSSL to correctly check the library availability with the appropriate linker options. 2005-03-11 Moriyoshi Koizumi * acinclude.m4: add new macros -- PAM_MYSQL_CHECK_MD5_HEADERS, PAM_MYSQL_CHECK_CYRUS_SASL_V1, PAM_MYSQL_CHECK_CYRUS_SASL_V2 to deal with the "bogus" md5.h issue. * configure.in: add two new options --with-cyrus-sasl / --with-cyrus-sasl2. fix OpenSSL detection. bump package version. * pam_mysql.c: conditionally include if Cyrus SASL is available and enabled by --with-cyrus-sasl or --with-cyrus-sasl2. * NEWS: renamed from Changelog * ChangeLog: genuine ChangeLog :) * INSTALL: detailed installation instruction in there. * README: note about forking. * Makefile.am: correct typos, synchronize EXTRA_DISTS with new additions. * pam_mysql.spec.in: synchronization against new additions.