ScriptLookup plugin and Apostrophes being returned from LDAP
Has anyone dealt with apostrophes being returned in User Names from thier Directory Store? One of the default options in the Plugins.Properties file is to filter STDIN and STDOUT for characters that are "dangerous" to the shell. If I disable the STDOUT filtering, my custom attributes are processed properly but I am not sure if there is a better way.
I did try escapring the special character, but to not avail...
Here is the log entry I am talking about:
27 Dec 2011 08:41:08,236- Thread: 73 WARNING [com.vontu.lookup.script.ExecLauncher] The attributes below were stripped from the script arg list for std-out as they contain characters that are not permitted: [Manager Last Name=O'Leary, Manager Email=Ivan.O'Leary@company.com]
Any ideas?
Thanks,
Bob.
Comments
Hi Bob!
This could also occur when multiple lookup chains are in place. You should verify the list of parameters associated with the lookups, which are defined in the Plugins.properties file. However I think that the only way is to change the stdin and/or stdout values.
Regards,
Chopper
Would you like to reply?
Login or Register to post your comment.