Minor change to LDAP message

Improved error message on CRSF
This commit is contained in:
Luca Deri 2016-02-14 23:46:43 +01:00
parent 77e292a9c0
commit 32202df9f7
2 changed files with 6 additions and 3 deletions

View file

@ -132,7 +132,7 @@ if (ntop.isPro()) then
ldap_server = "ldap://localhost:389"
ntop.setCache("ntopng.prefs.ldap.server", ldap_server)
end
prefsInputFieldWithParamCheck("LDAP Server Address", "IP address of LDAP server. Default: \"ldap://localhost:389\".", "ntopng.prefs.ldap", "server", ldap_server, "text", js_body_funtion_script)
prefsInputFieldWithParamCheck("LDAP Server Address", "IP address and port of LDAP server (e.g. ldaps://localhost:636). Default: \"ldap://localhost:389\".", "ntopng.prefs.ldap", "server", ldap_server, "text", js_body_funtion_script)
local ldap_bind_dn = ntop.getCache("ntopng.prefs.ldap.bind_dn")
if(ldap_bind_dn == nil) then ldap_bind_dn = "" end
prefsInputFieldWithParamCheck("LDAP Bind DN", "Bind Distinguished Name of LDAP server. Example: \"CN=ntop_users,DC=ntop,DC=org,DC=local\".", "ntopng.prefs.ldap", "bind_dn", ldap_bind_dn, "text", nil)