The purpose of the Server Logon Exit Program is to permit or deny logon access based on one or more of the following :
| Description | I/O | Type | Example |
|---|---|---|---|
| Application identifer | Input | Binary(4) | 1=FTP server program |
| User identifier | Input | Char(*) | From the data field of the client USER subcommand |
| Length of User identifier | Input | Binary(4) | |
| Authentication string | Input | Char(*) | From the data field of the client PASS subcommand |
| Length of Authentication string | Input | Binary(4) | |
| Client IP address | Input | Char(*) | |
| Length of Client IP address | Input | Binary(4) | |
| Return code | Output | Binary(4) |
0=Reject the logon operation 1=Continue the logon (USER, PASS from client; CWD from USRPRF) 2=Continue the logon (USER, PASS from client; CWD from application) 3=Continue the logon (USER, PASS from application; CWD from USRPRF) 4=Continue the logon (USER, PASS from application; CWD from application) 5=Continue the logon (USER from application; CWD from USRPRF; no PASS) 6=Continue the logon (USER from application; CWD from application; no PASS) |
| User Profile | Output | Char(10) | to override |
| Password | Output | Char(10) | to override |
| Initial current library | Output | Char(10) | to override |
FTP030