Hi, I had problem with smbldap-tools (version 0.9.4-1 on Debian Lenny) too, when I tried to use it with tls/ldaps. I wanted to use smbldap-tools towards a server, where only ldaps connection is available from outside, on port 636 (locally I use port 389 without tls). I tried the ldapTLS="1" parameter, but I got the error message: Can't contact LDAP server at /usr/share/perl5/smbldap_tools.pm line 801. It turned out that in smbldap-tools.pm the Net::LDAP->new doesn't use the scheme parameter. When I added scheme="ldaps" ldapTLS="0" to the smbldap.conf, and scheme => "$config{scheme}" to the LDAP initialization (every occurence) in smbldap-tools.pm, it worked. In this case, with ldapTLS="1", I got a warning, but worked too.
Greetings, Tamas.