FS#7012 - Printing does not work with default installation of smbclient

Attached to Project: Arch Linux
Opened by Oleg Stopolenko (cronfy) - Thursday, 26 April 2007, 21:35 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 27 April 2007, 09:29 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Brief:

smbclient does not create even empty /etc/samba/smb.conf with it's install. But /usr/bin/smbspool requires at least empty /etc/samba/smb.conf to print. This makes printing to Windows printers broken for default install.

Full:

I was trying to set up printing to Windows server and was getting
this error:

PID 4865 (/usr/lib/cups/backend/smb) stopped with status 1!

I found out that this error was produced by /usr/bin/smbspool. It requires at least empty config to run.

I created empty /etc/samba/smb.conf and printing started to work.

Request:
I think it is very easy step for an installer to create empty smb.conf if there is no one. Of course, this is easy step for human also, but it requires googling, grepping logs etc.. Anyway, why do not let installer do this and make life easier?

Thanks.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 27 April 2007, 09:29 GMT
Reason for closing:  Duplicate
Additional comments about closing:  http://bugs.archlinux.org/task/3743
Comment by Roman Kyrylych (Romashka) - Friday, 27 April 2007, 09:18 GMT
Creating smb.conf in smbclient's post_install is bad idea because then user will get file conflicts when installing samba after smbclient.
I think this can be solved by moving smb.conf from samba to smbclient package.

Loading...