[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian, LDAPS, GnuTLS, OpenSSL



On 2014-01-17 19:25, Sven Hartge wrote:
> Lars Schimmer <l.schimmer@cgv.tugraz.at> wrote:
> 
>> ldap_pvt_connect: fd: 3 tm: -1 async: 0
>> TLS: can't connect: A TLS packet with unexpected length was received..
>> ldap_err2string
>> ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
> 
> Bitte poste deine /etc/default/slapd

Vom Server:

SLAPD_CONF=
SLAPD_USER="openldap"
SLAPD_GROUP="openldap"
SLAPD_PIDFILE=
SLAPD_SERVICES="ldaps:/// ldapi:/// ldap:///";
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
SLAPD_OPTIONS=""

Alles andere ist auskommentiert.

ldap.conf server:

#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE    dc=cgv,dc=org
URI    ldap://ldap.cgv.org ldaps://ldap.cgv.org:636


#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

# TLS certificates (needed for GnuTLS)
#TLS_CACERT     /etc/ssl/certs/ca-certificates.crt
TLSCACertificateFile    /etc/ssl/certs/GeoTrust_Global_CA.pem
TLSCertificateKeyFile   /etc/ssl/private/cgv.org.key
TLSCertificateFile      /etc/ssl/certs/cgv.org.2.crt

loglevel 2048



> S°
> 


MfG,
Lars Schimmer
-- 
-------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723



Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: