Use sp_maplogin to map a client login. The syntax is:
sp_maplogin (extusername | NULL), (authentication_mech | NULL), (action | loginname | NULL )
where:
extusername is an external user name for the PAM library. It can be an Operating System user name, a user name from an LDAP server, any other user name the PAM library understands. If the user name is NULL, any longin name works.
authentication_mech is one of the values specified for the authenticate with option in sp_modifylogin. NULL means that any authentication mechanism can be used.
action is create login, loginname is the Adaptive Server login name that already exists in syslogins, or NULL designates the mapping should be exactly the same.