5.2.1 System-Supplied Server: AUTHSVR( )
You can use the AUTHSVR(5) server to provide individual client authentication for an application. The tpinit() function calls this server when the level of security for the application is TPAPPAUTH
.
The service in AUTHSVR
looks in the
data
field of the TPINIT
buffer for a
user password (not to be confused with the application password
specified in the passwd
field of the
TPINIT
buffer). By default, the system takes the
string in data
and searches for a matching string in
the /etc/passwd
file.
When called by a native-site client, tpinit()
forwards the data
field as it is received. This means
that if the application requires the password to be encrypted, the
client program must be coded accordingly.
When called by a Workstation client, tpinit()
encrypts the data before sending it across the network.
Parent topic: System-Supplied Server and Services