Testing LDAP Authentication with RJS VB Scripting - Support

Testing LDAP Authentication with RJS VB Scripting

From Support

Jump to: navigation, search

By downloading and installing the RJS VB Scripting Engine and the sample LDAP Script, the customer can work with RJS to troubleshoot the required user syntax needed to authenticate with an LDAP Server.

Downloading and Installing the RJS VB Scripting and Sample LDAP Script

RJS VB Scripting Engine Install

http://www.rjssoftware.com/files/rjsvbscript/rjsvbscript.exe

RJS LDAP Sample VB Script

http://www.rjssoftware.com/files/rjsvbscript/RJSLDAPAuthentication.bas

or use the attached file: Media:RJSLDAPAuthentication.exe

Place the file in C:\Program files\RJSVBSCRIPT


Testing the LDAP Script

1.) Launch the RJS Script Editor from the RJS VB scripting program group or by running C:\program files\RJSVBSCRIPT\rjsscripteditor.exe

2.) Open the RJSLDAPAuthentication.BAS script file.

3.) Look at the main() subroutine and make any required changes to the source for authenticating against your LDAP server.

Sample to authenticate to Microsoft Active Directory

rtn=RJSLDAPAuthenticate("1.1.1.1","user","password","DOMAIN",1)

Sample to authenticate to Regular LDAP server. User formatting common name

rtn=RJSLDAPAuthenticate("1.1.1.1","cn=user","password","*NONE",1)

Sample to Authenticate against Regular LDAP server - We auto format the cmmon name

rtn = RJSLDAPAuthenticate("1.1.1.1", "user", "password", "*CN", 1)

4.) Press F8 to step through the script to see if the LDAP information you are passing works correctly to authenticate against your MS Active Directory, Novell or other LDAP enabled directory.

Personal tools