def METHOD_NAME(self, rpc_mode, rpc_use_smb, auth_smb, hashes_smb, rpc_smb_port):
    self.rpc_mode = rpc_mode
    self.rpc_use_smb = rpc_use_smb
    self.smbdomain, self.smbuser, self.smbpass = parse_credentials(auth_smb)
    if hashes_smb is not None:
        self.smblmhash, self.smbnthash = hashes_smb.split(':')
    else:
        self.smblmhash = ''
        self.smbnthash = ''
    self.rpc_smb_port = rpc_smb_port