diff options
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index fc8d7ca074..d660102655 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -2234,7 +2234,7 @@ void winbindd_pam_logoff(struct winbindd_cli_state *state) state->request->data.logoff.krb5ccname [sizeof(state->request->data.logoff.krb5ccname)-1]='\0'; - if (request_uid == (gid_t)-1) { + if (request_uid == (uid_t)-1) { goto failed; } |