def test_hNetrSetPrimaryComputerName(self): dce, rpctransport = self.connect() try: resp2 = wkst.hNetrSetPrimaryComputerName(dce,'FREEFLY\x00', NULL, NULL ) resp2.dump() except Exception, e: if str(e).find('ERROR_NOT_SUPPORTED') < 0: raise
def test_hNetrSetPrimaryComputerName(self): dce, rpctransport = self.connect() try: resp2 = wkst.hNetrSetPrimaryComputerName(dce,'FREEFLY\x00', NULL, NULL ) resp2.dump() except Exception, e: if str(e).find('ERROR_NOT_SUPPORTED') < 0: raise