#11526: LDAP authentication backend
---------------------------------------------+------------------------------
          Reporter:  psagers                 |         Owner:  nobody
            Status:  new                     |     Milestone:        
         Component:  Authentication          |       Version:  SVN   
        Resolution:                          |      Keywords:  ldap  
             Stage:  Design decision needed  |     Has_patch:  1     
        Needs_docs:  0                       |   Needs_tests:  0     
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by ekohl):

 While testing on Centos 5.3 (which runs python 2.4 with python-ldap 2.2.0)
 I had problems with backend.py:304:
 {{{
 #!python
 username = self.ldap.dn.escape_dn_chars(self._username)
 }}}
 It said
 {{{'module' object has no attribute 'dn'}}}
 Changing this into the following solved it.
 {{{
 #!python
 from ldap import dn
 username = dn.escape_dn_chars(self._username)
 }}}

 Note that I had no trouble with this on Ubuntu 9.10 (python 2.6 / python-
 ldap 2.3.8-1ubuntu1).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11526#comment:14>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to