Samba requires CUPS

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Samba requires CUPS

Postby FiableDotBiz » Sep 12th, '13, 15:51

Hello.

We use Mageia 3; 64 bits, inside an ethernet local network whose router reserves IP addresses for each computer according to the MAC address. Fed up with many things freezing because of NFS or/and autofs, we installed Samba server (choosing "Standalone", then "user" as security mode) and client on 2 PCs, and configured the firewall to let the other computer access to Samba. Besides the fact we cannot see the other computers' files, one of the two computers keeps complaining about CUPS in smb.log:
"[2013/09/12 21:36:25.078450, 0] printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL"
CUPS is not installed, but in the Mageia control center →Network sharing → "Share drives and directories with Windows (SMB) systems" → Printers, the list is empty. So why does Samba looks for CUPS every 30 s, and how to stop this?

Any idea?
Last edited by FiableDotBiz on Sep 14th, '13, 10:14, edited 2 times in total.
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00

Re: Samba requires CUPS

Postby jkerr82508 » Sep 12th, '13, 16:39

By default samba attempts to share printers. Since printers can be added at any time it constantly checks for any. To stop this from happening, in /etc/samba/smb.conf comment any uncommented lines in Section 2. of the Global Settings:
Code: Select all
   # 2. Printing Options:
    # Required to load all CUPS printers
#    printcap name = cups
#    load printers = yes
    # printcap cache time, so samba will automatically load new cups printers
#    printcap cache time = 60 
    # It should not be necessary to spell out the print system type unless
    # yours is non-standard. Currently supported print systems include:
    # bsd, sysv, plp, lprng, aix, hpux, qnx, cups
#    printing = cups

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Samba requires CUPS

Postby FiableDotBiz » Sep 14th, '13, 08:57

Strangely enough, it doesn't work completely: Samba complains less, but still complains. Here are my /etc/smb.conf and /var/log/samba/smb.log files after I deleted the old smb.log file, and in 'Mageia control center' → "Manage system services by enabling or disabling them" → smb (tagged "running", clicked on "start" and got the message "Restarting smb (via systemctl): [OK]".
Attachments
smbd_start.log
(3.94 KiB) Downloaded 91 times
smb.conf
(15.27 KiB) Downloaded 106 times
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest