Package: smbldap-tools Version: 0.9.1-2 Severity: normal Tags: patch Hi,
I added/change the following to use LDAP + SSL: use Net::LDAPS; if (($config{ldapSSL} != 1) and ($config{ldapTLS} != 1)) { print "re\n"; $ldap_master = Net::LDAP->new( "$config{masterLDAP}", port => "$config{masterPort}", ) or die "LDAP error: Can't contact master ldap server ($@)"; } if ($config{ldapSSL} eq "1") { $ldap_master = Net::LDAPS->new( "$config{masterLDAPS}", port => "$config{masterPort}", verify => "$config{verify}", cafile => "$config{cafile}" ) or die "LDAP error: Can't contact master ldap server with SSL ($@)"; } with in /etc/smbldap-tools/smbldap.conf masterLDAPS="ldaps://myldapserver/" Thanks, Yann -- System Information: Debian Release: 3.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-drdb-1 Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8) Versions of packages smbldap-tools depends on: ii libcrypt-smbhash-perl 0.12-1 generate LM/NT hash of a password ii libdigest-sha1-perl 2.10-1 NIST SHA-1 message digest algorith ii libio-socket-ssl-perl 0.96-1 Class implementing an object orien ii libnet-ldap-perl 1:0.33-2 A Client interface to LDAP servers ii perl 5.8.4-8 Larry Wall's Practical Extraction smbldap-tools recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]