Re: [Exim] OpenLDAP or Solaris-LDAP?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Patrick von der Hagen
Data:  
Para: exim-users
Assunto: Re: [Exim] OpenLDAP or Solaris-LDAP?
On Tue, Jul 10, 2001 at 08:36:04PM +0200, Sheldon Hearn wrote:
>
>
> On Tue, 10 Jul 2001 20:17:36 +0200, Patrick von der Hagen wrote:
>
> > Of course it is easy to link against Solaris-libs instead of
> > OpenLDAP-libs. But will the Solaris-libs connect to the OpenLDAP-Server
> > without problems?
>
> Ahhhh. That's pretty wide of the scope of the mailing list. I assumed
> that the question was Exim-related. :-)

Well, it is Exim-related. ;-)
I compiled Exim with OpenLDAP on one Solaris-server and have no problems
connecting an OpenLDAP-Server to get my Alias-information.
Then I switched to a different Solaris-server, didn't bother about
OpenLDAP and compiled against Solaris-LDAP-libraries. No other changes
in the Makefile and almost the same exim.conf (I just changed the
hostname).

Now I get (exim -d9 -bt adress)
perform_ldap_search: ldap URL=...
server=MYSERVER port=389 sizelimit=0 timelimit=0
Opened connection to LDAP server MYSERVER:389
Binding with user=NULL password=NULL
Start search
ldap search initiation failed

The OpenLDAP-log tells me:
Jul 11 20:34:41 i09pc10 slapd[27452]: connection_get(18)
Jul 11 20:34:41 i09pc10 slapd[7138]: send_ldap_result: 0::
Jul 11 20:34:41 i09pc10 slapd[27452]: connection_get(18)

Which is a rather short connection.

Now I wonder: is it because of the libraries?
And did anybody ever succeed in using exim, compiled with
Solaris-LDAP-libs, to connect to an OpenLDAP-Server?

Is it "normal" that my lookup fails or did I do something wrong?

--
CU,
Patrick.
"Never run on auto-pilot" - The Pragmatic Programmer