XNETDD(1M) K-AShare by Xinet (19 Dec 1996 8.4) XNETDD(1M)
NAME
xnetdd - Xinet's NET Doubler Daemon
SYNOPSIS
/usr/etc/appletalk/xnetdd [ -dlev|-D ] [ -a ] [ -l ] [ -o ] [ -Z zone ]
DESCRIPTION
This program services requests from NetDoubler Macintosh
clients when they are logged into K-AShare or FullPress
servers. NetDoubler for the Macintosh is available from
Asanté Technologies, Inc. Xnetdd must be run in conjunction
with the AppleShare server ksd(1m), and must be restarted
(or simply start another one) if ksd's server name or zone
list changes. Xnetdd is normally started from the AppleTalk
services file, /usr/etc/appletalk/services.
By default, xnetdd puts itself in the background, then looks
up the server name and zones that the local AFPServer has
registered with nbpd(1m), and registers both ADSP and TCP
NetDoubler service in the same set of zones. Any other
already-registered NetDoubler service on the local host will
be unregistered. It will not register itself for NetDoubler
service until an AFPServer is registered. After
registering, it writes a startup message into the
/usr/adm/appletalk/at_log file, where all xnetdd messages go
unless debugging options redirect them elsewhere.
OPTIONS
The following command-line options are supported:
-d lev
Turns on debugging for a subset of items. lev is a hex
bitmask. See table below for a listing of what bit
controls what debugging information.
-D Turns on ALL debugging and sends the messages to
standard error.
-a Run on the ADSP protocol only. This is useful if TCP
is not configured on your network. Without this
option, xnetdd will support both TCP and ADSP
protocols.
-l Turn off locking, a la ksd(1m). Don't use it.
-o One child mode, a la ksd(1m). By default, xnetdd
creates a new process to service new logins after a
small number of clients (usually 4) are logged in. The
-o option causes a new server to be created for each
login. This might be necessary to keep NFS delays for
one user from affecting others. Older processes will
terminate when the last user they are serving logs out.
Page 1 (printed 3/26/98)
XNETDD(1M) K-AShare by Xinet (19 Dec 1996 8.4) XNETDD(1M)
-Z zone
Up to 16 zones may be given on the command line with
the -Z option (a separate -Z is needed for each zone).
If specified, these zones override the zones in which
ksd(1m) has registered itself.
SIGNALS
Xnetdd responds to TERM, INT, HUP and USR1 signal(5)s. TERM
and INT cause it to unregister itself, cleanly close any
open files, and exit. It responds to HUP by continuing to
serve any logged-in users until they all log out, then it
exits (without unregistering itself). The USR1 signal
causes xnetdd to send a current user list and list of open
files to the at_log file (or stderr if debugging options
have chosen that debug path).
DEBUGGING
Hex bit The debug item it enables
00000001 Send debug text to stdout (instead of AppleTalk Log file)
00000002 Error messages (this should always be on)
00000004 AppleShare volume information
00000008 Access and locking in Open File Table
00000010 Locating and opening UNIX files
00000020 Setup and Socket info
00000040 Details about NetDoubler packets
00000080 High-level ADSP info
00000100 ADSP packet details
00000800 Info on generating FPOs (FullPress only)
00008000 C Source file and line where debug message comes from
00010000 PID of process logging the debug message
00020000 Date/Time that message is generated
00040000 Include the debug level in the message
SEE ALSO
ksd(1m), fpod(1m)
FILES
/usr/adm/appletalk/at_log
error and debug message log file
/usr/adm/appletalk/KASPubVols
public AppleShare volumes list
~/.KSVols
per-user volumes list
/usr/adm/appletalk/fiddb.new.*
AppleShare Server File/Directory ID database, used to
locate files.
Page 2 (printed 3/26/98)
XNETDD(1M) K-AShare by Xinet (19 Dec 1996 8.4) XNETDD(1M)
/usr/adm/appletalk/oft.AFPServerName.new.*
AppleShare Open File Database, keeps track of open
files and locking.
Page 3 (printed 3/26/98)