Yifan J
44efa5db5b
Make pam.d directory configurable
2023-02-27 10:49:08 +00:00
matt335672
56a7c3efdd
Remove unnecessary data from struct t_auth_info
...
8fc5610dad
back-ported to v0.9
2022-11-28 10:20:58 +00:00
matt335672
a79f5c00b1
Replace snprintf() with g_snprintf()
2021-06-17 15:15:59 +01:00
matt335672
87701051d3
Update conversation header following review
2021-06-10 15:45:49 +01:00
matt335672
ce666a02fa
Bring the PAM module up to date
2021-06-10 15:45:49 +01:00
matt335672
0a1a8f40e5
Moved a lot of string funcs to string_calls module
2020-12-22 11:57:24 +00:00
metalefty
87d710e89b
Merge pull request #1727 from RisingWater/devel
...
Update verify_user_pam.c
2020-12-17 16:15:43 +09:00
Alexandre Quesnel
0c61a15fc5
Migrating logging to LOG() and LOG_DEVEL() in sesman/*
2020-11-30 00:36:20 +00:00
RisingWater
9efdd92c2a
Update verify_user_pam.c
...
change to g_memset
2020-11-19 11:03:43 +08:00
RisingWater
5d8f451a41
Update verify_user_pam.c
...
when a system give a tip message in function verify_pam_conv, authenticate will fail.
so it need skip this message to make sure authenticate success.
2020-11-17 11:48:26 +08:00
bolkedebruin
5cd36c511c
Set max character buffer len to 512 per MS specification
...
The MS specs determine that the character buffer lenngths
for usernames, domains, passwords, alternate shells, etc
can be up to 512 characters including the mandatory null
terminator.
2020-08-17 10:35:35 +02:00
Koichiro IWAO
05ef6d104e
sesman: search pam files also in ${sysconfdir}/pam.d
...
as some operating system such as FreeBSD searches not only `/etc/pam.d`
but also `/usr/local/etc/pam.d` [1].
[1] https://www.freebsd.org/cgi/man.cgi?query=pam.d&sektion=5
2017-07-26 11:34:01 +09:00
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
2017-03-14 00:21:48 -07:00
Pavel Roskin
b2d3dcf169
Include config_ac.h from all source files
2017-03-04 00:52:34 -08:00
Pavel Roskin
6fef1e4eb5
Use const pointers in function arguments when possible
2016-10-17 08:54:07 -07:00
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
2016-07-08 04:29:49 +00:00
Pavel Roskin
bde4925f0e
Cast appdata_ptr explicitly, needed for C++ compatibility
2016-07-08 04:29:47 +00:00
Jay Sorg
29ebab2ce5
sesman: hand merge #176 from v0.6 branch, indent changes
2014-10-20 13:39:38 -07:00
BLINDAUER Emmanuel
b6eb6d9696
If auth fails, call pam_end so PAM backends can call _cleanup
2014-09-20 09:08:41 +02:00
Jay Sorg
538763e144
sesman: Fedora bug 821569
2013-10-01 10:42:00 -07:00
Jay Sorg
c6fa03102f
copyright year update
2013-06-08 10:51:53 -07:00
ArvidNorr
a2bbbd8cc3
Display PAM error in gateway setup, use domain name as IP/DNS, changed how the socket is closed
2013-01-16 01:28:35 -08:00
Laxmikant Rashinkar
1123323fda
o moved from GNU General Public License to Apache License, Version 2.0
...
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
jsorg71
d486e1dd91
change pam file name
2009-05-22 01:47:27 +00:00
jsorg71
cd57d1b689
update copyright year
2008-01-30 07:53:57 +00:00
jsorg71
6886ba4556
copyright year update
2007-01-12 05:07:07 +00:00
jsorg71
e9400d44e9
include stdio.h for newer gcc
2006-05-31 17:47:43 +00:00
ilsimo
013ab3c61f
updated code documentation
2006-05-25 20:34:32 +00:00
jsorg71
b1b3ff9e7d
year update and moved some stuff to os_calls.c
2006-04-23 21:54:12 +00:00
jsorg71
754efcabb1
<lf><cr> should be <cr><lf>
2005-11-26 01:38:08 +00:00
jsorg71
c3ff1bcebb
changed pam session and env
2005-08-14 02:22:11 +00:00
jsorg71
6468e760d2
added pam session
2005-07-19 02:22:33 +00:00
jsorg71
ef1be2c6d3
pam changes
2005-07-07 03:08:03 +00:00