From 4dad6eb419ad0645e857b755e5de33de47c2845c Mon Sep 17 00:00:00 2001 From: David Bailey Date: Thu, 3 Sep 2015 14:18:10 -0700 Subject: [PATCH] Update ad.py --- ad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ad.py b/ad.py index 92084f6..509b41f 100644 --- a/ad.py +++ b/ad.py @@ -12,8 +12,8 @@ #attributes = ['dn'] attributes = ['*'] -l = LdapPagedSearch(host, username, password, maxPages=0, pageSize=1000) #ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_NEVER) +l = LdapPagedSearch(host, username, password, maxPages=0, pageSize=1000) results = l.search(baseDN, filter, attributes = attributes) computers = []