Samba is not configured for using CUPS by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: samba
I have done some tests with a Samab server and CUPS. There I have discovered that Samba takes the information about existing print queues from /etc/printcap and not through the CUPS API. As Ubuntu comes set up with CUPS as its printing system (and all other free software printing system projects died) I expect Ubuntu to pre-configure Samba to use CUPS.
To fix this, the following settings in /etc/samba/smb.conf should be used:
[global]
load printers = yes
comment = All Printers
path = /var/spool/samba
public = yes
guest ok = yes
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
guest ok = no
All settings no mentioned here can stay as they are. Most important are the settings in the "[global]" section. With all the settings shown here Samba is prepared for the use of "cupsaddsmb" (see "man cupsaddsmb") which would be even better for the users.
Can this be set up that way for Gutsy?
Changed in samba: | |
importance: | Undecided → Medium |
status: | New → Triaged |
status: | Triaged → Confirmed |
In the [printers] section, you've added:
public = yes
guest ok = yes
Are these parameters required to make samba working with cups ?
In [print$]:
path is set to /etc/samba/drivers, compared to /var/lib/ samba/printers in the current configuration file. IIRC print$ is used to provide drivers for windows installation. I think it makes more sense to keep it in /var/lib/ samba/printers.