Authenticating against active directory using python + ldap

I was missing

l.set_option(ldap.OPT_REFERRALS, 0)

From the init.

Leave a Comment