On Sat, September 14, 2013 03:01, Ian McWilliam wrote: > On 14/09/2013 3:27 AM, Kirill Bychkov wrote: >> Hi. >> By default samba is using cups for printing, so it starts to flood in >> logfiles >> with: >> smbd[12245]: [2013/09/13 21:03:48.595183, 0] >> printing/print_cups.c:151(cups_connect) >> smbd[12245]: Unable to connect to CUPS server localhost:631 - Connection >> refused >> smbd[14345]: [2013/09/13 21:03:48.613769, 0] >> printing/print_cups.c:528(cups_async_callback) >> smbd[14345]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL >> >> I suggest to change printing system from cups to bsd to prevent this >> annoying >> messages in logs. >> >> Change MASTER_SITES while here. > No issue with changing master sites but the change in config file > CHANGES THE DEFAULT to BSD not CUPS. Your own admission is "By default > samba is using cups for printing". I don't see the issue that people > wanting bsd style printing actually edit their config file and change it.
Yes, my thought is to set BSD by default to get rid of messages about refused connection to CUPS on a fresh setup of samba. printing = cups is hardcoded somewhere, so even if this line is commented out in config file, samba still trying to connect to cups. The easyiest way to override it is to set printing = bsd in config. > Ian McWilliam > >