summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Yang <boyang@samba.org>2009-05-22 01:39:03 +0800
committerBo Yang <boyang@samba.org>2009-05-22 01:39:03 +0800
commite65aa34078f5c2c969103a23d6693071d88672a2 (patch)
tree8b61d5db83a4bda14bf9cd90e93d091d48bdcf9a
parent000da55dd930d151db14ee8eed58e82806522692 (diff)
downloadsamba-e65aa34078f5c2c969103a23d6693071d88672a2.tar.gz
samba-e65aa34078f5c2c969103a23d6693071d88672a2.tar.bz2
samba-e65aa34078f5c2c969103a23d6693071d88672a2.zip
s3: Fix request flags in wbinfo when perform krb5 authentication
Signed-off-by: Bo Yang <boyang@samba.org>
-rw-r--r--nsswitch/wbinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index 9ee0e01cc2..04adddaf48 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -2031,7 +2031,8 @@ int main(int argc, char **argv, char **envp)
uint32 flags = WBFLAG_PAM_KRB5 |
WBFLAG_PAM_CACHED_LOGIN |
WBFLAG_PAM_FALLBACK_AFTER_KRB5 |
- WBFLAG_PAM_INFO3_TEXT;
+ WBFLAG_PAM_INFO3_TEXT |
+ WBFLAG_PAM_CONTACT_TRUSTDOM;
if (!wbinfo_auth_krb5(string_arg, "FILE", flags)) {
d_fprintf(stderr, "Could not authenticate user [%s] with "