summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-17 21:13:32 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-17 22:05:10 +0100
commit9bc10bde1416655293ad486384f8044fb79006ce (patch)
tree2e7e848d25ad38388ba1a927ed75a3a09699dfff /source3
parentfdb98fbdd84362b9c586fdebf83fc2db5722a44e (diff)
downloadsamba-9bc10bde1416655293ad486384f8044fb79006ce.tar.gz
samba-9bc10bde1416655293ad486384f8044fb79006ce.tar.bz2
samba-9bc10bde1416655293ad486384f8044fb79006ce.zip
s3: Expose num_opens via api_RNetSessionEnum
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 17 22:05:10 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 75ec100d79..369e0ee38c 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -5667,7 +5667,7 @@ static bool api_RNetSessionEnum(struct smbd_server_connection *sconn,
PACKS(&desc, "z", info_ctr.ctr.ctr1->array[i].client);
PACKS(&desc, "z", info_ctr.ctr.ctr1->array[i].user);
PACKI(&desc, "W", 1); /* num conns */
- PACKI(&desc, "W", 0); /* num opens */
+ PACKI(&desc, "W", info_ctr.ctr.ctr1->array[i].num_open);
PACKI(&desc, "W", 1); /* num users */
PACKI(&desc, "D", 0); /* session time */
PACKI(&desc, "D", 0); /* idle time */