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

Ace Suares lists at suares.an
Sun Mar 5 15:33:01 PST 2006


The information on http://www.suares.an/auth_ldap might be helpfull to 
you. I had the same problem (as did several others) with auth_ldap 1.6.1

There are only 3 line you have to comment out: you don't have to revert to 
1.6.0 like I did, most likely.

Cheers,
ace



On Thursday 02 March 2006 20:09, jay alvarez wrote:
> 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
> _______________________________________________
> Auth_ldap mailing list
> Auth_ldap at rudedog.org
> http://www.rudedog.org/mailman/listinfo/auth_ldap

-- 
It's not possible to treat coherently that which is incoherent.
	- Date's Incoherence Principle

Suares & Co, Open Source Solutions
mail: Sans Souci #11, Willemstad, Curacao (NA)
phone: +599 786 23 73
fax: +31 848 707 705
web: http://www.suares.an email: ace at suares.an

-- 
"To be nobody but yourself in a world which is doing its best,
night and day, to make you like everybody else, means to fight
the hardest battle any human being can fight
and never stop fighting."
	- E. E. Cummings

Suares & Co, Open Source Solutions
mail: Sans Souci #11, Willemstad, Curacao (NA)
phone: +599 786 23 73
fax: +31 848 707 705
web: http://www.suares.an email: ace at suares.an



More information about the Auth_ldap mailing list