def __init__(self, remoteName, sessPort=445, extendedSecurity=True, nmbSession=None, negPacket=None): self.extendedSecurity = extendedSecurity SMB.__init__(self, remoteName, remoteName, sess_port=sessPort, session=nmbSession, negPacket=negPacket)
def neg_session(self, negPacket=None): return SMB.neg_session(self, extended_security=self.extendedSecurity, negPacket=negPacket)
def __init__(self, remote_name, extended_security = True, sess_port = 445): SMB.__init__(self, remote_name, remote_name, sess_port = sess_port)
def __init__(self, remoteName, sessPort = 445, extendedSecurity = True, nmbSession = None, negPacket=None): self.extendedSecurity = extendedSecurity SMB.__init__(self,remoteName, remoteName, sess_port = sessPort, session=nmbSession, negPacket=negPacket)