I've got it.
The problem was I needed a line in my httpd.conf for mod_auth_ldap.so.
It is now working. I guess the problem was with me assuming that installing
RPM's would do the work for me.
Thank you for your interest. It is appreciated.



----- Original Message -----
From: "Mark Belanger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 28, 2000 9:45 AM
Subject: Re: [expert] LDAP and PHP


> I might be lying to you.  I seem to remember that
> I had trouble getting this to work with Mandrake 7.1.
> I am now running 7.2
>
> There are lots of differences between the php3 packages
> in 7.0/7.1 and the php4 stuff in 7.2.  It's very possible
> that ldap is not built into the php shipped with 7.1
>
> On a 7.0 system, the undefined symbol ber_alloc_t is in
> /usr/lib/liblber.so.1  (Try running "nm /usr/lib/liblber.so.1")
> which is shipped in the openldap package.  This library
> is a dynamic dependency for mod_auth_ldap.so as reported by
> "ldd /usr/lib/apache/mod_auth_ldap.so"
>
> One glaring difference between 7.0 and 7.2 is in
> the php*.ini file.  In mdk7.0, the /etc/httpd/conf/php3.ini
> file has this suspicious looking entry:
>    extension=php3_ldap.dll
> In mkd7.2, /etc/php.ini has this line:
>    extension=ldap.so
>
> Since neither 7.0 or 7.2 have any dll files, I'd say that
> that php3_ldap.dll is bogus for a linux system and is probably
> some windows thing.
>
> My advice is to be lazy and install Mandrake 7.2
>
> -Mark
>
>
>
>
>
> Sean wrote:
> >
> > I think you are correct that I am missing libraries, but I am at a loss
as
> > to which ones.
> > I did install openldap-devel without any change.
> > I then removed everything and started from scratch. Same problem.
> > It is really beginning to annoy me. Would you be aware, perhaps, of any
LDAP
> > clients that will allow me to add contacts (that is all I am using it
for)
> > without a web interface?
> >
> > ----- Original Message -----
> > From: "Mark Belanger" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 27, 2000 9:41 AM
> > Subject: Re: [expert] LDAP and PHP
> >
> > > I think you're missing some libraries, possibly
> > > openldap-devel
> > >
> > > My system works and has the following ldap-related packages:
> > > nss_ldap-122-1.1mdk
> > > openldap-1.2.9-7mdk
> > > auth_ldap-1.4.0-5mdk
> > > openldap-devel-1.2.9-7mdk
> > > php-ldap-4.0.3pl1-1mdk
> > >
> > > -Mark
> > > > Sean wrote:
> > > >
> > > > Greetings,
> > > >
> > > > I am running Mandrake 7.1 with openldap 1.2.9.7mdk and PHP3
(Mandrake
> > version
> > > > 3.0.17.2mdk).
> > > >
> > > > I am attempting to access an ldap directory from a PHP3 web based
> > > > administrator.
> > > >
> > > > This results in an error. Excerpt of /var/log/httpd/error_log:
> > > >
> > > > httpd: error in loading shared libraries: /usr/lib/libldap.so.1:
> > undefined
> > > > symbol: ber_alloc_t
> > > >
> > > > OpenLDAP is working and can be searched locally or remotely with
> > ldapsearch or
> > > > a cliet such as Outllook.
> > > > Apache is working normally.
> > > > All other PHP scripts execute normally.
> > > >
> > > > Any opinions or suggestions are welcome.
> > > >
> > > > Thank you,
> > > > Sean Hurley.
> > >
> > > --
> > > Mark Belanger
> > > LTX Corporation
> > >
> > >
> > >
>
> --
> Mark Belanger
> LTX Corporation
>
>
>


Reply via email to