def test_hLsarQuerySecurityObject_hLsarSetSecurityObject(self): dce, rpctransport, policyHandle = self.connect() resp = lsad.hLsarQuerySecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION) #hexdump(resp) resp = lsad.hLsarSetSecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION,resp)
def test_hLsarQuerySecurityObject_hLsarSetSecurityObject(self): dce, rpctransport, policyHandle = self.connect() resp = lsad.hLsarQuerySecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION) #hexdump(resp) resp = lsad.hLsarSetSecurityObject(dce, policyHandle, lsad.OWNER_SECURITY_INFORMATION,resp) resp.dump()