[Auth_ldap] Could not connect to LDAP server: No such file or directory(Now protocol Error)
Dave Carrigan
dave at rudedog.org
Sun Mar 5 19:40:24 PST 2006
jay alvarez wrote:
> You mean these lines:
>
> //#if defined(WITH_OPENLDAP) && LDAP_VENDOR_VERSION >= 20000
> // if ((ldap_initialize(&(sec->ldc->ldap), (sec->url))) != LDAP_SUCCESS) {
> //#else
> if ((sec->ldc->ldap = ldap_init(sec->host, sec->port)) == NULL) {
> //#endif
>
> Commenting those lines did solved the problem:
> "Could not connect to LDAP server: No such file or directory"
>
> but now, the error turned into:
>
> Could not bind to LDAP server `192.168.0.3' as uid
> =jay,ou=people,o=example,dc=com: Protocol error
Are you using ldap over SSL or plain ldap?
--
Dave Carrigan
Seattle, WA, USA
dave at rudedog.org | http://www.rudedog.org/
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL-Postfix
Dave is currently listening to The Pogues - Greenland Whale Fisheries
(Live, 1985-03-01)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://www.rudedog.org/pipermail/auth_ldap/attachments/20060305/510664aa/attachment.pgp
More information about the Auth_ldap
mailing list