I am configuring TLS with Active Directory on port 3269 but the TLS negotiation has fail. Here the sample of my configuration.
mavis module = external {
setenv LDAP_SERVER_TYPE = "microsoft"
setenv LDAP_SCOPE = sub
setenv LDAP_BASE = "DC=ericsson,DC=se"
setenv LDAP_FILTER = "(&(objectclass=user)(sAMAccountName=%s))"
setenv LDAP_PASSWD = xxxxxxxxx
setenv AD_GROUP_PREFIX = tacacs-
setenv USE_TLS = 1
# setenv USE_TLS = 0
here is the output of the test
Input attribute-value-pairs:
TYPE TACPLUS
TIMESTAMP mavistest-3110-1436731092-0
USER xxxxx
PASSWORD xxxxxx
TACTYPE AUTH
Output attribute-value-pairs:
TYPE TACPLUS
TIMESTAMP mavistest-3110-1436731092-0
USER xxxx
RESULT ERR
PASSWORD xxxxx
SERIAL 2UkqyvaTJprvK+FQRtLqHw=
USER_RESPONSE TLS negotiation failed.
TACTYPE AUTH
However when I test with ldapsearch command, it works fine after I add this statement "TLS_REQCERT allow" in /etc/ldap/ldap.conf