This parameter is only available if Samba has been configure to include the --with-ldapsam option at compile time. This option is used to control the tcp port number used to contact the . The default is to use the stand LDAPS port 636. ldap ssl 636if ldap ssl = on 389if ldap ssl = off