When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.
[obnox/samba-ctdb.git] / source / libsmb / cliconnect.c
index c0c39cf60855e421b793905206a13795fb8ecbf4..2be220f61e295ad596a6065fc9010ac8b52620d7 100644 (file)
@@ -1096,7 +1096,7 @@ bool cli_ulogoff(struct cli_state *cli)
                return False;
        }
 
-        cli->cnum = -1;
+        cli->vuid = -1;
         return True;
 }