def test_hNetrDfsGetVersion(self): dce, rpctransport = self.connect() try: resp = srvs.hNetrDfsGetVersion(dce) resp.dump() except Exception, e: if e.get_error_code() != 0x2: raise
def test_hNetrDfsGetVersion(self): dce, rpc_transport = self.connect() try: resp = srvs.hNetrDfsGetVersion(dce) resp.dump() except srvs.DCERPCSessionError as e: if e.get_error_code() != 0x2: raise