Re: Getting windows user name?

"Paul D. Robertson" <[email protected]> Thu, 9 Sep 2010 00:02:54 -0400 (EDT)
Newsgroups gmane.comp.security.firewalls.wizards
Message-ID <[email protected]>
On Wed, 8 Sep 2010, ArkanoiD wrote:

> Is there a way to retrieve Windows user name for any given workstation, something like
> Unix identd, but using AD only? Terminal servers are non-issue at the moment (well,
> another issue), let's assume there is only one logged in that matters. Seems that ISA does it?
> Is it possible to implement such a functionality without netbios requests?

I don't think you can do a non-DCOM query without installing an agent on 
the Windows side- but I suppose it depends on where you need the 
informaiton.

Samba's wmi-client will do the dcom query.

Here's info on doing it via http with a client installed on the Windows 
box:

http://forums.cacti.net/about11752.html

If you're just trying to do the NTLM auth like ISA, this link may help:

http://cntlm.sourceforge.net/

Paul
-----------------------------------------------------------------------------
Paul D. Robertson      "My statements in this message are personal opinions
[email protected]       which may have no basis whatsoever in fact."
           Moderator: Firewall-Wizards mailing list
           Art: http://www.PaulDRobertson.net/