_django-ldapdb_ is an LDAP database backend for Django. It allows you tomanipulate LDAP entries using Django's models. Declaring models using theLDAP backend is very staightforward, you simply inherit from_ldapdb.models.Model_ and declare the fields in the same way as for regularmodels. You can even edit the LDAP entries using Django's admin interface.

_Important note_ : you _must_ declare an attribute to be used as the primarykey. This attribute will play a special role, as it will be used to build theRelative Distinguished Name of the entry. For instance in the example above,a group whose cn is _foo_ will have the DN _cn=foo,ou=groups,dc=nodomain,dc=org_.