/ [pam-modules] / trunk / pam_sql
To checkout: svn checkout http://svn.gnu.org.ua/sources/pam-modules/trunk/pam_sql
Puszcza

Log of /trunk/pam_sql

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 119)

Revision 118 - Directory Listing
Modified Sun May 13 09:48:57 2012 UTC (9 years, 2 months ago) by gray
Revamp build system. Add pam_ldaphome module.

* configure.ac: Test for ldap.
(AC_OUTPUT): Create pam_ldaphome/Makefile.
* acinclude.m4 (PM_ENABLE): Declare PAM_COND_<item>
conditional in addition to BUILD_PAM_<item> substitution
variable.
* Makefile.am (SUBDIRS): Include most modules via
conditionally defined Makefile variables.

* lib/graypam.h (gray_env): New struct.
(gray_env_get,gray_env_free,gray_env_read)
(gray_boolean_true_p): New protos.
* lib/env.c: New file.
* lib/Makefile.am (libgraypam_la_SOURCES): Add env.c

* pam_fshadow/Makefile.am: Remove BUILD_PAM_FSHADOW
substitution.
* pam_regex/Makefile.am: Remove BUILD_PAM_REGEX
substitution.
* pam_sql/pam_sql.c (free_config, boolean_true_p)
(read_config): Remove. Use gray_env_* functions
instead. All uses updated.
* pam_regex/pam_regex.c: Fix typo.

* pam_ldaphome/Makefile.am: New file.


Revision 113 - Directory Listing
Modified Fri Apr 8 08:54:48 2011 UTC (10 years, 3 months ago) by gray
Update copyright years


Revision 111 - Directory Listing
Modified Mon Apr 4 21:59:36 2011 UTC (10 years, 3 months ago) by gray
Allow for the use of `CALL proc' in MySQL queries.

* pam_sql/pam_mysql.c (flush_result): New static.
(mysql_do_query): Call mysql_real_connect with the CLIENT_MULTI_RESULTS flag.
(check_query_result, mysql_setenv, gpam_sql_acct): Call flush_result
after freeing the result.


Revision 110 - Directory Listing
Modified Sat Jan 2 15:12:34 2010 UTC (11 years, 6 months ago) by gray
Update copyright years.

Happy GNU Year!


Revision 108 - Directory Listing
Modified Tue Apr 7 17:59:45 2009 UTC (12 years, 3 months ago) by gray
Minor changes

* pamck/conv.c (pamck_conv): Fix handling of PAM_PROMPT_ECHO_ON.
* pamck/pamck.c: Minor changes.
* pam_sql/pam_sql.c (_pam_get_password): Fix condition.


Revision 106 - Directory Listing
Modified Fri Feb 27 15:30:15 2009 UTC (12 years, 4 months ago) by gray
Avoid gcc warnings

Revision 105 - Directory Listing
Modified Fri Feb 27 14:54:58 2009 UTC (12 years, 4 months ago) by gray
Rewrite Makefile.am's in a clearer and simpler way

* configure.ac: Require libtool 2.2.5a
* Make.rules (.c.lo, .lo.la): Remove
(AM_LDFLAGS, INCLUDES, LIBS): New assignments.
* pam_sql/Makefile.am, pam_fshadow/Makefile.am,
pam_sql/Makefile.am, pam_regex/Makefile.am,
pam_log/Makefile.am: Rewrite.
* pam_sql/pam_sql.h, pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c.
pam_sql/pam_sql.c: Rewrite.
* pam_sql/sha1.h, pam_sql/md5.c, pam_sql/md5.h, pam_sql/sha1.c
* pam_fshadow/pam_fshadow.c: New option [no]shadow
* doc/pam-modules.texi: Update.

* lib/graypam.h (gray_trim_ws): New proto
* lib/strutil.c: New file.
* lib/Makefile.am: Add strutil.c


Revision 101 - Directory Listing
Modified Wed Feb 18 23:28:06 2009 UTC (12 years, 5 months ago) by gray
Fix improper use of $< in explicit rules

Revision 92 - Directory Listing
Modified Wed Mar 19 20:56:26 2008 UTC (13 years, 4 months ago) by gray
Documentation checking framework:

* doc/macros.texi, doc/check-docs.sh, doc/mastermenu.el,
doc/untabify.el, doc/rendition.texi: New files.
* pam_regex/pam_regex.c: Remove useless use_authtok option.
* pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c,
pam_sql/pam_sql.c: Pacify `make check-sql-config' in doc.
* doc/Makefile.am: Add check-* rules.
* doc/pam-modules.texi: Update.




Revision 90 - Directory Listing
Modified Wed Mar 19 09:50:00 2008 UTC (13 years, 4 months ago) by gray
* configure.ac: Check for pam libraries and header files.
* pam_sql/pam_mysql.c (mysql_setenv): Protect by #ifdef
HAVE_PAM_MISC_SETENV.  Prevent coredumps on NULL values.
* pam_sql/pam_pgsql.c (pgsql_setenv): Likewise.
* pam_sql/Makefile.am (pam_mysql_la_LDADD,pam_pgsql_la_LDADD): Add
@PAM_MISC@.
* pam_sql/pam_sql.c (read_config): Read lines of arbitrary length.




Revision 89 - Directory Listing
Modified Tue Mar 18 22:32:57 2008 UTC (13 years, 4 months ago) by gray
* pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c: Implement `setenv'
method.
* pam_sql/pam_sql.c, pam_fshadow/pam_fshadow (_pam_get_password):
Set PAM_AUTHTOK.


Revision 87 - Directory Listing
Modified Sun Mar 16 22:12:43 2008 UTC (13 years, 4 months ago) by gray
* pam_fshadow/pam_fshadow.c, pam_sql/pam_mysql.c,
pam_sql/pam_sql.c, pam_regex/pam_regex.c: Ensure passwords might
get divulged only at debugging level 100.


Revision 86 - Directory Listing
Modified Sun Mar 16 22:02:25 2008 UTC (13 years, 4 months ago) by gray
Add session management to pam_sql.

* NEWS, configure.ac: Updated. Set version to 1.3.90.

* lib/escape.c lib/vartab.c: New files.
* lib/graypam.h (gray_expand_argv)
(gray_expand_string, gray_escape_string): New functions.
(struct keyword): New declaration.
(gray_find_keyword): New function.
* lib/Makefile.am (libgraypam_la_SOURCES): Add vartab.c and
escape.c.

* pam_log/pam_log.c: Use gray_find_keyword and gray_expand_argv.

* pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c (verify_user_pass):
Change signature.
(sql_acct): New function.
* pam_sql/pam_sql.c (verify_user_pass): Change signature.
(_pam_parse): Initialize globals.
(free_config): Reset config_env to NULL.
(read_config): Set config_env to NULL.
(get_query,get_query2): New functions.
(pam_sm_authenticate): Call gray_pam_init, update call to
verify_user_pass.
(sql_session_mgmt,pam_sm_open_session,pam_sm_close_session): New
functions. 


Revision 83 - Directory Listing
Modified Sat Mar 15 10:08:34 2008 UTC (13 years, 4 months ago) by gray
Prepare for the release

Revision 81 - Directory Listing
Modified Sat Mar 15 09:27:11 2008 UTC (13 years, 4 months ago) by gray
Minor change

Revision 79 - Directory Listing
Modified Sat Mar 15 09:09:14 2008 UTC (13 years, 4 months ago) by gray
Bugfixes

Revision 77 - Directory Listing
Modified Sat Mar 15 07:39:01 2008 UTC (13 years, 4 months ago) by gray
Initial framework for LDAP-style password hashes.

* pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c: Call
gray_check_ldap_pass if configuration variable allow-ldap-pass is
set.
* lib/graypam.h (gray_base64_decode, gray_check_ldap_pass): New
prototypes.
* lib/Makefile.am (libgraypam_la_SOURCES): Add new files.
* lib/sha1.h, lib/base64.c, lib/md5.c, lib/ldappass.c, lib/md5.h,
lib/sha1.c: New files.


Revision 69 - Directory Listing
Modified Fri Mar 14 14:42:56 2008 UTC (13 years, 4 months ago) by gray
* lib/graypam.h: Minor change.
* pam_sql/pam_pgsql.c (verify_user_pass): port is optional.
Fix erroneous argument to PQsetdbLogin.
* pam_sql/pam_sql.c (pam_opt): Bugfix.




Revision 67 - Directory Listing
Modified Fri Mar 14 12:50:10 2008 UTC (13 years, 4 months ago) by gray
* lib/parseopt.c: New file.
* lib/Makefile.am (libgraypam_la_SOURCES): Add parseopt.c
* lib/graypam.h (gray_parseopt, gray_wait_debug_fun): New
functions
(CNTL_DEBUG_LEV, CNTL_SET_DEBUG_LEV): Removed.
* lib/log.c (gray_wait_debug): New functions.
* pam_fshadow/pam_fshadow.c, pam_sql/pam_sql.c,
pam_regex/pam_regex.c, pam_log/pam_log.c: Use gray_parseopt for
command line parsing.



Revision 63 - Directory Listing
Modified Thu Mar 13 13:53:32 2008 UTC (13 years, 4 months ago) by gray
* configure.ac (PAM_COMMON_INCLUDES): Add -I${top_srcdir}/lib.
(AC_OUTPUT): Add lib/Makefile.
* doc/pam-modules.texi: Document `transform' option.
* Make.rules: New file.

* lib/mem.c, lib/slist.c, lib/log.c, lib/converse.c,
lib/graypam.h, lib/Makefile.am, lib/transform.c.

* pam_regex/pam_regex.c: Implement user name transformations.

* pam_fshadow/Makefile.am, pam_sql/Makefile.am:
Add ../lib/libgraypam.la to LDADD
* pam_fshadow/pam_fshadow.c, pam_sql/pam_mysql.c,
pam_sql/pam_pgsql.c, pam_sql/pam_sql.c: Use functions from ../lib.


Revision 62 - Directory Listing
Modified Tue Aug 28 13:00:56 2007 UTC (13 years, 11 months ago) by gray
Bugfixes

Revision 61 - Directory Listing
Modified Mon Aug 27 22:38:35 2007 UTC (13 years, 11 months ago) by gray
Lots of fixes in pam_mysql

Revision 59 - Directory Listing
Modified Tue Aug 14 08:56:02 2007 UTC (13 years, 11 months ago) by gray
Update

Revision 58 - Directory Listing
Modified Tue Aug 14 08:50:50 2007 UTC (13 years, 11 months ago) by gray
* pam_fshadow/pam_fshadow.c: Include config.h and time.h
* pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c, pam_sql/pam_sql.c: Use
_pam_log for diagnostics.
* pam_regex/pam_regex.c (pam_sm_authenticate): Remove unused variable.
* configure.ac: New option --enable-debug
* common.c (wait_debug): Bugfix
* pam_log/pam_log.c: Include ctype.h
(parse_priority): Change return type.
* pam_fshadow/Makefile.am, pam_log/Makefile.am,
pam_regex/Makefile.am, pam_sql/Makefile.am: Use CPPFLAGS in cc rules.


Revision 50 - Directory Listing
Modified Mon Aug 6 13:26:32 2007 UTC (13 years, 11 months ago) by gray
Relicense under GPLv3.

Revision 49 - Directory Listing
Modified Mon Aug 6 11:06:00 2007 UTC (13 years, 11 months ago) by gray
Flush .cvsignore files

Revision 47 - Directory Listing
Modified Sun Aug 5 15:00:31 2007 UTC (13 years, 11 months ago) by gray
(verify_user_pass): static


Revision 37 - Directory Listing
Modified Wed Sep 6 13:08:14 2006 UTC (14 years, 10 months ago) by gray
Update


Revision 36 - Directory Listing
Modified Wed Sep 6 13:06:29 2006 UTC (14 years, 10 months ago) by gray
(sql_expand_query): Bugfix


Revision 31 - Directory Listing
Added Tue Sep 5 21:36:24 2006 UTC (14 years, 10 months ago) by gray
*** empty log message ***


Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20