git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f6714
)
s3:msdfs: set the 'cnum' field to invalid for faked connection_structs
author
Stefan Metzmacher
<metze@samba.org>
Sat, 3 Mar 2012 05:19:28 +0000
(06:19 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 6 Mar 2012 20:26:05 +0000
(21:26 +0100)
metze
source3/smbd/msdfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/msdfs.c
b/source3/smbd/msdfs.c
index a00fd6f7692a190ec9a238106c9c2cf4dc2ad798..162b6dfb36179b55aebedcc5b905043e4686f6d3 100644
(file)
--- 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++;