Example #1
0
 def test_hLsarEnumerateTrustedDomainsEx(self):
     dce, rpctransport, policyHandle = self.connect()
     try:
         resp = lsad.hLsarEnumerateTrustedDomainsEx(dce, policyHandle)
         resp.dump()
     except Exception as e:
         if str(e).find('STATUS_NO_MORE_ENTRIES') < 0:
             raise
 def test_hLsarEnumerateTrustedDomainsEx(self):
     dce, rpctransport, policyHandle = self.connect()
     try:
         resp = lsad.hLsarEnumerateTrustedDomainsEx(dce, policyHandle)
         resp.dump()
     except Exception, e:
         if str(e).find('STATUS_NO_MORE_ENTRIES') < 0:
             raise