Commit graph

15 commits

Author SHA1 Message Date
Sergey Poznyakoff
f3b7c048b8 Update copyright years 2022-02-04 09:38:17 +02:00
Sergey Poznyakoff
da41d2aec4 Update copyright years 2021-01-06 18:15:52 +02:00
Sergey Poznyakoff
d14f8e6c1f Minor fix
* examples/ldappubkey: Pass arguments to start_tls
2019-08-30 11:09:44 +03:00
Sergey Poznyakoff
082c967151 Minor fixes
* configure.ac: Don't build static libraries.
* examples/ldappubkey: Optionally authenticate via PAM`
2018-08-14 16:20:35 +03:00
Sergey Poznyakoff
6bba235d66 New module pam_innetgr.
* Makefile.am: Add new module.
* NEWS: Upgrade
* configure.ac: Add configuration for pam_innetgr
* pam_innetgr/Makefile.am: New file.
* pam_innetgr/pam_innetgr.c: New file.
* doc/Makefile.am: Add pam_innetgr.8
* doc/pam-modules.texi: Document pam_innetgr.
* doc/pam_innetgr.8: New file.
* examples/ldappubkey: Bugfixes
(publickeyattribute setting): Accept a list of attributes
(publickeyfilter): New setting.
2018-08-12 19:20:04 +03:00
Sergey Poznyakoff
c20d0e4bf3 Happy GNU Year 2018-01-01 11:22:40 +02:00
Sergey Poznyakoff
946c85c169 Update copyright dates. 2015-01-28 16:54:21 +02:00
Sergey Poznyakoff
947e0c2f8a pam_ldaphome: run initrc command as user.
* examples/usergitconfig: Documentation formatting change.
* lib/graypam.h (gray_2nrealloc): New function.
* lib/mem.c (gray_2nrealloc): New function.
* pam_fshadow/pam_fshadow.c (fgetpwent): Skip malformed entries.
* pam_ldaphome/pam_ldaphome.c (runas): New finction.
(run_prog): Switch to user privileges unless initrc-root is true.

* NEWS: Update.
* doc/pam-modules.texi: Update.
* doc/pam_ldaphome.8in: Update.
2015-01-28 16:42:52 +02:00
Sergey Poznyakoff
6e7bbc2eb1 Improve docstrings in examples. 2014-07-26 08:29:03 +03:00
Sergey Poznyakoff
639fd46fac Implement TLS in perl utilities. 2014-07-25 17:48:54 +03:00
Sergey Poznyakoff
66dcf254f5 Remove deprecated use of INCLUDES from Makefiles.
* Make.rules: Use AM_CPPFLAGS instead of INCLUDES.
* Makefile.am (SUBDIRS): Add examples.
(dist-hook): Remove.
* configure.ac: Build examples/Makefile.
* examples/Makefile.am: New file.
* pam_fshadow/Makefile.am: Include Make.rules on top.
Use += to set AM_CPPFLAGS
* pam_groupmember/Makefile.am: Likewise.
* pam_ldaphome/Makefile.am: Likewise.
* pam_log/Makefile.am: Likewise.
* pam_regex/Makefile.am: Likewise.
* pam_sql/Makefile.am: Likewise.
* pam_umotd/Makefile.am: Likewise.
2014-05-21 12:48:53 +03:00
Sergey Poznyakoff
4edfb36f05 Document the use of ldappubkey 2014-05-21 12:22:05 +03:00
Sergey Poznyakoff
7636fa3e7b New utility "ldappubkey".
* NEWS: Document new features.
* doc/pam-modules.texi: Document usergitconfig.
* doc/pam_ldaphome.8in: Update.
* examples/ldappubkey: New file.
* examples/usergitconfig: Refer to perldoc on error.
* lib/env.c (gray_env_get_bool): New function.
* lib/graypam.h (gray_env_get_bool): New proto.
* pam_ldaphome/pam_ldaphome.c (import_public_key): Do nothing if
"import-public-keys" is set to "no".
(pam_sm_authenticate): New function.
2014-05-19 14:01:21 +03:00
Sergey Poznyakoff
e1aa833138 Minor fix
* examples/usergitconfig: Use bindpw attribute.
2014-05-11 09:07:34 +03:00
Sergey Poznyakoff
ebda1d26ab pam_ldaphome: optionally run external program after populating home directory.
This allows for dynamic modifications of the initial directory contents,
depending on the login name of the user.  The name of the external program
is given with the initrc-command configuration statement.  It is invoked
with the single argument, specifying the login name.  The standard input
is closed, standard output is diverted to standard error.  Standard error
can be diverted to a file using the initrc-log statement.

* Makefile.am (EXTRA_DIST): Add examples.
* examples/usergitconfig: New file.
* pam_ldaphome/pam_ldaphome.c (run_prog, run_initrc): New statics.
(pam_sm_authenticate): Call run_initrc prior to calling
import_public_key.
2014-05-10 22:58:46 +03:00