def test_hNetrUnjoinDomain2(self): dce, rpc_transport = self.connect() try: resp = wkst.hNetrUnjoinDomain2(dce, NULL, b'\x00'*512, wkst.NETSETUP_ACCT_DELETE) resp.dump() except Exception as e: if str(e).find('ERROR_INVALID_PASSWORD') < 0: raise
def test_hNetrUnjoinDomain2(self): dce, rpctransport = self.connect() try: resp = wkst.hNetrUnjoinDomain2(dce, NULL, '\x00'*512, wkst.NETSETUP_ACCT_DELETE) resp.dump() except Exception, e: if str(e).find('ERROR_INVALID_PASSWORD') < 0: raise