OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

2.1.1 Implementing user authentication

Before requesting a service from TP1/Client to TP1/Server, you need to let the CUP execute the dc_clt_cltin_s function. Specify the user name and password to authenticate the user for receiving services from TP1/Server.

This server authenticates the client user based on the OpenTP1 security server or user management information for UNIX, Windows NT or Windows 2000.

To use user authentication, preparation is required on the server side. The preparation differs depending on whether the security server is used.

When the security server is used for authentication:
Register the user name, group name, and password in the OpenTP1 registry.

When you want to use the same authentication as for a login to the system where TP1/Server is running without using the security server:
Client user authentication is performed based on the user management information. In a UNIX system, register the login name and password in /etc/passwd. In a Windows NT 4.0 system or Windows 2000 system, use User Manager to register the users.

Note that when client_uid_check=N is specified in the system common definition of TP1/Server, the users not registered in the user management information can also be authenticated.

In a Windows environment, more than one CUP can run concurrently. Therefore, user authentication is required for each CUP. To perform user authentication for each CUP, TP1/Client provides API functions for user authentication. Before a CUP executes the dc_rpc_open_s function, the CUP executes the dc_clt_cltin_s function to be permitted to execute dc_rpc_open_s.