# (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 # 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 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. # !!! 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. ############### 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 100 0 # debug IPX KERNEL (0 | 1) 101 1 # debug NWSERV 102 0 # debug NCPSERV 103 0 # debug NWCONN 104 0 # debug (start) NWCLIENT 105 0 # debug NWBIND 106 1 # debug NWROUTED ############################# 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 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 ############################# 310 7 # send wdog's only to device net < x ticks. # 0 = allways send wdogs. < 0 = never send wdogs ############################## # station file for special handling of stations. 400 /etc/nwserv.stations # for syntax see file in the examples directory. # 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. ###