adrecon / ADRecon

ADRecon is a tool which gathers information about the Active Directory and generates a report which can provide a holistic picture of the current state of the target AD environment.
GNU Affero General Public License v3.0
695 stars 101 forks source link

Destination array was not long enough. Check destIndex and length, and the array's lower bounds. #3

Open TarquinCook opened 4 years ago

TarquinCook commented 4 years ago

BTW - This script is awesome

Im getting the following error (we have > 10,000 groups)

[-] Group Memberships - May take some time Exception caught: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds. at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at System.Collections.Generic.Dictionary2.Resize(Int32 newSize, Boolean forceNewHashCodes) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at ADRecon.ADWSClass.GroupRecordDictionaryProcessor.processRecord(Object record)