querying an NT domain for a list of logged-in users
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Mon Aug 16 17:32:34 GMT 1999
yes. see rpcclient, issue a srvsessions command. if it does not contain
sufficient info, let me know, i will code up some of the higher-privilege
info levels for you.
samba (smbd) does not respond to this rpcclient command as someone needs
to hack smbstatus-like functionality into smbd.
i.e take smbstatus source and feed it into rpc_server/srv_srvsvc.c
make_srv_sess_info_1(), make_srv_sess_info_0(), make_srv_conn_info_0(),
make_srv_conn_info_1() and make_srv_file_info_3().
anyone want to do this?
luke
On Tue, 17 Aug 1999, Stephen Langasek wrote:
> Hello all,
>
> I'm investigating the possibility of creating a Linux-based firewall
> solution which can allow or reject connections based on the identity of the
> user currently logged into a machine, similar to what's possible with MS
> Proxy Server. I know that nmblookup can be used to query the logged-in user
> on a Win9x machine; is there a similar ready-made mechanism that can be used
> in an NT domain setting? Better still, would there be a (painless) way to
> get an NT PDC to inform a Unix server of domain logons/logoffs? Or would it
> be better/easier to use the Linux machine as the PDC in this case?
>
> TIA,
> -Steve Langasek
> postmodern programmer
>
>
<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