[Auth_ldap] Could not connect to LDAP server: No such file or directory

jay alvarez qmailb0y at yahoo.com
Thu Mar 2 16:09:00 PST 2006


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.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Auth_ldap mailing list