Can someone enlighten me on some aspects of smb.conf?
man smb.conf says that
" THE PRINTERS SECTION
This section works like [homes], but for printers.
If a [printers] section occurs in the configuration file, users
are
able to connect to any printer specified in the local host's
printcap
file."
Fine. It means that if I have a smb.conf containing only [printers] and two
entries in printcap I should see two printers on the samba server. It is
like this: I see lp and lp2 from may printcap.
When a connection request is made, the existing sections are
scanned.
If a match is found, it is used. If no match is found, but a
[homes]
section exists, it is used as described above. Otherwise, the
requested
section name is treated as a printer name and the appropriate
printcap
file is scanned to see if the requested section name is a valid
printer
share name. If a match is found, a new printer share is created
by
cloning the [printers] section.
To me this means that I have to add another sections that fits the one in
printcap:
I did with:
[lp]
printer = "my beloved ugly printer"
... in smb.conf and expected to see this printer while browsing. No way... I
see the old lp one! And cloning? Nope. What am I missing?
And how on earth should I tell samba to instruct the client installing that
particular printer to take the drivers for that printer from the samba
server instead of the local machine?