[Auth_ldap] Oracle SDK Problems
Poetzel, Christopher J.
cpoetzel at anl.gov
Thu Feb 17 12:42:19 PST 2005
Has anyone got auth_ldap to work with the oracle ldap libraries.
On my solaris 5.9 box I have apache 1.3.3 with mod_ssl, python, and php
(with oracle support).
I have read and also have witnessed this firsthand that when php is
compiled with oracle support auth_ldap also needs to be compiled using
the oracle ldap libraries. Otherwise apache with segfault.
So I compiled auth_ldap with
/configure --with-sdk=other
--with-sdk-headers=/export/oracle/v817/ldap/public
--with-sdk-libs=/expor
t/oracle/v817/lib --with-apxs=/export/apache/bin/apxs --with-activate
and that all seems to work fine.
However when I try to authenticate using this I get the following errors
in my log:
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(145): [client
146.137.1.31] {9938} Entering auth_ldap_conn
ect_to_server
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(165): [client
146.137.1.31] {9938} Opening connection to l
dap server(s) `xxxx.anl.gov'
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(168): [client
146.137.1.31] {9938} LDAP OP: init
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(262): [client
146.137.1.31] {9938} Binding to server `xxx.anl.gov' xxxxx/xxxxx
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(272): [client
146.137.1.31] {9938} LDAP OP: simple bind
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(112): [client
146.137.1.31] {9938} Server is down; reconne
cting and starting over
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(116): [client
146.137.1.31] {9938} Freeing connection to l
dap server(s) `xxxx.anl.gov'
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(165): [client
146.137.1.31] {9938} Opening connection to l
dap server(s) `tiger201.anl.gov'
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(168): [client
146.137.1.31] {9938} LDAP OP: init
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(262): [client
146.137.1.31] {9938} Binding to server `xxx.anl.gov' as xxxx/xxx
<mailto:cpoetzel at anl.gov/xxx>
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(272): [client
146.137.1.31] {9938} LDAP OP: simple bind
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(112): [client
146.137.1.31] {9938} Server is down; reconne
cting and starting over
[Wed Feb 16 13:00:21 2005] [debug] auth_ldap.c(116): [client
146.137.1.31] {9938} Freeing connection to l
dap server(s) `xxxx.anl.gov'
[Wed Feb 16 13:00:21 2005] [error] [client 146.137.1.31] Too many
failures connecting to LDAP server
Obviously it appears that it cannot talk to the ldap server. However I
used this same config on another apache server using the netscape sdk
libs and it worked fine. So I don't think it's the config.
Also, I was able to talk to the ldap server using the ldapsearch
function in the oracle/bin directory and it was able to contact the ldap
server.
If anyone has got this to work and can give me some advice that would be
great,
Thanks,
Chris Poetzel
Argonne National Labratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.rudedog.org/pipermail/auth_ldap/attachments/20050217/02703d03/attachment.htm
More information about the Auth_ldap
mailing list