summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_pam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index d660102655..d4dc5e58b9 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -2224,9 +2224,6 @@ void winbindd_pam_logoff(struct winbindd_cli_state *state)
uid_t caller_uid = (uid_t)-1;
uid_t request_uid = state->request->data.logoff.uid;
- DEBUG(3, ("[%5lu]: pam logoff %s\n", (unsigned long)state->pid,
- state->request->data.logoff.user));
-
/* Ensure null termination */
state->request->data.logoff.user
[sizeof(state->request->data.logoff.user)-1]='\0';
@@ -2234,6 +2231,9 @@ void winbindd_pam_logoff(struct winbindd_cli_state *state)
state->request->data.logoff.krb5ccname
[sizeof(state->request->data.logoff.krb5ccname)-1]='\0';
+ DEBUG(3, ("[%5lu]: pam logoff %s\n", (unsigned long)state->pid,
+ state->request->data.logoff.user));
+
if (request_uid == (uid_t)-1) {
goto failed;
}