Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 459822

Summary: =net-fs/samba-4.0.3 - adjust smb.conf(5) manpage printing options to reflect compile-time settings
Product: Gentoo Linux Reporter: Michael Mol <mikemol>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: UNCONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Mol 2013-03-01 03:17:20 UTC
Really just a nice-to-have, hence the "enhancement" severity.

In smb.conf(5), there is this section:

       printing (S)

           This parameters controls how printer status information is interpreted on your system. It also affects the default values for the
           print command, lpq command, lppause command , lpresume command, and lprm command if specified in the [global] section.

           Currently nine printing styles are supported. They are BSD, AIX, LPRNG, PLP, SYSV, HPUX, QNX, SOFTQ, CUPS and IPRINT.

           Be aware that CUPS and IPRINT are only available if the CUPS development library was available at the time Samba was compiled or
           packaged.

           To see what the defaults are for the other print commands when using the various options use the testparm(1) program.

           This option can be set on a per printer basis. Please be aware however, that you must place any of the various printing commands
           (e.g. print command, lpq command, etc...) after defining the value for the printing option since it will reset the printing commands
           to default values.

           See also the discussion in the [printers] section.

           Default: printing = Depends on the operating system, see testparm -v.


It would be nice if the "Default" example were adjusted at compile time based on the build environment.