Integrator - OpenLDAP - Password with special characters
Posted: Tue Jul 07, 2020 11:30 pm
We use Integrator's OpenLDAP to authenticate users with Active Directory.
For the most part this works great, but we are running into an issue with users that have passwords with special characters like a parentheses.
The character in the password seems to blowing up the command.
The auth code looks like, where DN is the distinguished name that has been looked up via the SAMAccountName.
Is there a way to escape the password or another way of dealing with password with special characters?
Thanks,
Joe
For the most part this works great, but we are running into an issue with users that have passwords with special characters like a parentheses.
The character in the password seems to blowing up the command.
The auth code looks like, where DN is the distinguished name that has been looked up via the SAMAccountName.
Code: Select all
#JSMXCMD := ('BIND HOST(&1) DN(&2) PASSWORD(&3)').Substitute( #LDAPServer #DN #wk_Password )
use builtin(JSMX_COMMAND) with_args(#JSMXHDLE #JSMXCMD) to_get(#JSMXSTS #JSMXMSG)
if (#COM_OWNER.Check( #JSMXSTS #JSMXMSG ) = False)
return
endif
Thanks,
Joe