From 9bc10bde1416655293ad486384f8044fb79006ce Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 17 Mar 2011 21:13:32 +0100 Subject: s3: Expose num_opens via api_RNetSessionEnum Autobuild-User: Volker Lendecke Autobuild-Date: Thu Mar 17 22:05:10 CET 2011 on sn-devel-104 --- source3/smbd/lanman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit