##-----------------------------------------------------------------------------
## samba_lpd.txt - fli4l configuration parameters                  2.1.7cvs20040511
##
##        P L E A S E   R E A D   T H E   D O C U M E N T A T I O N ,
##                      S E E   R E A D M E . T X T
##
##        B I T T E  U N B E D I N G T   D I E   D O K U M E N T A T I O N
##              L E S E N ,  S I E H E   R E A D M E . T X T
##
## Creation:     26.06.2001  fm
## Last Update:  $Id: samba_lpd.txt,v 1.22 2004/05/09 23:14:12 knuffel Exp $
##
## Copyright (c) 2001 Frank Meyer <frank@fli4l.de>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# Optional package: SAMBA
# (if you want to print over samba, also OPT_LPD must be set to 'yes')
#                    Attention! Variables added/changed/removed!
#------------------------------------------------------------------------------
OPT_SAMBA='no'                   # install samba: yes or no
SAMBA_WORKGROUP='workgroup'      # workgroup name of windows-clients
SAMBA_TRUSTED_NETS=''            # grant access also to nets
SAMBA_LOG='no'                   # log errors in /var/log/log.smb and
                                 # /var/log/log.nmb: yes or no

#------------------------------------------------------------------------------
# Samba Fileserver
#------------------------------------------------------------------------------

SAMBA_ADMINIP=''                 # ip addr of smb-client (mount fli4l rootfs)
SAMBA_SHARE_N='0'                # how many shares you want to create
SAMBA_SHARE_1_NAME='share1'      # name of the 1st share
SAMBA_SHARE_1_RW='yes'           # should share writeable: yes or no
SAMBA_SHARE_1_BROWSE='yes'       # should share browseable: yes or no
SAMBA_SHARE_1_PATH='/usr/local/data' # path of the share, see MOUNT_x_POINT !
SAMBA_SHARE_1_NET=''             # allowed networks for 1st share,
                                 # if empty all internal nets

SAMBA_CDROM_N='0'                # create shares for n CDROMs
SAMBA_CDROM_1_DEV='hdc'          # name of the CDROM device eg. hdc
SAMBA_CDROM_1_NET=''             # allowed networks for 1st CDROM

#------------------------------------------------------------------------------

SAMBA_LPD_PARPORT_1_NAME=''      # printer name in network neighborhood
SAMBA_LPD_PARPORT_1_NET=''       # allowed networks for LPD_PARPORT_1,
                                 # if empty all internal nets
SAMBA_LPD_PARPORT_2_NAME=''      # printer name in network neighborhood
SAMBA_LPD_PARPORT_2_NET=''       # allowed networks for LPD_PARPORT_2,
                                 # if empty all internal nets
SAMBA_LPD_PARPORT_3_NAME=''      # printer name in network neighborhood
SAMBA_LPD_PARPORT_3_NET=''       # allowed networks for LPD_PARPORT_3,
                                 # if empty all internal nets

SAMBA_LPD_USBPORT_1_NAME=''      # printer name in network neighborhood
SAMBA_LPD_USBPORT_1_NET=''       # allowed networks for LPD_USBPORT_1,
                                 # if empty all internal nets

SAMBA_LPD_REMOTE_1_NAME=''       # printer name in network neighborhood
SAMBA_LPD_REMOTE_1_NET=''        # allowed networks for LPD_REMOTE_1_IP,
                                 # if empty all internal nets
SAMBA_LPD_REMOTE_2_NAME=''       # printer name in network neighborhood
SAMBA_LPD_REMOTE_2_NET=''        # allowed networks for LPD_REMOTE_2_IP,
                                 # if empty all internal nets
SAMBA_LPD_REMOTE_3_NAME=''       # printer name in network neighborhood
SAMBA_LPD_REMOTE_3_NET=''        # allowed networks for LPD_REMOTE_3_IP,
                                 # if empty all internal nets

#------------------------------------------------------------------------------
# Optional package: SAMBATOOLS
#------------------------------------------------------------------------------
OPT_SAMBATOOLS='no'              # install samba tools

#------------------------------------------------------------------------------
# Optional package: NMBD
#                         Attention! Variables added!
#------------------------------------------------------------------------------
OPT_NMBD='no'                    # install nmbd as SMB Nameserver
NMBD_MASTERBROWSER='no'          # act as a masterbrowser: yes or no
NMBD_DOMAIN_MASTERBROWSER='no'   # dangerous, read documentation!
NMBD_WINSSERVER='no'             # act as an WINS-Server: yes or no
NMBD_EXTWINSIP=''                # IP address of the external WINS-Server,
                                 # act as an WINS-Client

#------------------------------------------------------------------------------
# Optional package: LPD
#                    Attention! Variables added/changed/removed!
#------------------------------------------------------------------------------
OPT_LPD='no'                     # install lpd: yes or no

#------------------------------------------------------------------------------
# Local parallel ports
#------------------------------------------------------------------------------
OPT_LPD_PARPORT='no'             # use local parallel ports: yes or no

LPD_PARPORT_N='1'                # how many parallel ports are used
LPD_PARPORT_1='0x378'            # io-adress for printer on 1st port
LPD_PARPORT_2='0x278'            # io-adress for printer on 2nd port
LPD_PARPORT_3='0x3bc'            # io-adress for printer on 3rd port

#------------------------------------------------------------------------------
# Local usb ports
#------------------------------------------------------------------------------
OPT_LPD_USBPORT='no'             # use local usb ports: yes or no

LPD_USBPORT_N='1'                # how many local usb ports are used

#------------------------------------------------------------------------------
# Special remote printservers - Read Documentation!
#------------------------------------------------------------------------------
OPT_LPD_REMOTE='no'              # use remote ports: yes or no

LPD_REMOTE_N='1'                 # how many remote printers are used
LPD_REMOTE_1_IP='192.168.6.99'   # IP of 1st remote printer
LPD_REMOTE_1_QUEUENAME='pr1'     # queue name of 1st remote printer

LPD_REMOTE_2_IP='192.168.6.99'   # IP of 2nd remote printer
LPD_REMOTE_2_QUEUENAME='pr2'     # queue name of 2nd remote printer

LPD_REMOTE_3_IP='192.168.6.99'   # IP of 3rd remote printer
LPD_REMOTE_3_QUEUENAME='pr3'     # queue name of 3rd remote printer
