1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

r22794: Add "debug_state" and "silent" to pam_winbind.conf template. Honor the silent

argument when parsing pam configuration file options.

Guenther
(This used to be commit 5b4a4df26f32fe1947a0c4fb741a4cb89e308f92)
This commit is contained in:
Günther Deschner 2007-05-11 11:54:41 +00:00 committed by Gerald (Jerry) Carter
parent 1cb8a948b3
commit 67a45aa26b
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,9 @@
# turn on debugging
;debug = no
# turn on extended PAM state debugging
;debug_state = no
# request a cached login if possible
# (needs "winbind offline logon = yes" in smb.conf)
;cached_login = no
@ -24,3 +27,6 @@
# make successful authentication dependend on membership of one SID
# (can also take a name)
;require_membership_of =
# omit pam conversations
;silent = no

View File

@ -273,6 +273,8 @@ config_from_pam:
ctrl |= WINBIND_DEBUG_ARG;
else if (!strcasecmp(*v, "debug_state"))
ctrl |= WINBIND_DEBUG_STATE;
else if (!strcasecmp(*v, "silent"))
ctrl |= WINBIND_SILENT;
else if (!strcasecmp(*v, "use_authtok"))
ctrl |= WINBIND_USE_AUTHTOK_ARG;
else if (!strcasecmp(*v, "use_first_pass"))