summaryrefslogtreecommitdiff
path: root/source3/nsswitch/pam_winbind.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-05-11 11:54:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:57 -0500
commit67a45aa26bd119af54b3a22425d23b064201ab6f (patch)
treeb66ff66e496fd21c6bf0a2e59cf0caab6eb36160 /source3/nsswitch/pam_winbind.c
parent1cb8a948b3ce558506fe3ee084e8d0682cf4d3ed (diff)
downloadsamba-67a45aa26bd119af54b3a22425d23b064201ab6f.tar.gz
samba-67a45aa26bd119af54b3a22425d23b064201ab6f.tar.bz2
samba-67a45aa26bd119af54b3a22425d23b064201ab6f.zip
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)
Diffstat (limited to 'source3/nsswitch/pam_winbind.c')
-rw-r--r--source3/nsswitch/pam_winbind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index 6734cba0c4..81b9c0bc6c 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -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"))