[python3-ldap] python3-ldap and Django
Richard Esplin
richard-lists at esplins.org
Tue May 20 20:22:10 CEST 2014
I am very impressed with python3-ldap. It is much more pythonic than the old
python-ldap, which makes it easier to use.
I am building an LDAP backed web site in Django. There are two modules I will
need:
* django-auth-ldap for authenticating a user against an LDAP back-end,
* django-ldapdb for writing user changes back to LDAP.
Both of these modules expect python-ldap. I am trying to decide the best way
to get them to use python3-ldap:
1) Rewrite them to call python3-ldap
2) Work on the python3-ldap compat module so that it can drop in for python-
ldap
Option 1 seems like it will produce the cleanest code. Option 2 seems like it
will be the most useful for other applications that expect python-ldap, and
on-going maintenance of the modules that call them. I'm not sure which
approach will be easiest.
Is anyone else working on this?
Does anyone have any wisdom, suggestions, opinions to share?
Thanks,
Richard
More information about the python3-ldap
mailing list