git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
621d403
)
s3-nsswitch: Fix Bug #6238. Make sure logoff is bla bla.
author
Günther Deschner
<gd@samba.org>
Fri, 3 Apr 2009 07:57:53 +0000
(09:57 +0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 3 Apr 2009 07:57:53 +0000
(09:57 +0200)
Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>.
Guenther
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index 62d72c291b2adabba012c93425c68f78c19dda1e..5feccb672384c76267b805660164304b8268d979 100644
(file)
--- a/
nsswitch/pam_winbind.c
+++ b/
nsswitch/pam_winbind.c
@@
-2318,6
+2318,8
@@
static int _pam_delete_cred(pam_handle_t *pamh, int flags,
const char *user;
wbcErr wbc_status = WBC_ERR_SUCCESS;
+ ZERO_STRUCT(logoff);
+
retval = _pam_winbind_init_context(pamh, flags, argc, argv, &ctx);
if (retval) {
goto out;
@@
-2365,8
+2367,6
@@
static int _pam_delete_cred(pam_handle_t *pamh, int flags,
wbc_flags = WBFLAG_PAM_KRB5 |
WBFLAG_PAM_CONTACT_TRUSTDOM;
- ZERO_STRUCT(logoff);
-
logoff.username = user;
if (ccname) {