<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Finding Logged In Users by IP using Samba/AD</title>
	<atom:link href="http://blog.schmichael.com/2006/11/17/finding-logged-in-users-by-ip-using-sambaad/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.schmichael.com/2006/11/17/finding-logged-in-users-by-ip-using-sambaad/</link>
	<description>good good study, day day up</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:50:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: find ip address</title>
		<link>http://blog.schmichael.com/2006/11/17/finding-logged-in-users-by-ip-using-sambaad/comment-page-1/#comment-37712</link>
		<dc:creator>find ip address</dc:creator>
		<pubDate>Tue, 30 Sep 2008 05:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://michael.susens-schurter.com/blog/2006/11/17/finding-logged-in-users-by-ip-using-sambaad/#comment-37712</guid>
		<description>yea, thats kinda complicated, isn&#039;t there a simpler way?</description>
		<content:encoded><![CDATA[<p>yea, thats kinda complicated, isn&#8217;t there a simpler way?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Wyglendowski</title>
		<link>http://blog.schmichael.com/2006/11/17/finding-logged-in-users-by-ip-using-sambaad/comment-page-1/#comment-2511</link>
		<dc:creator>Christian Wyglendowski</dc:creator>
		<pubDate>Wed, 22 Nov 2006 03:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://michael.susens-schurter.com/blog/2006/11/17/finding-logged-in-users-by-ip-using-sambaad/#comment-2511</guid>
		<description>Hhhhmmm...that sounds tricky.  I looked at the Samba &quot;net&quot; command, and while you can do a ton of stuff with it, it looks like getting the remote logged in user is not one of them.  I know I did this from one Windows machine to another back at GC.  It&#039;s pretty easy in that environment, what with WMI and all.

Since you have 500 Windows systems on your network, why not create a simple web service on one of your Win boxes that lets you query a remote logged in user?  You could use XML-RPC or even just good ol&#039; HTTP.  I don&#039;t know how often this service would be getting queried though.  If you are hitting it frequently, you could even cache the results for a short time, as long as you are willing to accept a small margin of error.

This would be a great project to get your feet wet with Python. ;-)  It has great Win32 API support, and using WMI is a breeze.  For the web part, I would have to recommend &lt;a href=&quot;http://www.cherrypy.org&quot; rel=&quot;nofollow&quot;&gt;CherryPy&lt;/a&gt;. :-D

Ok, enough marketing.  Hope you get something figured out.

Christian</description>
		<content:encoded><![CDATA[<p>Hhhhmmm&#8230;that sounds tricky.  I looked at the Samba &#8220;net&#8221; command, and while you can do a ton of stuff with it, it looks like getting the remote logged in user is not one of them.  I know I did this from one Windows machine to another back at GC.  It&#8217;s pretty easy in that environment, what with WMI and all.</p>
<p>Since you have 500 Windows systems on your network, why not create a simple web service on one of your Win boxes that lets you query a remote logged in user?  You could use XML-RPC or even just good ol&#8217; HTTP.  I don&#8217;t know how often this service would be getting queried though.  If you are hitting it frequently, you could even cache the results for a short time, as long as you are willing to accept a small margin of error.</p>
<p>This would be a great project to get your feet wet with Python. <img src='http://blog.schmichael.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   It has great Win32 API support, and using WMI is a breeze.  For the web part, I would have to recommend <a href="http://www.cherrypy.org" rel="nofollow">CherryPy</a>. <img src='http://blog.schmichael.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Ok, enough marketing.  Hope you get something figured out.</p>
<p>Christian</p>
]]></content:encoded>
	</item>
</channel>
</rss>

