diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-11-07 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-11-14 23:25:00 +0000 |
commit | 2cae0f5c6757a66602546d76d51a4ba9bb28b2b2 (patch) | |
tree | 99a80a13dc8861cdde1b8cf564b0ce51a59399e6 /configure.ac | |
parent | 6a4bf999a7bd5da780fa4157d4397548ffe0c30f (diff) | |
download | pam-2cae0f5c6757a66602546d76d51a4ba9bb28b2b2.tar.gz pam-2cae0f5c6757a66602546d76d51a4ba9bb28b2b2.tar.bz2 pam-2cae0f5c6757a66602546d76d51a4ba9bb28b2b2.zip |
pam_canonicalize_user: new module to canonicalize user name
This module uses the name of the user obtained via pam_get_user(3)
as a key to query the password database, and replaces PAM_USER
with the pw_name value that has been returned.
The main usage scenario is systems where a user name is used in several
distinct authentication systems, some of them being case sensitive while
others are not.
* configure.ac (AC_CONFIG_FILES): Add
modules/pam_canonicalize_user/Makefile.
* doc/sag/pam_canonicalize_user.xml: New file.
* doc/sag/Linux-PAM_SAG.xml: Add a reference to
pam_canonicalize_user.xml.
* modules/Makefile.am (SUBDIRS): Add pam_canonicalize_user.
* modules/pam_canonicalize_user/Makefile.am: New file.
* modules/pam_canonicalize_user/README.xml: New file.
* modules/pam_canonicalize_user/pam_canonicalize_user.8.xml: New file.
* modules/pam_canonicalize_user/pam_canonicalize_user.c: New file.
* modules/pam_canonicalize_user/tst-pam_canonicalize_user: New file.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b6a8d6fb..df95d9bb 100644 --- a/configure.ac +++ b/configure.ac @@ -768,7 +768,8 @@ AC_CONFIG_FILES([Makefile libpam/Makefile libpamc/Makefile libpamc/test/Makefile Make.xml.rules \ modules/Makefile \ modules/pam_access/Makefile \ - modules/pam_debug/Makefile modules/pam_deny/Makefile \ + modules/pam_canonicalize_user/Makefile \ + modules/pam_debug/Makefile modules/pam_deny/Makefile \ modules/pam_echo/Makefile modules/pam_env/Makefile \ modules/pam_faildelay/Makefile modules/pam_faillock/Makefile \ modules/pam_filter/Makefile modules/pam_filter/upperLOWER/Makefile \ |