Forcing authentication

You can force a login to use a specific authentication process by using these parameters for alter login and create login:

Adaptive Server checks for external authentication mechanisms in the following order:

  1. LDAP.

  2. Pluggable Authentication Modules (PAM). If both LDAP and PAM are enabled, PAM authentication is never attempted for a user.

  3. If neither PAM nor LDAP is enabled, Adaptive Server uses syslogins to authenticate the login.

Login accounts such as “sa” continue to be validated using the syslogins catalog. Only the SSO role can set authenticate for a login.

For example, the following authenticates the login with alter login:

alter login nightlyjob modify authenticate with ASE 
sp_displaylogin "nightlyjob"

Displays output similar to:

Suid: 1234
Loginname: nightlyjob
Fullname: Batch Login
Default Database: master
. . .
Date of Last Password Change: Oct 2 2003 7:38 PM
Password expiration interval: 0
Password expired: N
Minimum password length: 
Maximum failed logins: 0 
Current failed login attempts:
Authenticate with: ASE