Oct-17-2018, 10:03 PM
I was able to parse and get the information I need by parsing ldap_dump as follows:
while l: result_type, result_data = l.result(ldap_dump, 0) if (result_data == [] ): break else: if result_type == ldap.RES_SEARCH_ENTRY: Log("info", inspect.getframeinfo(inspect.currentframe()).function, "result - " + str(result_data) ) results.append(str(result_data))