Ahh yes, been a while since I messed with my settings for that file
but I think this is what you need LDAP_OPTIONS = {'OPT_X_TLS_DEMAND':
True}


Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com



On Thu, Oct 16, 2008 at 12:43 PM, Daniele Procida
<[EMAIL PROTECTED]> wrote:
>
> 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
>
> Daniele
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to