Firewall Wizards mailing list archives

Re: Getting windows user name?


From: Jon Schipp <jonschipp () gmail com>
Date: Thu, 09 Sep 2010 00:02:24 -0700

You can use the SysInternals(acquired by Microsoft) psexec tool to
enumerate users. For instance, say you want the user list on a XP
workstation. Tell psexec to run "net users".
http://technet.microsoft.com/en-us/magazine/2007.03.desktopfiles.aspx

On 9/8/2010 9:02 PM, Paul D. Robertson wrote:
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
paul () compuwar net       which may have no basis whatsoever in fact."
           Moderator: Firewall-Wizards mailing list
           Art: http://www.PaulDRobertson.net/

_______________________________________________
firewall-wizards mailing list
firewall-wizards () listserv icsalabs com
https://listserv.icsalabs.com/mailman/listinfo/firewall-wizards


- Jon
-- 
------------------------------------------------------------------
Do you OpenGPG? Search the MIT key server with string "jon schipp"
@insightbb.com.

I prefer encrypted mail, when dealing with sensitive data.

Fax & VMB: 206-426-1406

Dubois County Linux User Group - http://www.dclug.org
BloomingLabs -  http://www.bloominglabs.org
ISSA-Kentuckiana  -  http://issa-kentuckiana.org
_______________________________________________
firewall-wizards mailing list
firewall-wizards () listserv icsalabs com
https://listserv.icsalabs.com/mailman/listinfo/firewall-wizards


Current thread: