diff --git a/cme/modules/ldap-checker.py b/cme/modules/ldap-checker.py index e741af79..487bdd6e 100644 --- a/cme/modules/ldap-checker.py +++ b/cme/modules/ldap-checker.py @@ -37,6 +37,9 @@ class CMEModule: inputUser = connection.domain + '\\' + connection.username inputPassword = connection.password + if connection.password == '' and connection.nthash is not None: + context.log.debug("Using NT(LM) hash for authentication") + inputPassword = "aad3b435b51404eeaad3b435b51404ee:" + connection.nthash dcTarget = connection.conn.getRemoteHost() #Conduct a bind to LDAPS and determine if channel