Exemple #1
0
 def test_getData(self):
     smb = self.create_connection()
     smb.login(self.username, self.password, self.domain)
     smb.getDialect()
     smb.getServerName()
     smb.getRemoteHost()
     smb.getServerDomain()
     smb.getServerOS()
     smb.doesSupportNTLMv2()
     smb.isLoginRequired()
     smb.logoff()
Exemple #2
0
 def test_getData(self):
     smb = self.create_connection()
     smb.login(self.username, self.password, self.domain)
     smb.getDialect()
     smb.getServerName()
     smb.getRemoteHost()
     smb.getServerDomain()
     smb.getServerOS()
     smb.doesSupportNTLMv2()
     smb.isLoginRequired()
     smb.logoff()
Exemple #3
0
 def test_getServerName(self):
     smb = self.create_connection()
     smb.login(self.username, self.password, self.domain)
     serverName = smb.getServerName()
     self.assertTrue(serverName.upper() == self.serverName.upper())
     smb.logoff()
Exemple #4
0
 def test_getServerName(self):
     smb = self.create_connection()
     smb.login(self.username, self.password, self.domain)
     serverName = smb.getServerName()
     self.assertTrue( serverName.upper() == self.serverName.upper() )
     smb.logoff()