OK there appears to be a typo in the sample ldap.kix script. Two lines are concatenated

There should be the function call and then three lines that begin with a question mark.

Include the UDF TranslateName() under these fours lines.

Execute the script using the command line "kix32.exe ldap.kix"

You should get three lines of output.

DN = ...
Error = ...
ErrorText = ...
_________________________
Home page: http://www.kixhelp.com/hb/