Results 1 to 3 of 3

Thread: Openldap TLS/SSL and Phpldapadmin issues

  1. #1
    Join Date
    Oct 2007
    Beans
    34
    Distro
    Ubuntu 10.04 Lucid Lynx

    Openldap TLS/SSL and Phpldapadmin issues

    Hi,

    I have an issues with phpldapadmin
    After setup Openldap server with TLS/SSL use ldaps, I install phpldapadmin and have an issue

    LDAP Server is configured and running.
    I make some ldapsearch and it oki.

    I couldn't use https to browse LDAP server when I use http and I can't connect Could not start TLS. Please check your LDAP server configuration.

    This is my config

    Code:
    /etc/ldap/ldap.conf
    BASE    dc=microhelpdesk,dc=net
    HOST    ldap-svr.microhelpdesk.net
    URI     ldaps://ldap-svr.microhelpdesk.net
    TLS_CACERT /var/myssl/cacert.pem
    TLS_CACERTDIR /var/myssl/
    TLS_REQCERT     allow
    Code:
    /usr/share/phpldapadmin/config/config.php
    $ldapservers->SetValue($i,'server','name','MicroHelpdesk LDAP Server');
    $ldapservers->SetValue($i,'server','host','ldaps://192.168.0.5:636');
    $ldapservers->SetValue($i,'server','base',array('dc=microhelpdesk,dc=net'));
    $ldapservers->SetValue($i,'server','auth_type','session');
    $ldapservers->SetValue($i,'login','dn','cn=Admin,dc=microhelpdesk,dc=net');
    $ldapservers->SetValue($i,'login','pass','');
    $ldapservers->SetValue($i,'server','tls',true);
    Help me.

    Thanks and best regards,
    NyU

  2. #2
    Join Date
    Oct 2007
    Beans
    34
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Openldap TLS/SSL and Phpldapadmin issues

    No one help me, pls.

  3. #3
    Join Date
    Sep 2008
    Beans
    16

    Re: Openldap TLS/SSL and Phpldapadmin issues

    Hey nyu2007,

    I also have the same setup (OpenLDAP 2.4.19 on a Ubuntu Hardy and phpLDAPadmin 1.1.0.4 on a Ubuntu Hardy) and I seem to have random failures when using SSL (ldaps:// without TLS on port 636) or TLS (ldap:// with TLS on port 389). It works half the time, the other half it says the username is wrong or that the TLS connection couldn't be established. PHPldapadmin's logs don't give any errors, and the slapd's logs just say "conn=1735 fd=17 closed (TLS negotiation failure)". Of course the loglevel could be increased...

    Anyway, I'm guessing this is the wrong location to be complaining about this, maybe we should take it up to phpldapadmin's forums?

    Cheers

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •