def test_hLsarAddAccountRights_hLsarRemoveAccountRights(self): dce, rpctransport, policyHandle = self.connect() sid = 'S-1-5-32-504' resp = lsad.hLsarAddAccountRights(dce, policyHandle, sid, ('SeChangeNotifyPrivilege', )) #resp.dump() resp = lsad.hLsarRemoveAccountRights(dce, policyHandle, sid, ('SeChangeNotifyPrivilege', ))
def test_hLsarAddAccountRights_hLsarRemoveAccountRights(self): dce, rpctransport, policyHandle = self.connect() sid = 'S-1-5-32-504' resp = lsad.hLsarAddAccountRights(dce, policyHandle, sid, ('SeChangeNotifyPrivilege', )) resp.dump() resp = lsad.hLsarRemoveAccountRights(dce, policyHandle, sid, ('SeChangeNotifyPrivilege', )) resp.dump()