Enhanced login controls  Mapping logins using sp_maplogin

Chapter 16: External Authentication

Forcing authentication

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

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 sp_modifylogin:

sp_modifylogin "nightlyjob", "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: 6
Maximum failed logins: 0 
Current failed login attempts:
Authenticate with: ASE




Copyright © 2005. Sybase Inc. All rights reserved. Mapping logins using sp_maplogin

View this book as PDF