[cups] I can not share printers
Pförtsch, Franz
Franz.Pfoertsch at brose.com
Sun Aug 20 03:09:15 PDT 2017
Hello -T
How did you connect from Windows XP to the CentOS machine?
Are you using Samba or did you connect via lpd?
Please explain something more about your setup.
Regards
Franz
-----Original Message-----
From: cups [mailto:cups-bounces at cups.org] On Behalf Of toddandmargo
Sent: Saturday, August 19, 2017 5:05 AM
To: cups at cups.org
Subject: [cups] I can not share printers
Hi All,
# rpm -qa cups\*
cups-lpd-2.2.2-6.fc26.x86_64
cups-filters-1.13.4-3.fc26.x86_64
cups-filesystem-2.2.2-6.fc26.noarch
cups-2.2.2-6.fc26.x86_64
cups-pdf-2.6.1-12.fc26.x86_64
cups-pk-helper-0.2.6-2.fc26.x86_64
cups-libs-2.2.2-6.fc26.x86_64
cups-filters-libs-1.13.4-3.fc26.x86_64
cups-client-2.2.2-6.fc26.x86_64
# grep -i share /etc/cups/printers.conf
Shared Yes
Shared Yes
Shared Yes
Shared Yes
Shared Yes
I am replacing a Centos5 server with a Fedora 26 server.
i have cups configured for all the printers and they all have printed test pages. All of are set to "shared".
problem: all my clients are XP and none can attach to any of the shared cups printers, neither with lpr or TCP/IP. (They are all XP, so no tests from W7.)
And cups-lpd won't start do to an SELinux error:
# systemctl start cups-lpd.socket
● cups-lpd.socket - CUPS LPD Server Socket
Loaded: loaded (/usr/lib/systemd/system/cups-lpd.socket; enabled; vendor preset: disabled)
Active: failed (Result: resources)
Listen: [::]:515 (Stream)
Accepted: 0; Connected: 0
Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:26:49 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Unit entered failed state.
Aug 18 18:30:54 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied Aug 18 18:30:54 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:33:45 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied Aug 18 18:33:45 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
Aug 18 18:37:30 FedoraServer.xxxx.local systemd[1]: cups-lpd.socket: Failed to listen on sockets: Permission denied Aug 18 18:37:30 FedoraServer.xxxx.local systemd[1]: Failed to listen on CUPS LPD Server Socket.
SELinux is preventing systemd from setopt access on the tcp_socket port None.
allow this access for now by executing:
# ausearch -c 'systemd' --raw | audit2allow -M my-systemd # semodule -X 300 -i my-systemd.pp And the suggested action does not work.
What am I doing wrong?
Many thanks,
-T
_______________________________________________
cups mailing list
cups at cups.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.cups.org_mailman_listinfo_cups&d=DwIGaQ&c=68HcvFK2AZ4RUGlmK9Z3SQ&r=3-6Bf9d3fdMaGE7aURUiXsYL3KViuzX98w3Fs_FaJXY&m=zNmbqeSpE5z2diMYDF7JU8NfvGhgv1bCs8g4pYeKjD8&s=JS9mDNEs6iAA1UKBCngDu1Xog-fW-Bzvu0Ing134W3E&e=
More information about the cups
mailing list