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
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