You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by jay alvarez <qm...@yahoo.com> on 2006/03/27 02:58:39 UTC

[users@httpd] auth_ldap1.6.1 (Could not connect to LDAP server no such file or directory)

Hi,

I turned on my apache to debugging level and here's
what I got:

Upon visiting the protected site...

Entering ldap_authenticate_basic_user
authenticate: using URL
ldap://192.168.0.3:389/ou=people,o=example,dc=com
authenticate: result is 401

Now, after entering my credentials in the login
form...

Entering ldap_authenticate_basic_user
authenticate: using URL
ldap://192.168.0.3:389/ou=people,o=example,dc=com
entry for `jay' is not in the cache
Entering auth_ldap_connect_to_server
Opening connection to ldap server(s) `192.168.0.3'
LDAP OP: init
Could not connect to LDAP server: No such file or
directory

Any idea what's happening here??


My Directory contains:

AuthLDAPAuthoritative on
AuthLDAPBindDN uid=jay,ou=people,o=example,dc=com
AuthLDAPBindPassword secret
AuthLDAPEnabled on
AuthLDAPUrl
ldap://192.168.0.3:389/ou=people,o=example,dc=com
require valid-user


Apache/1.3.34 (Unix) PHP/4.4.2 mod_ssl/2.8.25
OpenSSL/0.9.7
auth_ldap-1.6.1
$OpenLDAP: slapd 2.3.17


./configure 
--with-apxs=/usr/local/sbin/apxs
--with-ldap-sdk=openldap
--with-sdk-headers=/usr/local/openldap/include
--with-sdk-libs=/usr/local/openldap/lib 
--with-ssl
--with-activate

Thanks.
 
		
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.
		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.