git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6ed7e
)
Set the right return value if wbc_status is set to an error.
author
Günther Deschner
<gd@samba.org>
Fri, 21 Nov 2008 10:34:52 +0000
(11:34 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 26 Nov 2008 09:13:38 +0000
(10:13 +0100)
Guenther
(cherry picked from commit
458a65b409f25f913a8122b320b38d1669137f06
)
source/nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/pam_winbind.c
b/source/nsswitch/pam_winbind.c
index 1d6ff9d119a2c92cfc5eb520dfeebfb7bb0cb66b..3897856d333fdcef5d481b7d023adeadb9daed2c 100644
(file)
--- a/
source/nsswitch/pam_winbind.c
+++ b/
source/nsswitch/pam_winbind.c
@@
-2757,6
+2757,11
@@
out:
pam_putenv(pamh, "KRB5CCNAME");
}
+ if (!WBC_ERROR_IS_OK(wbc_status)) {
+ retval = wbc_auth_error_to_pam_error(ctx, error, wbc_status,
+ user, "wbcLogoffUser");
+ }
+
_PAM_LOG_FUNCTION_LEAVE("pam_sm_close_session", ctx, retval);
TALLOC_FREE(ctx);