Has anyone used python-ldap under fastcgi? Through the python interpreter I get expected results (con.simple_bind returns authenticated status code or throws exception) but when executed through the admin web form I get gateway timeouts under eginx and 500's under lighttpd, both using fastcgi method=prefork.
In my settings file i'm pointing AUTHENTICATION_BACKENDS to my custom backend class which goes something like this: ... def authenticate(self, username=None, password=None): dn = "CN=%s,CN=%s,DC=%s,DC=%s" % (username, settings.x, settings.y, settings.z) con = ldap.initialize(settings.LDAP_SERVER) con.simple_bind(dn,password) ... So far I haven't been able to trace the error, no log errors etc.... Commenting con.cimple_bind(dn, password) lets me go about my business... Thanks, Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---