Web lists-archives.com

Re: [Samba] Printing with smbspool_krb5_wrapper not working in Ubuntu 16.04




Rowland Penny wrote:

> On Sat, 5 Aug 2017 19:06:49 +0200
> Van Svensson via samba <samba@xxxxxxxxxxxxxxx> wrote:
> 
> > > > I should have mentioned this earlier, but the users does not exist
> > > > in /etc/passwd, instead they are in LDAP and when they log in to
> > > > the computer they get some Kerberos tickets for the domain and
> > > > the file system. When printing on 14.04 they get another Kerberos
> > > > ticket for the printing system according to "klist" after they
> > > > have done "lpr" and printed a document. On 16.04 nothing is
> > > > printed and the user gets no Kerberos ticket for the printing
> > > > system and the job is left in "lpq".
> > > 
> > > Are your main users running Windows ?
> > > Are they members of an AD domain ?
> > 
> > At my part of the organization most people are running Linux: Ubuntu
> > 14.04 LTS. Right now I am trying to upgrade to Ubuntu 16.04 LTS but
> > after the upgrade the printing does no longer work. Centrally at the
> > organization they are running Windows and we Linux users are using
> > the centrally provided printing system through SMB-Kerberos.
> > Everything works fine in 14.04. After upgrading to 16.04 everything
> > works except the printing.
> > 
> > [...]
> > 
> > Do you have any idea about what the error "HTTP_STATE_WAITING Closing
> > for error 32 (Broken pipe)" can tell me in this situation when it is
> > printed right after SMBSPOOL_KRB5 has set KRB5CCNAME?
> > 
> > Also wondering about why I get this right after the above error:
> > "Could not determine network interfaces, you must use a interfaces
> > config line"
> 
> To be honest, I don't think this really has anything to do with Samba,
> the error messages seem to be coming from cups.

I found out that if I set "interfaces = 127.0.0.0/8 MYINTERFACE" and "bind interfaces only = yes" in /etc/samba/smb.conf then the printing works. I am curious why I need to do that in Ubuntu 16.04 but not in Ubuntu 14.04. I see that the naming of the interfaces in 16.04 has changed to e.g. "enp0s25" instead of e.g. "eth2" but shouldn't Samba 2:4.3.11+dfsg-0ubuntu0.16.04.9 be able to detect the network interface automatically?

Best regards, Van

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba