A UNIX example:
AuthTrans fn=proxy-auth auth-type=basic dbm=/usr/ns-home/proxy-EXAMPLE/userdb/rs A Windows NT example: AuthTrans fn=proxy-auth auth-type=basic userfile=\\netscape\\server \\proxy-EXAMPLE\\.htpasswd grpfile=\\netscape\\server \\proxy-EXAMPLE\\.grpfile |
You can have a user-provided function perform authentication by passing the user-fn parameter to the proxy-auth function.
AuthTrans fn=proxy-auth auth-type=basic user-fn=your function userdb=full path name
The following table describes the parameter values for the user provided proxy-auth function.
Table 5–32 user provided proxy-auth parameter values
Value |
Description |
---|---|
user-fn |
Specifies the name of the user-provided function that to be used to perform authentication in place of the built-in authentication. If authentication succeeds, the function should return REQ-PROCEED and if authentication fails, it should return REQ-NOACTION. |
userdb |
Specifies the full path and base file name of the user database in the server’s native format. The native format is a system DBM file, which is a hashed file format allowing instantaneous access to large numbers of users. |