mars_nwe-0.97.pl04
This commit is contained in:
@@ -1,57 +1,64 @@
|
||||
/* config.h: 03-May-96 */
|
||||
/* some of this config is needed by make, others by cc */
|
||||
#define DO_DEBUG 1 /* Compile in debug code */
|
||||
/* config.h: 13-May-96 */
|
||||
/* some of this config is needed by make, others by cc */
|
||||
|
||||
#define DO_DEBUG 1 /* compile in debug code */
|
||||
|
||||
#define DO_TESTING 0 /* set this to "1" to test only */
|
||||
|
||||
#define DO_TESTING 0 /* only for the next choose */
|
||||
#if DO_TESTING
|
||||
# define FILENAME_NW_INI "./nw.ini" /* full name of ini (conf) file */
|
||||
# define PATHNAME_PROGS "." /* path location of progs */
|
||||
# define PATHNAME_BINDERY "." /* path location of bindery */
|
||||
# define FILENAME_NW_INI "./nw.ini" /* full name of ini (conf) file */
|
||||
# define PATHNAME_PROGS "." /* where to find the executables */
|
||||
# define PATHNAME_BINDERY "." /* directory for bindery-files */
|
||||
# define FUNC_17_02_IS_DEBUG 1
|
||||
#else
|
||||
# define FILENAME_NW_INI "/etc/nwserv.conf" /* full name of ini (conf) file */
|
||||
# define PATHNAME_PROGS "/sbin" /* path location of progs */
|
||||
# define PATHNAME_BINDERY "/etc" /* path location of bindery */
|
||||
# define FILENAME_NW_INI "/etc/nwserv.conf"
|
||||
/* full name of ini (conf) file */
|
||||
# define PATHNAME_PROGS "/sbin" /* where to find the executables */
|
||||
# define PATHNAME_BINDERY "/etc" /* directory for bindery-files */
|
||||
# define FUNC_17_02_IS_DEBUG 0
|
||||
#endif
|
||||
#define PATHNAME_PIDFILES "/var/run" /* path location of 'pidfiles' */
|
||||
|
||||
/* next for utmp/wtmp updates */
|
||||
#define FILENAME_UTMP UTMP_FILE
|
||||
/* can be set NULL if you don't want utmp/wtmp updates */
|
||||
#define FILENAME_WTMP WTMP_FILE
|
||||
/* can be set NULL if you don't want wtmp updates */
|
||||
#define PATHNAME_PIDFILES "/var/run" /* directory for 'pidfiles' */
|
||||
|
||||
#define NETWORK_SERIAL_NMBR 0x44444444L /* Serial Number 4 Byte */
|
||||
#define NETWORK_APPL_NMBR 0x2222 /* Applikation Number 2 Byte */
|
||||
/* ----- logging the logins via "mars_nwe" in utmp/wtmp ------------------ */
|
||||
#define FILENAME_UTMP UTMP_FILE /* use "NULL" instead of UTMP_FILE */
|
||||
/* to disable logging via utmp */
|
||||
#define FILENAME_WTMP WTMP_FILE /* use "NULL" instead of WTMP_FILE */
|
||||
/* to disable logging via wtmp */
|
||||
|
||||
#define MAX_CONNECTIONS 5 /* max. Number of Connections */
|
||||
/* must be < 256 !!! */
|
||||
#define NETWORK_SERIAL_NMBR 0x44444444L
|
||||
/* serial number (4 byte) */
|
||||
#define NETWORK_APPL_NMBR 0x2222 /* application number (2 byte) */
|
||||
|
||||
#define IPX_DATA_GR_546 1 /* allow ipx packets > 546+30 Byte */
|
||||
#define MAX_CONNECTIONS 5 /* max. number of simultaneous */
|
||||
/* connections handled by mars_nwe */
|
||||
|
||||
/* <-----------------------------------------------------------> */
|
||||
#define MAX_NW_VOLS 10 /* max. Volumes */
|
||||
#define MAX_FILE_HANDLES_CONN 80 /* max. open files /connection */
|
||||
#define IPX_DATA_GR_546 1 /* allow ipx packets > 546+30 Byte */
|
||||
|
||||
/* <--------------- new namespace services call --------------> */
|
||||
#define WITH_NAME_SPACE_CALLS 1 /* Namespace Calls are only minimal */
|
||||
/* supported till now. */
|
||||
/* to enable testing of them this */
|
||||
/* entry must be changed to '1' and */
|
||||
/* entry '6' in ini file must be set */
|
||||
/* to > '0', too. */
|
||||
#define MAX_DIR_BASE_ENTRIES 50 /* max. cached base entries/connection */
|
||||
/* <-----------------------------------------------------------> */
|
||||
#define MAX_NW_SERVERS 40 /* max. count of servers */
|
||||
/* <--------------------------------------------------------------------> */
|
||||
#define MAX_NW_VOLS 10 /* max. number of mars_nwe-volumes */
|
||||
#define MAX_FILE_HANDLES_CONN 80 /* max. number of open files per */
|
||||
/* connection */
|
||||
/* <--------------- new namespace services call -----------------------> */
|
||||
#define MAX_DIR_BASE_ENTRIES 50 /* max. cached base entries per */
|
||||
/* connection */
|
||||
#define WITH_NAME_SPACE_CALLS 0 /* Namespace Calls are only minimal */
|
||||
/* supported so far. */
|
||||
/* To enable testing of them this */
|
||||
/* entry must be changed to '1' and */
|
||||
/* entry '6' in ini file should be set*/
|
||||
/* to > '0', too. */
|
||||
/* <--------------------------------------------------------------------> */
|
||||
#define MAX_NW_SERVERS 40 /* max. number of nw-servers on your */
|
||||
/* network */
|
||||
|
||||
/* <--------------- next is for linux only -------------------> */
|
||||
#define INTERNAL_RIP_SAP 1 /* use internal/own rip/sap routines */
|
||||
/* <--------------- next is for linux only ----------------------------> */
|
||||
#define INTERNAL_RIP_SAP 1 /* use internal/own rip/sap routines */
|
||||
/* -------------------- */
|
||||
#define MAX_NET_DEVICES 5 /* max. Netdevices, frames */
|
||||
#define MAX_NW_ROUTES 50 /* max. networks (internal + external) */
|
||||
#define MAX_RIP_ENTRIES 50 /* max. rip responses */
|
||||
#define MAX_NET_DEVICES 5 /* max. Netdevices, frames */
|
||||
#define MAX_NW_ROUTES 50 /* max. nw-networks on your network */
|
||||
/* (internal + external) */
|
||||
#define MAX_RIP_ENTRIES 50 /* max. rip responses */
|
||||
/* -------------------- */
|
||||
#define SHADOW_PWD 0 /* change to '1' for shadow passwds */
|
||||
|
||||
#define SHADOW_PWD 0 /* change to '1' for shadow passwds */
|
||||
|
||||
|
||||
465
examples/nw.ini
465
examples/nw.ini
@@ -1,133 +1,310 @@
|
||||
# (C)opyright 1993, 1996, Martin Stover, Softwareentwicklung, Marburg
|
||||
# last change: 28-Apr-96
|
||||
# MAR.S NW-Server Emulator
|
||||
# Einfache Konfiguration, alles ab # ist Kommentar.
|
||||
# Jeder Eintrag beginnt mit einer Zahl und dann folgt der Inhalt.
|
||||
# simple configuration, all after # is ignored.
|
||||
# every entry begins with a number and then the meet follows.
|
||||
####################################
|
||||
# entry 1 VOLUMES (max. volumes depend on your config.h)
|
||||
# Volumename Volumepath Options (k=lowercase,p=pipe,m=removable)
|
||||
1 SYS /u3/SYS/ # SYS 1
|
||||
# SYS, der Name darf auch anders lauten, muss
|
||||
# eingerichtet sein mit den folgenden Verzeichnissen:
|
||||
# LOGIN, PUBLIC, SYSTEM, MAIL.
|
||||
# SYS, may be named diffent but must be setup and must
|
||||
# contains the following Directories: LOGIN, PUBLIC, SYSTEM, MAIL
|
||||
####################################
|
||||
# Die folgenden Volumes sind optional.
|
||||
# the following volumes are optional.
|
||||
#1 HOME ~ k # Users HOME directory
|
||||
#.............^^^
|
||||
# such a 'path' (~) stands for users home dir
|
||||
# this is an automatic changed volume.
|
||||
#1 SYS1 /u3/SYS1/ # SYS 2 upshift
|
||||
#1 TMP /tmp/ k # TMP downshift
|
||||
#1 CD /cdrom km # CDROM downshift/removable
|
||||
#1 PIPES /u3/pipes kp # pipecommands
|
||||
# Falls lowercase nicht gesetzt ist, werden GROSSBUCHSTABEN erwartet.
|
||||
# If lowercase is not set then all filenames are upshift.
|
||||
# all flags for volumes:
|
||||
# 'k' all is downshift
|
||||
# 'm' volume is moveable (cdrom)
|
||||
# 'o' volume has only one filesystem/device/namespace
|
||||
# this is for filesystems with high inode > 0xFFFFFFF.
|
||||
# because for namespace services mars_nwe normally use the
|
||||
# first 4 bit of 32 bit inode for distinguish
|
||||
# between several devices/namespaces for one volume.
|
||||
# 'p' 'PIPE' filesystem. All files are pipe commands.
|
||||
# see 'doc/PIPE-FS'
|
||||
######################################
|
||||
# Eintrag 2 fuer den Servername.
|
||||
# falls nicht gesetzt, wird hostname (in GROSSBUCHSTABEN) verwendet.
|
||||
# entry 2 for the servername. If not set, then the hostname (upshift)
|
||||
# will be taken.
|
||||
#2 MAR1 # Servername
|
||||
######################################
|
||||
# next entry for configure mars_nwe to use the internal net
|
||||
#
|
||||
# This is the configuration-file for "mars_nwe", the free netware-emulator
|
||||
# for Linux.
|
||||
#
|
||||
# last change: 13-May-96
|
||||
#
|
||||
# Syntax of this config-file:
|
||||
# - everything after the "#" is ignored, so it is used to
|
||||
# make comment-lines
|
||||
# - entries _must_ begin with a number, indicating the section
|
||||
# they belong to
|
||||
# - hexadecimal values are prepended with "0x"
|
||||
#
|
||||
# All examples are verbatim.
|
||||
|
||||
|
||||
# Section 1: volumes (required)
|
||||
#
|
||||
# In this section you list all directories accessible via "mars_nwe".
|
||||
# To be more specific: a mapping from Linux-directories to mars_nwe-volumes
|
||||
# is done. (Volumes are the beasts you can map to drive letters under DOS
|
||||
# using "map.exe").
|
||||
#
|
||||
# Linux-directory mars_nwe-volume map.exe DOS-Drive
|
||||
# /var/local/nwe/SYS -------> SYS -------------> W:
|
||||
#
|
||||
# More than one entry is possible in this section.
|
||||
# The maximum number of volumes is a compile-time option that must be
|
||||
# specified in `config.h' before compiling mars_nwe.
|
||||
#
|
||||
# Please note that at least the volume "SYS" must be defined and it must
|
||||
# contain the following sub-directories: LOGIN, PUBLIC, SYSTEM, MAIL.
|
||||
# See the installation-instructions in the doc-directory for more infos.
|
||||
#
|
||||
# Syntax:
|
||||
# 1 VOLUMENAME DIRECTORY OPTIONS
|
||||
#
|
||||
# VOLUMENAME: the name of the mars_nwe-volume (max. 8 characters)
|
||||
# DIRECTORY: the directory on your Linux-system associated with that
|
||||
# volume; use the special name "~" to refer to the users
|
||||
# individual home-directory
|
||||
#
|
||||
# OPTIONS: none or some of the following characters (without a seperator)
|
||||
# k allow lowercase-filenames (if you don't set this, all
|
||||
# files _must_ be upper-case)
|
||||
# m removable volume (e.g. cd-roms)
|
||||
# o volume has only one filesystem/device/namespace
|
||||
# this is for filesystems with high inode > 0xFFFFFFF.
|
||||
# because for namespace services mars_nwe normally use the
|
||||
# first 4 bit of 32 bit inode to distinguish
|
||||
# between several devices/namespaces for one volume.
|
||||
# p "PIPE"-filesystem. All files are pipe commands.
|
||||
# See `doc/PIPE-FS'.
|
||||
# r readonly volume. Free disk space will also return 0.
|
||||
#
|
||||
# examples:
|
||||
1 SYS /u3/SYS/ # SYS upper-case filenames
|
||||
1 CDROM /cdrom km # lowercase filenames, removable
|
||||
1 HOME ~ k # users HOME directory, lowercase
|
||||
|
||||
|
||||
# Section 2: servername (optional)
|
||||
#
|
||||
# The servername is the name under which this server will show up when
|
||||
# using tools like "slist" (server-list).
|
||||
#
|
||||
# If you don't supply an entry for this section, the hostname of your
|
||||
# Linux-machine will be converted to all-uppercase and used as the servername.
|
||||
#
|
||||
# Syntax:
|
||||
# 2 SERVERNAME
|
||||
#
|
||||
# SERVERNAME: a name for this nw-server
|
||||
#
|
||||
# Example:
|
||||
# 2 MARS
|
||||
|
||||
|
||||
# Section 3: Number of the internal network
|
||||
# If you have mars_nwe V > 0.96pl5 and a kernel >= 1.3.60
|
||||
# or the small ipx-kpatch from the examples dir you should use
|
||||
# internal net and routing.
|
||||
# NOTE: the internal NET Number must be UNIQUE
|
||||
# in your IPX-environment. !
|
||||
# INTERNAL NET [NODE] (default 1)
|
||||
3 0xABCDEF99 1 # Net Number must be unique.
|
||||
######################################
|
||||
# entry 4: # for DEVICE(S)
|
||||
#
|
||||
# NOTE: the internal net number must be _unique_ in your IPX-environment!
|
||||
#
|
||||
# Syntax:
|
||||
# 3 INTERNAL_NET [NODE]
|
||||
#
|
||||
# INTERNAL_NET: AUTO or 0 for using the ip number as INTERNAL_NET
|
||||
#
|
||||
# NODE: 1 (optional)
|
||||
#
|
||||
# Examples:
|
||||
# 3 0xABCDEF99 # use a unique number
|
||||
3 AUTO # use ip number as INTERNAL_NET
|
||||
|
||||
|
||||
# Section 4: IPX-devices (optional)
|
||||
#
|
||||
# NOTE for people with other IPX/NCP servers on the net:
|
||||
# Your network numbers, frames must be the same as at your
|
||||
# other servers on the same net.
|
||||
# You also may choose a network number = '0', device = '*'
|
||||
# and frame = 'auto' for autosetup of devices.
|
||||
#
|
||||
# NETWORK NUMBER, DEVICE, Frame-Typ TICKS (default 1)
|
||||
4 0x10 eth0 802.3 1
|
||||
4 0x0 * AUTO 1 # autosetup all devices
|
||||
# ^^^^...........^^^....^^^^^^^
|
||||
# NOTE: autosetup can only be choosen if you have other
|
||||
# IXP/NCP servers on the same net which are setup correctly.
|
||||
######
|
||||
#4 0x22 eth0 ethernet_ii 1
|
||||
#4 0x33 eth0 802.2 1
|
||||
#4 0x55 isdn2 ethernet_ii 7
|
||||
#4 0x66 tr0 token 1
|
||||
# Frames=ethernet_ii, 802.2, 802.3, snap, token, auto, (default 802.3),
|
||||
5 0 # don't = 0, do = 1, save ipx-routes after server is down.
|
||||
######################################
|
||||
# some clients are running better, if the server tells
|
||||
# that it is a 3.11 Server, although many calls
|
||||
# (namespace services) of a real 3.11 Server are missing yet.
|
||||
# simple namespace services are implemented for testing
|
||||
# since V 0.96pl8. To test them, this entry must be set to > 0.
|
||||
# and config.h must be altered to compile in namespace calls.
|
||||
6 0 # tells server version: 0=2.15, 1=3.11, 2=3.12
|
||||
######################################
|
||||
# Password handling
|
||||
7 0 # 0 = use only encrypted passwords stuff (default)
|
||||
# 1 = allow the unencrypted change password routine.
|
||||
# 7 = allow all unencrypted stuff, no empty nwe passwords.
|
||||
# 8 = allow all unencrypted stuff, allow empty nwe passwords.
|
||||
# 9 = use all unencryted calls + get crypt key will allways fail
|
||||
# so the login program will use the old unencryted calls.
|
||||
# this will *not* work with all clients !! (OS2/client)
|
||||
######################################
|
||||
# GID and UID for _minimal_ rights
|
||||
# will be used for not logins or not assigned mars_nwe users.
|
||||
10 200 # GID
|
||||
11 201 # UID
|
||||
######################################
|
||||
# the following passwords should be removed after the first
|
||||
# start, because these entries will be inserted (crypted) into
|
||||
# the bindery. If you specify a password here, then this password
|
||||
# will be put into bindery after every start of mars_nwe.
|
||||
# one entry 12 for SUPERVISOR
|
||||
## NW-Name UNIX-Name [PASSWORD]
|
||||
12 SUPERVISOR root MYPW # Supervisor
|
||||
#############################
|
||||
# more entries 13 for other user(s)
|
||||
## NW-Name UNIX-Name [PASSWORD]
|
||||
#13 MAR mar # others
|
||||
#13 ALF mar # others
|
||||
#####
|
||||
# Read UnixUsers automaticly from passwd into bindery
|
||||
# switch password
|
||||
15 0 secure11
|
||||
# ^^^ 0=off (default), 1=on, 99=overwrite existing mars_nwe users.
|
||||
# Syntax:
|
||||
# 4 NET_NUMBER DEVICE FRAME TICKS
|
||||
#
|
||||
# NET_NUMBER:
|
||||
# DEVICE: the network-interface associated with the NET_NUMBER
|
||||
# FRAME:
|
||||
# ethernet_ii
|
||||
# 802.2
|
||||
# 802.3 (default)
|
||||
# snap
|
||||
# token
|
||||
# auto
|
||||
# TICKS: ethernet: 1, isdn: 7
|
||||
#
|
||||
# Examples:
|
||||
4 0x10 eth0 802.3 1
|
||||
# Automatic setup:
|
||||
4 0x0 * AUTO 1
|
||||
#
|
||||
# NOTE: autosetup only works if there are other IXP/NCP servers on
|
||||
# the same net which are setup correctly, that means: tells us the required
|
||||
# information about netnumber and frame.
|
||||
|
||||
|
||||
# Section 5: Saving of ipx-routes (optional)
|
||||
#
|
||||
# This entry controls if the information regarding the ipx-routes should be
|
||||
# saved beyond the livetime of the server.
|
||||
# You can achieve a small speedup when starting mars_nwe by using this entry.
|
||||
#
|
||||
# Syntax:
|
||||
# 5 SAVE_FLAG
|
||||
#
|
||||
# SAVE_FLAG:
|
||||
# 0 don't save routes (default)
|
||||
# 1 do save routes
|
||||
# Example:
|
||||
5 0
|
||||
|
||||
|
||||
# Section 6: version-spoofing
|
||||
#
|
||||
# Some clients work better if the server tells that it is a 3.11 Server,
|
||||
# although many calls (namespace services) of a real 3.11 Server are
|
||||
# missing yet.
|
||||
# To test the namespace calls, this entry must be set to > 0 and `config.h'
|
||||
# must be altered before compiling "mars_nwe".
|
||||
#
|
||||
# Syntax:
|
||||
# 6 SERVER_VERSION
|
||||
#
|
||||
# SERVER_VERSION:
|
||||
# 0 Version 2.15
|
||||
# 1 Version 3.11
|
||||
# 2 Version 3.12 (not implemented yet)
|
||||
6 0
|
||||
|
||||
|
||||
# Section 7: password handling (required)
|
||||
# When changing your "mars_nwe"-password from a DOS-client, this client
|
||||
# (think of "LOGIN.EXE", "SYSCON.EXE" or "SETPASS.EXE") can encrypt your
|
||||
# password before sending it to the "mars_nwe"-server (this improves
|
||||
# security a little bit).
|
||||
# In this section you can enforce encryption of user-passwords or allow
|
||||
# not-encrypted sending of passwords over the net.
|
||||
# On the Linux-side, passwords will only be stored in encrypted format.
|
||||
#
|
||||
# Syntax:
|
||||
# 7 FLAG
|
||||
#
|
||||
# FLAG:
|
||||
# 0 use only encrypted passwords stuff.
|
||||
# the encrypted change password call is not
|
||||
# implemented till now, so if you choose this option
|
||||
# you will not be able to change passwords from
|
||||
# client size.
|
||||
# 1 allow the unencrypted change password routine (default).
|
||||
# You can use mars_dosutils or an old 2.15 setpass program.
|
||||
#
|
||||
# 7 allow all unencrypted stuff, no empty nwe passwords.
|
||||
# 8 allow all unencrypted stuff, allow empty nwe passwords.
|
||||
# 9 use all unencryted calls + get crypt key will allways fail
|
||||
# so the login program will use the old unencryted calls.
|
||||
# this will *not* work with all clients !! (OS2/client)
|
||||
7 1
|
||||
|
||||
|
||||
# Section 10 + 11 : UID and GID with minimal rights
|
||||
#
|
||||
# When loading the netware-drivers in the "autoexec.bat" of your
|
||||
# DOS-client, you automatically "attach" to a netware-server.
|
||||
# As a result, a new drive-letter is accessible under DOS, usally
|
||||
# containing the programs "login.exe" and "slist.exe".
|
||||
# Because you haven't logged in, nothing else of the netware-server
|
||||
# will be visible to you. All actions requested from the DOS-client
|
||||
# will be done with the following UID and GID on the Linux-side in this
|
||||
# case.
|
||||
# To achieve some level of security, the user/group asscociated with
|
||||
# the UID and GID should only have _read_ rights on the files visible,
|
||||
# _nothing_ else.
|
||||
#
|
||||
# On most Linux-systems, there is a user and group "nobody" defined in
|
||||
# `/etc/passwd' and `/etc/group'. Use the number of that user/group
|
||||
# for the following entries.
|
||||
#
|
||||
# Syntax:
|
||||
# 10 GID
|
||||
# 11 UID
|
||||
# Example:
|
||||
# 10 65534
|
||||
# 11 65534
|
||||
#
|
||||
# GID numeric number of the group
|
||||
# UID numeric number of the user
|
||||
10 65534
|
||||
11 65534
|
||||
|
||||
|
||||
# Section 12: supervisor-login (required)
|
||||
#
|
||||
# The "supervisor" of a nw-server is much like "root" on the Linux-side.
|
||||
#
|
||||
# Syntax:
|
||||
# 12 NW_LOGIN LINUX_LOGIN [PASSWORD]
|
||||
#
|
||||
# NW_LOGIN: the login-name for the "mars_nwe"-server (traditionally,
|
||||
# this is "SUPERVISOR")
|
||||
# LINUX_LOGIN: the account on the Linux-side associated with the NW_LOGIN
|
||||
# (to improve security, don't use "root" here)
|
||||
# PASSWORD: the password for the NW_LOGIN. It must be clear-text but
|
||||
# will be encrypted and permanent stored in the
|
||||
# bindery-files, so it can be deleted after the first start
|
||||
# of "nwserv".
|
||||
#
|
||||
# Example:
|
||||
12 SUPERVISOR root top-secret
|
||||
|
||||
|
||||
# Section 13: user-logins (optional)
|
||||
#
|
||||
# See section 12 for the syntax.
|
||||
#
|
||||
# Examples:
|
||||
13 MAR mar mypw
|
||||
13 ALF mar - # no password
|
||||
|
||||
|
||||
# Section 15: read unix users automaticly from passwd into bindery
|
||||
#
|
||||
# Syntax:
|
||||
# 15 FLAG DEFAULT_PASSWORD
|
||||
#
|
||||
# FLAG:
|
||||
# 0 off
|
||||
# 1 on
|
||||
# 99 overwrite existing users.
|
||||
#
|
||||
# DEFAULT_PASSWORD: password for every new inserted user.
|
||||
#
|
||||
15 0 top-secret
|
||||
#
|
||||
# !!! IMPORTANT !!!
|
||||
# If you enable this feature you should chose a secure
|
||||
# password for the users, because all not existent
|
||||
# mars_nwe users will be inserted into bindery with this password.
|
||||
###############
|
||||
|
||||
|
||||
# Section 16: Tests on startup
|
||||
#
|
||||
16 1 # enable some bindery and sys dir tests/creats after starting.
|
||||
#############################
|
||||
# entry 21 for simple print queues
|
||||
# the queue Directory must exist before printing !!!
|
||||
# QUEUE NAME, Q_DIRECTORY, UNIX-print-command (pipe)
|
||||
21 Q1 SYS:/PRINT/Q1 lpr
|
||||
#21 Q2 SYS:/PRINT/Q2 lpr -C printer2
|
||||
#############################
|
||||
# >= 100 debug flags,
|
||||
# 0=nodebug, 1=mindebug(errors+notes), 99=maxdebug
|
||||
# default = 1
|
||||
|
||||
|
||||
# Section 21: print queues (optional)
|
||||
#
|
||||
# Make the printers connected to your Linux-box accessible from the
|
||||
# DOS-clients.
|
||||
# Multiple entries are allowed.
|
||||
#
|
||||
# Syntax:
|
||||
# 21 QUEUE_NAME QUEUE_DIR PRINT_COMMAND
|
||||
#
|
||||
# QUEUE_NAME: the name of the print queue
|
||||
# QUEUE_DIR: spooling directory for the print-jobs; this directory must
|
||||
# exist before printing
|
||||
# PRINT_COMMAND: command used for serving the print-jobs under Linux
|
||||
# (see "man lpr" and "man magicfilter" for details)
|
||||
#
|
||||
# Examples:
|
||||
# 21 LASER SYS:/PRINT/L lpr -Plaser
|
||||
# 21 OCTOPUSS SYS:/PRINT/O lpr -Php_deskjet
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
# You usally don't want to change anything below this line
|
||||
# --------------------------------------------------------
|
||||
|
||||
# Sections 100-106: amount of debug-information
|
||||
#
|
||||
# FLAG:
|
||||
# 0 no debug messages
|
||||
# 1 errors and notes are reported
|
||||
# ..
|
||||
# 99 maximum debug level
|
||||
100 0 # debug IPX KERNEL (0 | 1)
|
||||
101 1 # debug NWSERV
|
||||
102 0 # debug NCPSERV
|
||||
@@ -135,28 +312,46 @@
|
||||
104 0 # debug (start) NWCLIENT
|
||||
105 0 # debug NWBIND
|
||||
106 1 # debug NWROUTED
|
||||
#############################
|
||||
|
||||
|
||||
# Sections 200-202: logging of "nwserv"
|
||||
#
|
||||
200 1 # 0 = no logfile and dont daemonize nwserv/nwrouted
|
||||
# # 1 = daemonize nwserv/nwrouted and use logfile
|
||||
201 /tmp/nw.log # logfilename
|
||||
202 1 # 1=creat new logfile, 0=append to logfile
|
||||
#############################
|
||||
210 10 # 1 .. 600 (default 10) seconds after server really goes down
|
||||
# # after a down command
|
||||
201 /tmp/nw.log # filename of logfile
|
||||
202 1 # 1=creat new logfile, 0=append to logfile
|
||||
|
||||
|
||||
# Sections 210,211: timing
|
||||
#
|
||||
210 10 # 1 .. 600 (default 10) seconds after server
|
||||
# # really goes down after a down command
|
||||
211 60 # 10 .. 600 (default 60) broadcasts every x seconds
|
||||
#############################
|
||||
300 1 # > 0 print routing info to file every x broadcasts. ( normally minutes )
|
||||
301 /tmp/nw.routes # filename.
|
||||
302 1 # creat new routing info file=1, append to this file=0
|
||||
#############################
|
||||
|
||||
|
||||
# Sections 300-302: loging of routing-information
|
||||
#
|
||||
300 1 # > 0 print routing info to file every x broadcasts.
|
||||
# # ( normally minutes )
|
||||
301 /tmp/nw.routes # filename of logfile
|
||||
302 1 # 1 = creat new routing info file
|
||||
# # 0 = append to this file
|
||||
|
||||
|
||||
# Section 310: watchdogs
|
||||
#
|
||||
310 7 # send wdog's only to device net < x ticks.
|
||||
# 0 = allways send wdogs. < 0 = never send wdogs
|
||||
##############################
|
||||
# 0 = allways send wdogs. < 0 = never send wdogs
|
||||
#
|
||||
# Section 400:
|
||||
# station file for special handling of stations.
|
||||
#
|
||||
400 /etc/nwserv.stations # for syntax see file in the examples directory.
|
||||
|
||||
|
||||
# Section 401: nearest server
|
||||
#
|
||||
# for special handling of the 'get nearest server request'.
|
||||
401 0 # 0 = ignore entry 400, get nearest response ever enabled.
|
||||
# 1 = 400 are excludes, get nearest response normally enabled.
|
||||
# 2 = 400 are includes, get nearest response normally disabled.
|
||||
###
|
||||
|
||||
# 1 = 400 are excludes, get nearest response normally enabled.
|
||||
# 2 = 400 are includes, get nearest response normally disabled.
|
||||
|
||||
Reference in New Issue
Block a user