##-----------------------------------------------------------------------------
## samba_lpd.txt - fli4l configuration parameters                  3.0.0
##
##        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 9427 2005-07-23 21:43:38Z knuffel $
##
## 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='yes'                  # install samba: yes or no
SAMBA_WORKGROUP='ARBEITSGRUPPE'  # workgroup name of windows-clients
SAMBA_TRUSTED_NETS=''            # grant access also to nets
SAMBA_LOG='no'                   # log errors in /var/log/log.smbd and
                                 # /var/log/log.nmbd: yes or no
SAMBA_LOGDIR='/mnt/data/log'     # log directory for samba
#------------------------------------------------------------------------------
# Samba Fileserver
#------------------------------------------------------------------------------

SAMBA_ADMINIP=''                 # ip addr of smb-client (mount fli4l rootfs)
SAMBA_SHARE_N='1'                # how many shares you want to create
SAMBA_SHARE_1_NAME='data'        # 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='/mnt'        # 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='1'                # 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

SAMBA_LPD_SMBREMOTE_1_NAME=''    # printer name in network neighborhood
SAMBA_LPD_SMBREMOTE_1_NET=''     # allowed networks for LPD_REMOTE_1_IP,
                                 # if empty all internal nets
SAMBA_LPD_SMBREMOTE_2_NAME=''    # printer name in network neighborhood
SAMBA_LPD_SMBREMOTE_2_NET=''     # allowed networks for LPD_REMOTE_2_IP,
                                 # if empty all internal nets
SAMBA_LPD_SMBREMOTE_3_NAME=''    # printer name in network neighborhood
SAMBA_LPD_SMBREMOTE_3_NET=''     # allowed networks for LPD_REMOTE_3_IP,
                                 # if empty all internal nets

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

#------------------------------------------------------------------------------
# Optional package: NMBD
#                         Attention! Variables added!
#------------------------------------------------------------------------------
OPT_NMBD='yes'                   # install nmbd as SMB Nameserver
NMBD_MASTERBROWSER='yes'         # act as a masterbrowser: yes or no
NMBD_DOMAIN_MASTERBROWSER='no'   # dangerous, read documentation!
NMBD_WINSSERVER='yes'            # 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_IO='0x378'         # io-adress for printer on 1st port
LPD_PARPORT_1_IRQ='no'           # use interrupt: yes or no
LPD_PARPORT_1_DMA='no'           # use dma: yes or no
                                 # yes needs LPD_PARPORT_1_IRQ='yes'

LPD_PARPORT_2_IO='0x278'         # io-adress for printer on 2nd port
LPD_PARPORT_2_IRQ='no'           # use interrupt: yes or no
LPD_PARPORT_2_DMA='no'           # use dma: yes or no
                                 # yes needs LPD_PARPORT_2_IRQ='yes'

LPD_PARPORT_3_IO='0x3bc'         # io-adress for printer on 3rd port
LPD_PARPORT_3_IRQ='no'           # use interrupt: yes or no
LPD_PARPORT_3_DMA='no'           # use dma: yes or no
                                 # yes needs LPD_PARPORT_3_IRQ='yes'

#------------------------------------------------------------------------------
# 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_PORT=''             # Port 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_PORT=''             # Port of 2nd remote printer
LPD_REMOTE_2_QUEUENAME='pr2'     # queue name of 2nd remote printer

LPD_REMOTE_3_IP='192.168.6.100'  # IP of 3rd remote printer
LPD_REMOTE_3_PORT='9100'         # Port of 3rd remote printer
LPD_REMOTE_3_QUEUENAME=''        # queue name of 3rd remote printer

#------------------------------------------------------------------------------
# Special remote smb printservers - Read Documentation!
#------------------------------------------------------------------------------
OPT_LPD_SMBREMOTE='no'           # use remote smb printers: yes or no
LPD_SMBREMOTE_DEBUGLEVEL='0'

LPD_SMBREMOTE_N='1'              # how many remote smb printers are used
LPD_SMBREMOTE_1_SERVER='ente'    # NETBIOS name of 1st remote smb printer server
LPD_SMBREMOTE_1_SERVICE='pr2'    # printer share name of 1st remote smb printer
LPD_SMBREMOTE_1_USER='king'      # user name for 1st remote smb printer
LPD_SMBREMOTE_1_PASSWORD='kong'  # password for the 1st remote smb printer
LPD_SMBREMOTE_1_IP='192.168.0.6' # IP of the 1st remote smb printer
