s3: Fix a typo in winbindd_pam_logoff
authorVolker Lendecke <vl@samba.org>
Thu, 1 Apr 2010 13:13:37 +0000 (15:13 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 1 Apr 2010 13:14:09 +0000 (15:14 +0200)
source3/winbindd/winbindd_pam.c

index fc8d7ca07422b4f33c98210cf7ba9e136f160676..d660102655fa67d9f2d47efc2080b991c0a40618 100644 (file)
@@ -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;
        }