Configuring the Driver
- Last Updated: May 15, 2020
- 2 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
The product provides the following NTLM authentication DLLs:
- DDJDBCAuthxx.dll (32-bit)
- DDJDBC64Authxx.dll (Itanium 64-bit)
- DDJDBCx64Authxx.dll (AMD64 and Intel EM64T 64-bit)
where xx is a two-digit number.
The DLLs are located in the install_dir/lib directory (where install_dir is
your product installation directory). If the application using NTLM authentication is
running in a 32-bit JVM, the driver automatically uses DDJDBCAuthxx.dll. Similarly,
if the application is running in a 64-bit JVM, the driver uses DDJDBC64Authxx.dll or
DDJDBCx64Authxx.dll.
To configure the driver:
-
Set the AuthenticationMethod property to
autoorntlm. See Using the AuthenticationMethod Property for more information about setting a value for this property. -
By default, the driver looks for the NTLM authentication DLLs in a directory on the
Windows system path defined by the PATH environment variable. If you install the driver in
a directory that is not on the Windows system path, perform one of the following actions
to ensure the driver can load the DLLs:
- If using NTLM authentication with a Security Manager on a Java Platform, security permissions must be granted to allow the driver to establish connections. See Permissions for Kerberos Authentication for an example.