HP (Hewlett-Packard) LCS60 Printer User Manual


 
Appendix A
srvtab
Modifications to the Server Table
The server table is opened each time a call request is received from the data
switch node. Opening the server table for each incoming call allows the adminis-
trator to make modifications that will take effect on the next incoming call. There
is no need to restart the server after modifications to the table.
Server Table Validation and Matching
Since /etc/opt/dk/srvtab is a directory, the file corresponding to the requested ser-
vice is examined. If that file does not exist, the wild card file * is used. Call
requests are denied with an access denied [see dkerr(3x)] rejection code if the end
of the table is reached before a match occurs. All lines containing a # character in
the first column and all lines without the proper number of fields are ignored.
Following the format validation of a server line, three comparisons are made
with the call request information:
1 . The requested service is compared to the service specified in the server
table entry. If the services do not match, the scan moves on to the next line
of the server table.
2 . The originating group for the call is then compared against the
originating-group pattern in the server table entry according to the rules
specified in the System Field section. If the originating group fails the
check, the scan moves on to the next line.
3 . Finally, the originating user ID contained in the call request information is
processed by the method specified in the user field of the server table
entry. If the user ID processing results in an invalid user ID on the called
host, the scan moves on to the next line.
The first server table line that passes all the specified tests is considered a match.
When a match occurs, the call is accepted and the program specified in the server
table entry is invoked with the appropriate arguments according to the server
table flags.
Issue 3 A-9