diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-17 21:13:32 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-03-17 22:05:10 +0100 |
commit | 9bc10bde1416655293ad486384f8044fb79006ce (patch) | |
tree | 2e7e848d25ad38388ba1a927ed75a3a09699dfff /source3 | |
parent | fdb98fbdd84362b9c586fdebf83fc2db5722a44e (diff) | |
download | samba-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.c | 2 |
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 */ |