SAMBA_LPD
===============================================================================
2.0.2:
------
06.01.2002 tb
    - rc700.samba: nmbd settings only if OPT_NMBD='yes'
08.01.2002 tb
    - rc700.samba: corrected error message of OPT_NMBD

2.0.3:
------
11.02.2002 tb
    - rc700.samba: corrected checking of OPT_NMBD (from OPT_NMBD to $OPT_NMBD)

2.1.0:
------
04.03.2002 jw5
    - opt/package.txt adjusted to new file format (see base/doc/dev/opt.txt)
04.03.2002 tb
    - rc700.samba: added client code page and character set for correct
      ..
04.03.2002 tb
    - rc700.samba: bugfix for error message
      "find_domain_master_name_query_fail: Unable to find the Domain Master
      Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Unable to sync
      browse lists in this workgroup." in WINS-Mode
14.03.2002 tb
    - rc700.samba: disable logging with new variable SAMBA_LOG='no'
25.03.2002 tb
    - rc700.samba: hosts allow for all nets in FORWARD_TRUSTED_NETS, needed for
      incoming connections over isdn
29.03.2002 tb
    - rc700.samba: redesign for configuring only, if individual /etc/smb.conf
      does'nt exist
29.03.2002 hs
    - renamed startup-files for new startup-concept
01.04.2002 hs
    - added function call to rc.scripts
01.04.2002 hs
    - converted variable next_rd to file /var/run/next_rd
05.04.2002 tb
    - rc455.samba: configuring only for non-dhclient interfaces
21.04.2002 tb
    - changed indices (SAMBA_SHARE_NAME_x to SAMBA_SHARE_x_NAME and so on)
21.04.2002 tb
    - rc455.samba: bugfix for error message deleted - problems with vpnd
      "find_domain_master_name_query_fail: Unable to find the Domain Master
      Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Unable to sync
      browse lists in this workgroup." in WINS-Mode
10.05.2002 tb
    - rc700.samba: changes for starting samba only for non dhcp-client-
      interfaces (DHCLIENT, DHCPCD)
    - Binaries smbd and nmbd are new compiled - they are now smaller
02.06.2002 tb
    - rc700.samba: added encrypt passwords = yes for fixing problems with
      Windows NT on subnets on fli4l
04.06.2002 tb
    - rc700.samba: removed encrypt passwords = yes
      Problems with /etc/smbpasswd
30.06.2002 tb
    - added printernames for network neighborhood in /config/samba_lpd.txt
    - added /check/samba_lpd.exp with regexpressions for sharenames and
      printernames
16.08.2002 tb
    - added dfree command for correcting bug, that samba only shows 3,96 GB
      on big HDDs (depending on client os and service pack there come back
      different HDD sizes, this is a problem of the clients!)
04.09.2002 tb
    - configuring automatically as wins proxy if samba act as an wins client
      or wins server
      (removed option NMBD_WINSPROXY from /config/samba_lpd.txt)
    - removed SAMBA_TIMESERVER, now always set to 'yes'
    - added code for 'remote announce' 'remote browse sync'
      no configuration options yet
07.09.2002 tb
    - removed functions start_samba, start_lpd
13.09.2002 tb
    - changed regexp for check
24.09.2002 tb
    - rc445.samba: added encrypt passwords = yes for fixing problems with
      Windows NT on subnets of fli4l
      Problems with /etc/smbpasswd solved with empty /etc/smbpasswd
      Thanks for tips and testing from
      Gebhard Hscheler and Thomas Busch

2.1.1:
------
11.10.2002 tb
    - new smbd and nmbd for Kernel 2.4.20
28.11.2002 tb
    - rc445.lpd: added support for spool directory on minix hdd filesystem

2.1.2:
------
30.12.2002 tb
    - new modules for 2.1.2
14.01.2003
    - new lpd, lprm, lpr, lpq for 2.4.20 uclibc
    - rc445.lpd: added support for spool directory on minix ramdisk filesystem
22.01.2003
    - removed NMBD_WINSCLIENT
02.02.2003
    - only write share for root filesystem if SAMBA_ADMINIP is not empty
08.02.2003
    - using function do_insmod_if_exists
09.02.2003
    - changed writing of /etc/hosts.lpd for new format in base.txt
12.02.2003
    - new binaries
    - added /etc/rc0.d/rc400.samba for shutdown
    - removed /opt/files/usr/lib/libdb.so.1
26.05.2003 od
    - replaced lpd by new one - now remote printing via lpd protocol
      is possible again

2.1.3:
------
18.04.2003
    - changed socket options from
      TCP_NODELAY
      to
      TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
21.04.2002
    - added sambatools and some helper files (modules, scripts)
      nmblookup
      smbclient
      smbmnt
      smbmount
      smbstatus
      smbumount
      smbfs.o
      nls_iso8859-1.o
      nls_cp850.o
      samba-dismount-smbfs
      samba-mount-smbfs
      samba-netsend
      stty
20.05.2002
    - added SAMBA_TRUSTED_NETS
26.05.2003 od
    - replaced lpd by new one - now remote printing via lpd protocol
      is possible again
29.06.2003 tb
    - changed "mangle case" from 'yes' to 'no' - solved problems with
      non DOS conformal file names
24.07.2003 tb
    - accept other ports then 0x3bc, 0x378, 0x278 for lpd
15.08.2003 tb
    - linking /var/log/log.nmb and /var/log/log.smb to /dev/null _before_
      daemons are starting, if SAMBA_LOG is 'no', because if linking
      afterwards, logging is going into the ramdisk

2.1.4:
------
28.09.2003 tb
    - using /proc/mounts now, because /etc/mtab does't exist anymore

2.1.5:
------
no changes

2.1.6:
------
24.02.2004 tb
    - new binaries for samba and lpd, od changed lpd to allow printing
      from other than normal ports, because cups as client needs this
01.03.2004 tb
    - removed file server configuration:
      SAMBA_ADMINIP
      SAMBA_SHARE_N
      SAMBA_SHARE_NAME_x
      SAMBA_SHARE_RW_x
      SAMBA_SHARE_BROWSE_x
      SAMBA_SHARE_PATH_x
      SAMBA_SHARE_NET_x
      SAMBA_CDROM_N
      SAMBA_CDROM_DEV_x
      SAMBA_CDROM_NET_x
    - added NMBD_DOMAIN_MASTERBROWSER
    - added support for usb printers:
      OPT_LPD_USBPORT
      LPD_USBPORT_N
      SAMBA_LPD_USBPORT_x_NAME
      SAMBA_LPD_USBPORT_x_NET
    - changed
      LPD_PORT_N
      LPD_PORT_x
      to
      OPT_LPD_PARPORT
      LPD_PARPORT_N
      LPD_PARPORT_x
    - changed
      SAMBA_LPD_PORT_x_NAME
      SAMBA_LPD_PORT_x_NET 
      to
      SAMBA_LPD_PARPORT_x_NAME
      SAMBA_LPD_PARPORT_x_NET
    - changed
      LPD_REMOTE_N
      LPD_REMOTE_x_IP
      LPD_REMOTE_x_QUEUENAME
      to
      OPT_LPD_REMOTE
      LPD_REMOTE_N
      LPD_REMOTE_x_IP
      LPD_REMOTE_x_QUEUENAME
    - removed
      LPD_SPOOLPATH
      (only spooling to hdd, if writeable minix partition
      mounted on /data, this is hdsetup typ b)
    - pci cards with parallel ports (netmos chipset) are documented now
    - 'dns proxy' is always 'no' now, this is usefull for vpn connections
10.03.2004 tb
    - printing was impossible, because ram_error was always true
      (thanks to Hans-Hermann Redenius)
    - configuring printer if "$ram_error" != true -o "$spooldir_error" != true
      (was "$ram_error" != true -a "$spooldir_error" != true and thats why
      printing was not ok without data partition)
07.04.2004 tb
    - check for printing vars corrected (thanks to Jean Wolter)
      failure was:
      var_n depends on different opt_var
        Variable:
      'SAMBA_LPD_PARPORT_%_NAME' -> 'OPT_LPD'
        Var_n:    'LPD_PARPORT_N'
      -> 'OPT_LPD_PARPORT'
      [...]
29.04.2004 tb
    - added 'mx#0' in /etc/printcap for bigger files
      (thanks to Gerd Walter)


2.1.7:
------
10.05.2004 tb
    - removed LPD_RAM, spooling into rootfs ramdisk, if no writeable
      minix partition mounted on /data found

2.1.8:
------
29.08.2004 tb
    - added remote smb printers
03.09.2004 tb
    - allowing minix, ext2 and ext3 for data partition
13.09.2004 tb
    - changed LPD_PARPORT_x to LPD_PARPORT_x_IO
    - allowing irq and dma mode (dma needs new kernel and modules)
      added
      LPD_PARPORT_x_IRQ
      LPD_PARPORT_x_DMA
17.09.2004 tb
    - setting wins_support="no" and wins_proxy="no" if OPT_NMBD=no (Jean Wolter)
    - some cleanups and corrected ip using in netsend (Jean Wolter)
23.09.2004 tb
    - solved undeleteable readonly files with XP SP2 (Achim Kalwa)
      'delete readonly = yes' in global part of smb.conf
    -  removed LPD_PARPORT_x_DMA (not useable without new modules)
29.09.2004 tb
    - check/samba_lpd.ext:
      corrected
      foreach i in lpd_parport_%
      to
      foreach i in lpd_parport_%_io (Jean Wolter)

2.1.9:
------
23.12.2004 tb
    - setting message command to
      rm %s & (deleting the message)
03.01.2005 tb
    - added dma again, modules are build with dma support
23.01.2005 tb
    - removed binaries and modules, which are also in other
      opts
    - using provides and depends
    - only working on /opt/files/bin/smbprint in prep,
      if it exists
    - added check for irq if dma is set

2.1.10:
-------
30.05.2005 jw5
    - use ${KERNEL_VERSION} instead of $KERNELVERSION$ in
      opt/samba_lpd.txt
01.06.2005 babel
    - update to kernel 2.4.31
12.06.2005 lanspezi
    - added flags for 2.1.10 to opt/samba_lpd.txt
15.06.2005 tb
    - removed entry for etc/prep/rc400.samba from
      opt/samba_lpd.txt
23.06.2005 jw5
    - removed prep script etc/prep/rc400.lpd and add group
      entry in rc.d-script
24.06.2005 tb
    - fixed trim command (thanks to Jean)
26.06.2005 lanspezi
    - removed empty prep dir
30.06.2005 tb
    - added "printer 515/tcp" to /etc/services
      lpd wanted not to start without
30.06.2005 tb
    - rights corrected
09.07.2005 tb
    - new var SAMBA_LOGDIR
10.07.2005 tb
    - correction for logger path, lpd syslog messages (option '-l')
      and /var/spool/lpd right
14.07.2005 od
    - patched printjob.c and recvjob.c from lpd
      remote printing without samba is possible again
14.07.2005 tb
    - added lpc, edit opt/samba_lpd.txt to copy it with lpd
      enter 'lpc help' for commands
29.07.2005 tb
    - check for usb printer driver corrected (Christian Kloimuellner)


2.1.11:
-------
22.07.2005 od
    - new lpr-0.72 (old version was 0.48) with additional
      syslog messages
22.07.2005 tb
    - added printing to remote ports
23.07.2005 tb
    - fixed typo in config/samba_lpd.txt
29.07.2005 tb
    - check for usb printer driver corrected (Christian Kloimuellner)


2.1.12:
-------
12.09.2005 tb
    - removed unnecessarily tr commands
07.10.2005 tb
    - only configuring interface for OPT_PPP, if the interface is up
      (Hans-Hermann Redenius)


2.1.13:
-------
29.11.2005 tb
    - german netsend messages, from hostname


3.0.0:
------
no changes
