tags:

views:

56

answers:

3

Hi ! I am looking for a good ldap library on Django, that would allow me to manage my ldap server :

  • adding, modifying, deleting entries
  • for groups, users, and all kind of objects

The library django-ldapdb looked promising, it offers a Model base class that can be used to declare ldap objects in a Django fashion (which is what we ideally want), however we've had some bugs with it, and furthermore it seems like it is not maintained any more.

Does somebody know a good library that could do the trick ? Otherwise I guess I'll just try to improve and debug django-ldapdb ...

Thanks !

A: 

http://www.python-ldap.org/doc/html/index.html

The beauty of Django is that you can use any python module within your application.

Andrew Sledge
Actually, django-ldapdb is already built on python-ldap. Using directly python-ldap is too low-level, what I would really like is to be able to use my ldap directory as a database, and that's why django-ldapdb corresponds to my needs...
sebpiq
A: 

There is also django-auth-ldap which claims

LDAP configuration can be as simple as a single distinguished name template, but there are many rich options for working with User objects, groups, and permissions.

André Caron
Yes thanks ! I've seen it, but it doesn't fill in my needs.
sebpiq
A: 

Actually, I have found out that with one or two fixes, django-ldapdb is a pretty good library. The only bad point is that it is not very actively maintained... I will use it anyways, because it is the best solution I have found.

sebpiq