def test_reconnect(self): smb = self.create_connection() smb.login(self.username, self.password, self.domain) smb.listPath(self.share, '*') smb.logoff() smb.reconnect() smb.listPath(self.share, '*') smb.logoff()
def test_reconnect(self): smb = self.create_connection() smb.login(self.username, self.password, self.domain) smb.listPath(self.share, '*') smb.logoff() smb.reconnect() smb.listPath(self.share, '*') smb.logoff()
def test_aliasconnection(self): smb = SMBConnection('*SMBSERVER', self.machine, preferredDialect=self.dialects, sess_port=self.sessPort) smb.login(self.username, self.password, self.domain) smb.listPath(self.share, '*') smb.logoff()
def test_aliasconnection(self): smb = SMBConnection('*SMBSERVER', self.machine, preferredDialect=self.dialects, sess_port=self.sessPort) smb.login(self.username, self.password, self.domain) smb.listPath(self.share, '*') smb.logoff()