On Nov 7, 2:38 am, huw_at1 <[EMAIL PROTECTED]> wrote:
> Hi all. I am having some real problems with this. I have an LDAP
> authentication backend that I have hooked up to my app. Standalone it
> appears to run fine. However when running it through my apache server
> I am seeing alot of segmentation faults in my error log coupled with
> the redirection page not loading on succesful authentication.
>
> I have googled around a bit and seen a few other threads with LDAP
> authentication and apache segementation faults. However none of them
> seem to be quite the same issue that I am experiencing. The only thing
> I have managed to garner thus far is that there may be a version
> mismatch betweem the openldap libraries used to compile apache with
> and those used to compile the python-ldap module.
>
> If anyone has any ideas about this or, miraculously, has a solution I
> would be most grateful.

The version mismatch on shared library versions is indeed usually what
the problem is.

You need to run 'ldd' on all Apache modules, all PHP modules if using
PHP, and Python LDAP modules and work out which LDAP client libraries
they use.

Normally Apache mod_auth_ldap would use self contained LDAP client
implementation and so it shouldn't be an issue unless symbols not
being namespaced, but may be possible (not sure) to tell it to use
distinct LDAP client library as well.

See:

  
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#MySQL_Shared_Library_Conflicts

This is about MySQL, but same sort of issue. See how 'ldd' command is
used in that case to check library versions and do similar thing for
LDAP stuff.

Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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