Rowland Penny
2024-Feb-07 11:39 UTC
[Samba] Samba 4.19.4 as printer server: printer are not show in browser
On Wed, 07 Feb 2024 12:13:32 +0100 Dario Lesca via samba <samba at lists.samba.org> wrote:> I have try many options and different debug and I don't know what to > check anymore to resolve. > > Please, someone can help me to discover why the CUPS printer are not > show in browser list in my setup? > > What's wrong on my configurations? > > Thanks in advance >Please define 'browser'. Are we talking the CUPS web browser on port 631 or something else ? If you are talking the various GUI browser applications, then you may be able to get them working, but you probably will not want to, because it entails turning SMBv1 on everywhere. Rowland
Dario Lesca
2024-Feb-07 12:18 UTC
[Samba] Samba 4.19.4 as printer server: printer are not show in browser
Thank Rowland With browser I means "list all printers shared by CUPS from [smbclient -L server] command" A few minutes ago I discovered that it is a SElinux problem I have run "sudo setenforce 0" then run "smbclient -N -L fedora", the printers appear in the list and work if I print on it I had previously already checked the audit.log to see if SElinux errors appeared but nothing was reported when run smbclient Now I have re enable SElinux with "sudo setenforce 1" and restart the server, but the list of printers continues to be displayed and all work fine. This is good for me, but it's not clear what happened, because now with Selinux enabled the printers are listed as expected. Furthermore, I don't understand if it's a Selinux problem with Samba or with Cups Now I do some other test and investigations (revert the snapshot to initial situation) to find out what exactly causes the printers not to be displayed when Selinux is active and is never deactivated, even for a moment. If I have any news I'll let you know. Thanks you for your time Dario Il giorno mer, 07/02/2024 alle 11.39 +0000, Rowland Penny via samba ha scritto:> On Wed, 07 Feb 2024 12:13:32 +0100 > Dario Lesca via samba <samba at lists.samba.org> wrote: > > > I have try many options and different debug and I don't know what > > to > > check anymore to resolve. > > > > Please, someone can help me to discover why the CUPS printer are > > not > > show in browser list in my setup? > > > > What's wrong on my configurations? > > > > Thanks in advance > > > > Please define 'browser'. > > Are we talking the CUPS web browser on port 631 or something else ? > > If you are talking the various GUI browser applications, then you may > be able to get them working, but you probably will not want to, > because > it entails turning SMBv1 on everywhere. > > Rowland > ? >
Apparently Analagous Threads
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser
- Samba 4.19.4 as printer server: printer are not show in browser