rapid7/metasploit-framework — pull request #1108 by alexmaloteaux (2012-11-28 22:06:31+00:00)
Title: Several fixes for smb, mainly win 8 compatibility

Correct some bugs in the way tree_connect is called in psexec, list_directory, and smb_enumshares modules.

This keeps compatibility with all version of windows and prevent win 8 to send SMB_DUPLICATE_NAME error .