Daniele Procida wrote on 10/16/08 20:43: > On Thu, Oct 16, 2008, Dj Gilcrease <[EMAIL PROTECTED]> wrote: > >> LDAP_OPTIONS = 'ldap.OPT_X_TLS_DEMAND: True' >> should be >> LDAP_OPTIONS = {ldap.OPT_X_TLS_DEMAND: True} > > Sdly, that immediately crashes the server: > > Traceback (most recent call last): > File "manage.py", line 4, in <module> > import settings # Assumed to be in the same directory. > File "/home/daniele/testmedic/settings.py", line 95, in <module> > LDAP_OPTIONS = {ldap.OPT_X_TLS_DEMAND: True} > NameError: name 'ldap' is not defined
import ldap LDAP_OPTIONS = {ldap.OPT_X_TLS_DEMAND: True} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---