Bug 113764 - [PATCH] no kerberos authentication in SMB printers browsing
Summary: [PATCH] no kerberos authentication in SMB printers browsing
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdeprint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 10:35 UTC by Gérald Macinenti
Modified: 2011-05-27 18:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
use Kerberos to browse SMB printers (1.16 KB, patch)
2005-10-03 12:21 UTC, Gérald Macinenti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gérald Macinenti 2005-10-03 10:35:51 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Fedora RPMs
OS:                Linux

When browsing SMB printers from kaddprinterwizard, kerberos tokens are not used to authenticate to sharing servers.
Comment 1 Stephan Kulow 2005-10-03 10:46:52 UTC
support for that has been added recently to smb:/ btw, not sure what kdeprint does though
Comment 2 Gérald Macinenti 2005-10-03 12:21:10 UTC
Created attachment 12827 [details]
use Kerberos to browse SMB printers
Comment 3 Gérald Macinenti 2005-10-03 13:54:38 UTC
Stephan Kulow a dit :

> ------- Additional Comments From coolo kde org  2005-10-03 10:46 -------
> support for that has been added recently to smb:/ btw, not sure what
> kdeprint does though

Yes, I've seen it, but kdeprint doesn't use the libsmbclient, hence my patch.
Btw, it seems that the way it has been added to kio_smb raises the
following problem: when one wants to connect to a share using another
account (with a URL like smb://user2@resource), the Kerberos token of
user1 (Linux logged in user) is silently used, this is why I used the
approach you can see in my patch at
http://bugs.kde.org/show_bug.cgi?id=108324, could you please comment on
this choice?

Best regards.
Comment 4 Cristian Tibirna 2005-10-04 04:45:28 UTC
I have some blob of code from Linspire for getting libsmbclient used in kdeprint. It needs combing, but I hope to get to it soon. I think at that point I'll be able to get inspiration from kio_smb for kerberos support and perhaps forget about the patch you attached.

I can't comment on your question about usager of user1 token with smb://user2@machine connection. I don't have enough knowledge. And that discussion should go on on kfm-devel, not here.

Thanks!
Comment 5 Stephan Kulow 2006-03-01 13:22:42 UTC
Cristian, can you open source that code? Perhaps we could help there ;)
Comment 6 Dirk Mueller 2006-05-17 17:02:04 UTC
Cristian, any way to get hold of the libsmbclient integration code?
Comment 7 Kurt Pfeifle 2007-01-13 21:32:37 UTC
CUPS trunk got Kerberized via a Google SoC project (actually it was Jelmer Vernoij from the Samba Team who was the Soc student).

Likely, this new Kerberos support will be going into the CUPS 1.3 release. 

Up to now (that includes CUPS 1.2.x), it uses for its smb:// backend to print to a Windows shared printer a symlink to the smbspool utility that ships with *Samba*, not CUPS. And smbspool doesnt support any secure authentication scheme to acces a Windows printer.

It would be pretty pointless to have Kerberos support in KDEPrint's Add Printer  Wizard for SMB printer discovery, if we then can't create queue for CUPS that is allowed to also *print* to the discovered printer.

Once CUPS 1.3 is ready for beta testing, it gets more serious.

Coolo, Dirk -- does KDE 3.5.5 (or earlier? which?) fully support being a peer in a kerberized environment?

Comment 8 mchugh19@yahoo.com 2008-11-15 17:13:34 UTC
Is this still valid with kde4 and the qt printing changes? I'm still not able to use kerberos authentication on smb print shares, but is kdeprint still around?
Comment 9 John Layt 2011-05-27 18:10:02 UTC
KDEPrint is obsolete, unmaintained and will never be revived.  Closing all open bugs.