Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Update ad.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Sep 3, 2015
1 parent dd195bb commit 4dad6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 4dad6eb

Please sign in to comment.