Client connections return a “STATUS_INVALID_PARAM” error code when you use a “Send NTLMv2 response only” authentication level in Windows Server 2008 or in Windows Vista
You set the LAN Manager authentication level to Send NTLMv2 response only on a Windows Server 2008-based or Windows Vista-based computer. When a client connects to this computer without extended security support, the connection may fail and return a “STATUS_INVALID_PARAM” error code.
In this scenario, the SmbSessionSetup() function has failed.
Note: This problem does not occur on a Windows Server 2003-based or Windows XP-based computer if you configure the same LAN Manager authentication level.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB957441.