/ [pam-modules]

Revision 86

Jump to revision: Previous Next
Author: gray
Date: Sun Mar 16 22:02:25 2008 UTC (13 years, 6 months ago)
Changed paths: 11
Log Message:
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

* 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
(sql_session_mgmt,pam_sm_open_session,pam_sm_close_session): New

Changed paths

Path Details
Directorytrunk/ChangeLog modified , text changed
Directorytrunk/NEWS modified , text changed
Directorytrunk/configure.ac modified , text changed
Directorytrunk/lib/Makefile.am modified , text changed
Directorytrunk/lib/escape.c added
Directorytrunk/lib/graypam.h modified , text changed
Directorytrunk/lib/vartab.c added
Directorytrunk/pam_log/pam_log.c modified , text changed
Directorytrunk/pam_sql/pam_mysql.c modified , text changed
Directorytrunk/pam_sql/pam_pgsql.c modified , text changed
Directorytrunk/pam_sql/pam_sql.c modified , text changed

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