Commits

Peter Sagerson committed cd95c5a

Document case-insensitive attribute keys. Version 1.0.14.

  • Participants
  • Parent commits 997e30d
  • Tags 1.0.14

Comments (0)

Files changed (4)

django_auth_ldap/__init__.py

-version = (1, 0, 13)
-version_string = "1.0.13"
+version = (1, 0, 14)
+version_string = "1.0.14"
 # The short X.Y version.
 version = '1.0'
 # The full version, including alpha/beta/rc tags.
-release = '1.0.13'
+release = '1.0.14'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 wish to propagate. A pair of settings, :ref:`AUTH_LDAP_USER_ATTR_MAP` and
 :ref:`AUTH_LDAP_PROFILE_ATTR_MAP`, serve to copy directory information into
 :class:`~django.contrib.auth.models.User` and profile objects. These are
-dictionaries that map user and profile model keys, respectively, to LDAP
-attribute names::
+dictionaries that map user and profile model keys, respectively, to
+(case-insensitive) LDAP attribute names::
 
     AUTH_LDAP_USER_ATTR_MAP = {"first_name": "givenName", "last_name": "sn"}
     AUTH_LDAP_PROFILE_ATTR_MAP = {"home_directory": "homeDirectory"}
 
     * ``dn``: The user's distinguished name.
     * ``attrs``: The user's LDAP attributes as a dictionary of lists of string
-      values.
+      values. The dictionaries are modified to use case-insensitive keys.
     * ``group_dns``: The set of groups that this user belongs to, as DNs.
     * ``group_names``: The set of groups that this user belongs to, as simple
       names. These are the names that will be used if
 
 setup(
     name="django-auth-ldap",
-    version="1.0.13",
+    version="1.0.14",
     description="Django LDAP authentication backend",
     long_description="""This is a Django authentication backend that authenticates against an LDAP service. Configuration can be as simple as a single distinguished name template, but there are many rich configuration options for working with users, groups, and permissions.