first try

This commit is contained in:
Mircea Troaca 2018-11-05 16:15:56 +02:00
parent 5c8551e511
commit d896782fc9
2 changed files with 4 additions and 2 deletions

View File

@ -1269,11 +1269,10 @@ register_rule(group,
allow_empty = False, allow_empty = False,
size = 60, size = 60,
), ),
Password( IndividualOrStoredPassword(
title = _("Password"), title = _("Password"),
help = _("Password for binding, if your server requires an authentication"), help = _("Password for binding, if your server requires an authentication"),
allow_empty = False, allow_empty = False,
size = 20,
) )
] ]
) )

View File

@ -24,6 +24,9 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, # to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA. # Boston, MA 02110-1301 USA.
import cmk.password_store
cmk.password_store.replace_passwords()
def check_ldap_arguments(params): def check_ldap_arguments(params):
name, basedn, settings = params name, basedn, settings = params