1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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
This commit is contained in:
Volker Lendecke 2011-03-17 21:13:32 +01:00 committed by Volker Lendecke
parent fdb98fbdd8
commit 9bc10bde14

View File

@ -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 */