-
Notifications
You must be signed in to change notification settings - Fork 2
Python recipes
Jeff Stafford edited this page May 19, 2018
·
1 revision
This is a "recipe book" of things that can be done using the ezldap Python API.
These examples all assume that you've imported the ezldap
package like so:
import ezldap
You must run ezldap config
on the command-line before the package will work.
Anonymous bind:
connection = ezldap.Connection('ldap://localhost')
Bind as a user:
connection = ezldap.auto_bind()