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 /modules/pam_canonicalize_user/README.xml | |
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 'modules/pam_canonicalize_user/README.xml')
-rw-r--r-- | modules/pam_canonicalize_user/README.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/pam_canonicalize_user/README.xml b/modules/pam_canonicalize_user/README.xml new file mode 100644 index 00000000..293b218b --- /dev/null +++ b/modules/pam_canonicalize_user/README.xml @@ -0,0 +1,27 @@ +<article xmlns="http://docbook.org/ns/docbook" version="5.0"> + + <info> + + <title> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_canonicalize_user.8.xml" xpointer='xpointer(id("pam_canonicalize_user-name")/*)'/> + </title> + + </info> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_canonicalize_user.8.xml" xpointer='xpointer(id("pam_canonicalize_user-description")/*)'/> + </section> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_canonicalize_user.8.xml" xpointer='xpointer(id("pam_canonicalize_user-options")/*)'/> + </section> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_canonicalize_user.8.xml" xpointer='xpointer(id("pam_canonicalize_user-examples")/*)'/> + </section> + + <section> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_canonicalize_user.8.xml" xpointer='xpointer(id("pam_canonicalize_user-author")/*)'/> + </section> + +</article> |