[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Reg OpenLdap on Ubuntu



Hi Dieter,

Here is the result.

#which slapd
/usr/sbin/slapd
# cd /usr/sbin
#ldd slapd
        linux-gate.so.1 =>  (0xb7f6d000)
        libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb7f19000)
        liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb7f0b000)
        libdb-4.7.so => /usr/lib/libdb-4.7.so (0xb7db6000)
        libodbc.so.1 => /usr/lib/libodbc.so.1 (0xb7d4f000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7d36000)
        libslp.so.1 => /usr/lib/libslp.so.1 (0xb7d26000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7d0d000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7cf5000)
        libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb7c57000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7c45000)
        libz.so.1 => /lib/libz.so.1 (0xb7c2f000)
        libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb7bc6000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7b94000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7b7d000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7b74000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7b70000)
        libwrap.so.0 => /lib/libwrap.so.0 (0xb7b67000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7a04000)
        /lib/ld-linux.so.2 (0xb7f6e000)
        libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb7a00000)

Regards
Asimananda

On Thu, Sep 17, 2009 at 2:39 PM, Dieter Kluenter <dieter@dkluenter.de> wrote:
Asimananda Mohanty <asimananda.mohanty@gmail.com> writes:

> Hi Dieter,
>
> Indeed, I thought so. But before going there, I just wanted to confirm that is
> there anything that I might be missing while configuring my openLDAP using
> SASL because : 
>
> the link http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html#authldapurl
>  says "For regular ldap, use the string ldap. For secure
> LDAP, use ldaps instead. Secure LDAP is only available if Apache was linked to
> an LDAP library with SSL support."
>
> This simply states that if LDAP is equipped with SSL support, ldaps url can be
> used. Does that mean that my openLDAP is not equipped with SSL support because
> I am getting success with ldap and not with ldaps?
>
> Once I am sure that my openLDAP configuration is Ok, I can start exploring
> other things.

The easiest way is 'ldd slapd', which will show you the linked
libraries, check for libssl.so or libgnutls.so.

-Dieter

--
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E