diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-03-03 06:19:28 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-03-06 21:26:05 +0100 |
commit | d95dbb86c592590dd5b64d2e307470943260834d (patch) | |
tree | ff1ce8e1be6ee297c8d9ca231e7b36954d4ab686 | |
parent | c7f67142c0693e73355e1a5748f729fad04415e0 (diff) | |
download | samba-d95dbb86c592590dd5b64d2e307470943260834d.tar.gz samba-d95dbb86c592590dd5b64d2e307470943260834d.tar.bz2 samba-d95dbb86c592590dd5b64d2e307470943260834d.zip |
s3:msdfs: set the 'cnum' field to invalid for faked connection_structs
metze
-rw-r--r-- | source3/smbd/msdfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index a00fd6f769..162b6dfb36 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -263,6 +263,7 @@ NTSTATUS create_conn_struct(TALLOC_CTX *ctx, } conn->params->service = snum; + conn->cnum = (unsigned)-1; conn->sconn = sconn; conn->sconn->num_tcons_open++; |