I'm try-ing on samba-2.2.x and samba-3.x, with tls or ssl support but didn't work and my machine says "Failed to issue the StartTLS instruction: Connect error" and this my conf : ldap admin dn = "cn=root,dc=langitan" ldap server = 127.0.0.1 ldap suffix = "dc=langitan" ldap port = 389 ldap ssl = start tls with compile options : ./configure \ --prefix=/usr/local/samba-2 \ --libdir=/usr/local/samba-2/etc/samba \ --with-lockdir=/var/lock/samba \ --with-privatedir=/usr/local/samba-2/etc/samba \ --with-ldapsam \ --with-quotas \ --with-smbmount \ --with-automount \ --with-libsmbclient \ --with-acl-support \ --with-included-popt \ --with-msdfs \ --disable-cups \ --with-utmp \ --with-spinlocks \ --with-smbwrapper