Okay I have got OpenLDAP installed correctly and reinstalled the
courier-authlib package. Now when I attempt to use authldap I get the
following in my syslog file:

Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.debug] authldap: trying
this module
Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.debug] selected ldap
protocol version 3
Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.debug] binding to LDAP
server as DN '<null>'
Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.error] ldap_simple_bind_s
failed: Can't contact LDAP server
Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.debug] selected ldap
protocol version 3
Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.debug] binding to LDAP
server as DN '<null>'
Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.error] ldap_simple_bind_s
failed: Can't contact LDAP server
Aug 18 11:02:05 hades authdaemond: [ID 702911 mail.debug] authldap: TEMPFAIL
- no more modules will be tried

In my /usr/local/etc/authlib/authldaprc I have the following entries:

LDAP_URI                ldaps://ldap.icpdd.neca.nec.com.au
LDAP_BASEDN             dc=icpdd,dc=neca,dc=nec,dc=com,dc=au
LDAPBINDDN
cn=proxyagent,ou=profile,dc=icpdd,dc=neca,dc=nec,dc=com,dc=au
LDAPBINDPW              *********

Any more suggestions?

Peter Oram

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sam
Varshavchik
Sent: Thursday, 14 August 2008 9:00 PM
To: [email protected]
Subject: Re: [courier-users] authdaemond problem with ldap

Peter Oram writes:

> I have gone back over the output of the configure command, and noticed 
> the following lines:
> 
> checking ldap.h usability... yes
> checking ldap.h presence... yes
> checking for ldap.h... yes
> checking netinet/in.h usability... yes checking netinet/in.h 
> presence... yes checking for netinet/in.h... yes checking whether 
> -lresolv is needed for res_query... yes checking for ber_scanf in 
> -llber... yes checking for ldap_open in -lldap... no checking for 
> ldap_search_st... no checking for ldap_start_tls_s... no checking for 
> ldap_result2error... no checking for ldap_parse_result... no
> 
> Could this be the cause of my problem with LDAP, and if so, any 
> suggestions as to how to rectify it?

Well, yes, but you should not've even had libauthldap.so built at all. 
Perhaps you had that module left over from a previous build.

Look in config.log for the actual compiler/linker errors that resulted in
those failed probes for OpenLDAP. The above is the result of test compiles,
that probe for OpenLDAP availability, failing. config.log will have the
actual compiler errors, that will give you the clues. See also the
following:

http://www.courier-mta.org/FAQ.html#authlib



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to