server.dat(4) CLIX server.dat(4)
NAME
server.dat - XNS server information file
DESCRIPTION
The /usr/ip32/inc/server.dat file contains information about Xerox Network
System (XNS) servers on the local machine. The server.dat file allows
client and server programs to be linked together. The sernum and server
arguments to the sni_connect() function are used to access the proper
server entry in server.dat.
Every server started by the xns_listener command has one entry in
server.dat. Each entry in server.dat has four fields. Each field is
delimited by an exclamation point (!), with the first and the last
character of the entry also containing an exclamation point. Each entry
contains the following information:
⊕ server number
⊕ flags
⊕ server path and arguments
⊕ default login name
The server number is a value from 0-32767, inclusive, which corresponds to
sernum. The flags allow the xns_listener to control access to a server.
The following flags are supported:
U Require username.
P Require password.
D Use default username.
N Disallow null passwords.
If a username or a password is required, the xns_listener will not start
the server unless sni_connect() gives a proper username and/or password.
If the flags specify a default username, the default login name is used.
If sni_connect() specifies a sernum of 0, the server argument is used as
the path to the server. Otherwise, the server path in the server.dat file
is used.
EXAMPLES
The following is an example of a server.dat file:
!0!UP!!!
!6!UP!/usr/ip32/inc/fmus!!
2/94 - Intergraph Corporation 1
server.dat(4) CLIX server.dat(4)
!7!D!/usr/ip32/inc/rtape_s!root!
!1000!D!/usr/joe/sni/server!joe!
FILES
/usr/ip32/inc/server.dat Server list.
NOTES
Server number 0 can be useful for debugging.
The xns_listener reads server.dat every time a server is started. It does
not need to be restarted to know about new server entries.
CAUTIONS
Intergraph reserves server numbers 0-999.
RELATED INFORMATION
Commands: xns_listener(8)
Functions: sni_connect(3), sni_accept(3)
CLIX Programming Guide
2 Intergraph Corporation - 2/94