summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-01 15:13:37 +0200
committerVolker Lendecke <vl@samba.org>2010-04-01 15:14:09 +0200
commit64c564291d9ce60d934273aaac15150386d22127 (patch)
tree9be69c14b9c36312f0cdce0191068270e357af1b /source3/winbindd
parent132e505d1edc501edbe73bb75b65c1f5a724e70b (diff)
downloadsamba-64c564291d9ce60d934273aaac15150386d22127.tar.gz
samba-64c564291d9ce60d934273aaac15150386d22127.tar.bz2
samba-64c564291d9ce60d934273aaac15150386d22127.zip
s3: Fix a typo in winbindd_pam_logoff
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_pam.c2
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;
}