summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-16 15:15:10 -0700
committerJeremy Allison <jra@samba.org>2009-04-16 15:16:28 -0700
commit265829c32fdeea2d00a75a21b4225211b24ea62d (patch)
tree1da9e9c1a34a0663b0641a97e6d325a38b5fb6bd
parent6fc8ed7b1fd57f22fba4793b3fc20f77bc7f7e83 (diff)
downloadsamba-265829c32fdeea2d00a75a21b4225211b24ea62d.tar.gz
samba-265829c32fdeea2d00a75a21b4225211b24ea62d.tar.bz2
samba-265829c32fdeea2d00a75a21b4225211b24ea62d.zip
When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.
Jeremy.
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 53a812d222..0ff9f253ef 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1211,7 +1211,7 @@ bool cli_ulogoff(struct cli_state *cli)
return False;
}
- cli->cnum = -1;
+ cli->vuid = -1;
return True;
}