Hi,
I've got a little problem and I'm not sure how to track down the error
I'm getting. My web server is spitting back a 504 gateway timeout
which isn't helpful at all so I'm hoping someone here can point me in
the right direction.
When I attempt to:
l = ldap.initialize(settings.AD_LD
Michael Ströder <[EMAIL PROTECTED]> writes:
> I will commit this change.
Thanks.
> Please also examine
>
> http://python-ldap.cvs.sourceforge.net/python-ldap/python-ldap/Modules/LDAPObject.c?r1=1.79&r2=1.80
>
> http://python-ldap.cvs.sourceforge.net/python-ldap/python-ldap/Modules/options.c?r1=1
Matej Vela wrote:
> Yup. If you haven't already, try replacing lines 614 and 615
>
> sasl_interact_t *interact = in;
> PyObject *SASLObject = defaults;
>
> with
>
> sasl_interact_t *interact = (sasl_interact_t *) in;
> PyObject *SASLObject = (PyObject *) defaults;
I will commit
Anil <[EMAIL PROTECTED]> writes:
> Thanks, that worked! I am able to compile it now, but if I enable sasl,
> it also fails:
>
> "Modules/LDAPObject.c", line 568: Warning: String literal converted to
> char* in formal argument format in call to
> _PyObject_CallMethod_SizeT(_object*, char*, char*
Michael Ströder <[EMAIL PROTECTED]> writes:
> Matej Vela wrote:
>> The type checking seems to be a bit overzealous. Try changing line 108
>> of Modules/options.c from
>>
>> LDAPControl_List_DEL(ptr);
>>
>> to
>>
>> LDAPControl_List_DEL((LDAPControl**) ptr);
>
> Matej, do you th