• [^] # Re: Piste suggérée précédemment...

    Posté par (site web personnel) . En réponse au message LDAP over TLS - unsupported extended operation. Évalué à 1.

    Effectivement, je n'avais pas vu passer ces lignes ?!
    J'ai donc recrée le certificat, modifié ma base comme demandé, et je me retrouve avec un beau :

    root@DB:/etc/ldap/slapd.d# ldapsearch -ZZ
    SASL/EXTERNAL authentication started
    ldap_sasl_interactive_bind_s: Authentication method not supported (7)
     additional info: SASL(-4): no mechanism available:
    root@DB:/etc/ldap# l
    total 40K
    -rw-r--r-- 1 root root 1.4K Sep 12 16:08 ca-cert.pem
    -rw------- 1 openldap root 2.0K Sep 12 16:07 ca-key.pem
    -rw-r--r-- 1 root root 183 Sep 4 15:49 init.ldif
    -rw-r--r-- 1 root root 178 Sep 4 16:14 olcAccess.ldif
    -rw-r--r-- 1 root root 463 Sep 4 16:12 olcDbIndex.ldif
    -rw-r--r-- 1 root root 241 Sep 11 16:39 olcSSL.ldif
    -rw-r--r-- 1 root root 283 Sep 13 18:47 olcSSL_gnu.ldif
    drwxr-xr-x 2 root root 4.0K Apr 23 2013 sasl2
    drwxr-xr-x 2 root root 4.0K Sep 4 15:27 schema
    drwxr-xr-x 3 openldap openldap 4.0K Sep 13 18:52 slapd.d
    root@DB:/etc/ldap# grep -r "TLS" slapd.d/*
    slapd.d/cn=config.ldif:olcTLSCertificateKeyFile: /etc/ldap/ca-key.pem
    slapd.d/cn=config.ldif:olcTLSCertificateFile: /etc/ldap/ca-cert.pem
    slapd.d/cn=config.ldif:olcTLSVerifyClient: never