Authentication Method
- Last Updated: January 3, 2025
- 1 minute read
- DataDirect Connectors
- ODBC
- Documentation
Authentication Method
Attribute
AuthenticationMethod (AM)
Purpose
Specifies the method the driver uses to authenticate the user to the server when a connection is established. If the specified authentication method is not supported by the database server, the connection fails and the driver generates an error.
Valid Values
0 | 1 | 4
Behavior
If set to 0 (No Encryption), the driver sends the user ID
and password in clear text to the server for authentication.
If set to 1 (Encrypt Password), the driver negotiates a
secure login with the database server by sending an encrypted password. The password is
encrypted using Sybase Extended Password Encryption, Sybase Extended Plus Encrypted
Password, or Sybase proprietary encryption, depending on the response by the server. Note
that the proprietary Sybase password must contain characters from the 7-bit ASCII set.
If set to 4 (Kerberos Authentication), the driver uses
Kerberos authentication. This method supports both Windows Active Directory Kerberos and MIT
Kerberos environments.
If the specified authentication method is not supported by the database server, the connection fails and the driver generates an error.
Notes
-
Sybase Extended Password Encryption and Sybase Extended Plus Encrypted Password, which use an asymmetrical key type, provide stronger password encryption for the secure transmission of public key passwords over networks than the proprietary encryption.
Default
0 (No Encryption)