info on SRV_NETSESSENUM

Luke Kenneth Casson Leighton lkcl at switchboard.net
Wed Aug 18 21:02:04 GMT 1999


MSDN NetSessionEnum.

SESSION_INFO_1
{
	cname (computer name)
	username (user who established the connection)
	num_opens (files, pipes and devices opened during session)
	time (session active time, seconds)
	idle_time (session idle time, seconds)
	user_flags (SESS_GUEST | SESS_NOENCRYPTION)
};

On Thu, 19 Aug 1999, Michael Glauche wrote:

> Hi,
>   can you tell me what parametes SRV_NETSESSENUM returns ? (so that I
> know what I should
> send .. :) The code works basicly fine now. I can see the number of
> sessions (computed in the status.c fashion) in srvmgr.exe, and I can
> even see some details about it, but the field "connected users" contains
> only pure garbage ...
> 
> (as I can imagine, that SRV_NETSESSENUM could return multiple users per
> session ..)
> 
> TIA,
>    Michael
> 

<a href="mailto:lkcl at samba.org"   > Luke Kenneth Casson Leighton    </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development   </a>
<a href="http://samba.org"        > Samba Web site                  </a>
<a href="http://www.iss.net"      > Internet Security Systems, Inc. </a>



More information about the samba-technical mailing list