<?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 for MikeTeo.net</title>
	<atom:link href="http://miketeo.net/wp/index.php/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://miketeo.net/wp</link>
	<description>A Software Technologist&#039;s Blog</description>
	<lastBuildDate>Tue, 09 Apr 2013 05:16:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4</generator>
	<item>
		<title>Comment on pysmb by miketeo</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-11042</link>
		<dc:creator>miketeo</dc:creator>
		<pubDate>Tue, 09 Apr 2013 05:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-11042</guid>
		<description>@Nitin: As of pysmb 1.1.3, pysmb does not support direct SMB over TCP. There are some modifications required to bypass the NetBIOS session setup and add in some shim NetBIOS session headers for this to work.</description>
		<content:encoded><![CDATA[<p>@Nitin: As of pysmb 1.1.3, pysmb does not support direct SMB over TCP. There are some modifications required to bypass the NetBIOS session setup and add in some shim NetBIOS session headers for this to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by Nitin</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-11040</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Tue, 09 Apr 2013 04:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-11040</guid>
		<description>Hi Mike,

Does pysmb support SMB communications directly over TCP, port 445?

If not, is there any way to get pysmb working with a server that doesn&#039;t support NetBIOS?</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Does pysmb support SMB communications directly over TCP, port 445?</p>
<p>If not, is there any way to get pysmb working with a server that doesn&#8217;t support NetBIOS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by miketeo</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8982</link>
		<dc:creator>miketeo</dc:creator>
		<pubDate>Tue, 19 Feb 2013 12:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8982</guid>
		<description>@Nitin:
The SMBConnection class does not support asynchronous operations. You might want to look into the SMBProtocolFactory (which uses Twisted framework) and subclass the listPath method implementation in the SMBProtocol to incorporate your batched retrieval needs.</description>
		<content:encoded><![CDATA[<p>@Nitin:<br />
The SMBConnection class does not support asynchronous operations. You might want to look into the SMBProtocolFactory (which uses Twisted framework) and subclass the listPath method implementation in the SMBProtocol to incorporate your batched retrieval needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by Nitin</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8980</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Tue, 19 Feb 2013 10:02:23 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8980</guid>
		<description>Hey Mike, sorry about the late reply. I&#039;m not using listShares anymore, but I&#039;ll send you the tcpdump soon if possible.

Meanwhile, is there any way that listPath can return the list in batches. E.g. a folder has 1 million files, and I want the server to return the list in batches of 100. Because returning all the 1 million items together takes up too much time. I don&#039;t see any such options for listPath in the documentation, but is it possible to play with the underlying code to make this possible?</description>
		<content:encoded><![CDATA[<p>Hey Mike, sorry about the late reply. I&#8217;m not using listShares anymore, but I&#8217;ll send you the tcpdump soon if possible.</p>
<p>Meanwhile, is there any way that listPath can return the list in batches. E.g. a folder has 1 million files, and I want the server to return the list in batches of 100. Because returning all the 1 million items together takes up too much time. I don&#8217;t see any such options for listPath in the documentation, but is it possible to play with the underlying code to make this possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by miketeo</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8951</link>
		<dc:creator>miketeo</dc:creator>
		<pubDate>Wed, 13 Feb 2013 15:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8951</guid>
		<description>@Nitin: Can you send me the tcpdump of the communication using ethereal?</description>
		<content:encoded><![CDATA[<p>@Nitin: Can you send me the tcpdump of the communication using ethereal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by Nitin</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8949</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Wed, 13 Feb 2013 06:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8949</guid>
		<description>Someone posted this in Nov last year, and I&#039;m facing the same issue now: http://stackoverflow.com/questions/13252443/pysmb-windows-file-share-buffer-overflow

Interestingly it happens only after I create a new share on the server.
FYI: Client is a CentOS 5 machine and the server is a Win 2008 R2.</description>
		<content:encoded><![CDATA[<p>Someone posted this in Nov last year, and I&#8217;m facing the same issue now: <a href="http://stackoverflow.com/questions/13252443/pysmb-windows-file-share-buffer-overflow" rel="nofollow">http://stackoverflow.com/questions/13252443/pysmb-windows-file-share-buffer-overflow</a></p>
<p>Interestingly it happens only after I create a new share on the server.<br />
FYI: Client is a CentOS 5 machine and the server is a Win 2008 R2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by miketeo</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8941</link>
		<dc:creator>miketeo</dc:creator>
		<pubDate>Tue, 12 Feb 2013 15:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8941</guid>
		<description>@Nitin:
I have heard that one of the pysmb users had used pysmb to authenticate against AD successfully.</description>
		<content:encoded><![CDATA[<p>@Nitin:<br />
I have heard that one of the pysmb users had used pysmb to authenticate against AD successfully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by Nitin</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8940</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Tue, 12 Feb 2013 10:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8940</guid>
		<description>Thanks again. And lastly I want to ask: Is there any support to connect using Active Directory&#039;s UPNs (User Principal Names) like username@domain? I tried putting the username and domain  parameters in the constructor, but it didn&#039;t work.

SMBConnection(username, password, my_name, remote_name, domain=&#039;&#039;, use_ntlm_v2=True, sign_options=2)

Actually I tried UPN with the smbclient command too, but that didn&#039;t work either. So SMB doesn&#039;t allow connections using UPNs?</description>
		<content:encoded><![CDATA[<p>Thanks again. And lastly I want to ask: Is there any support to connect using Active Directory&#8217;s UPNs (User Principal Names) like username@domain? I tried putting the username and domain  parameters in the constructor, but it didn&#8217;t work.</p>
<p>SMBConnection(username, password, my_name, remote_name, domain=&#8221;, use_ntlm_v2=True, sign_options=2)</p>
<p>Actually I tried UPN with the smbclient command too, but that didn&#8217;t work either. So SMB doesn&#8217;t allow connections using UPNs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by miketeo</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8939</link>
		<dc:creator>miketeo</dc:creator>
		<pubDate>Tue, 12 Feb 2013 09:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8939</guid>
		<description>@Nitin: When the connection is established, the SMB client and server engage in a session negotiation phase which determines the variant of SMB protocol (aka SMB dialect) and also involves authenticating the remote SMB client. The session information is only useful within the authentication communication and is not being used directly in subsequent file operations. When the TCP connection is closed, the remote SMB client will need to perform the session negotiation and authentication again when it re-connects back to the server.</description>
		<content:encoded><![CDATA[<p>@Nitin: When the connection is established, the SMB client and server engage in a session negotiation phase which determines the variant of SMB protocol (aka SMB dialect) and also involves authenticating the remote SMB client. The session information is only useful within the authentication communication and is not being used directly in subsequent file operations. When the TCP connection is closed, the remote SMB client will need to perform the session negotiation and authentication again when it re-connects back to the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on pysmb by Nitin</title>
		<link>http://miketeo.net/wp/index.php/projects/pysmb/comment-page-1#comment-8938</link>
		<dc:creator>Nitin</dc:creator>
		<pubDate>Tue, 12 Feb 2013 07:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://miketeo.net/wp/?page_id=784#comment-8938</guid>
		<description>Thanks for the prompt reply! Follow up questions :)

So when the connection is made, does the server pass some kind of session token or session ID to the client? And then the client passes that token during file operations? If so, where is this ID/token stored?

OR the server creates a session and keeps the information to itself and validates incoming requests based on IP address? And upon 5 minutes of inactivity, destroys the session?</description>
		<content:encoded><![CDATA[<p>Thanks for the prompt reply! Follow up questions <img src='http://miketeo.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So when the connection is made, does the server pass some kind of session token or session ID to the client? And then the client passes that token during file operations? If so, where is this ID/token stored?</p>
<p>OR the server creates a session and keeps the information to itself and validates incoming requests based on IP address? And upon 5 minutes of inactivity, destroys the session?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
