summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdelibs/fix-kerberos-printing.diff
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2012-03-31 14:28:06 -0400
committerRobert Xu <robxu9@gmail.com>2012-03-31 14:28:06 -0400
commit59dd46ef985a719579132efa6a9aa49bfeeae112 (patch)
tree93d8c721ff263e67aaf59e364496862872ded8fb /opensuse/core/tdelibs/fix-kerberos-printing.diff
parentc141f0bc29b6e2eeda5ca08a043d26546a1427f9 (diff)
downloadtde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.tar.gz
tde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.zip
better late than never, hm...
Diffstat (limited to 'opensuse/core/tdelibs/fix-kerberos-printing.diff')
-rw-r--r--opensuse/core/tdelibs/fix-kerberos-printing.diff37
1 files changed, 0 insertions, 37 deletions
diff --git a/opensuse/core/tdelibs/fix-kerberos-printing.diff b/opensuse/core/tdelibs/fix-kerberos-printing.diff
deleted file mode 100644
index 0276cdd06..000000000
--- a/opensuse/core/tdelibs/fix-kerberos-printing.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-Index: kdeprint/management/smbview.cpp
-===================================================================
---- kdeprint/management/smbview.cpp.orig
-+++ kdeprint/management/smbview.cpp
-@@ -187,13 +187,26 @@ void SmbView::setOpen(QListViewItem *ite
- }
- else if (item->depth() == 1)
- { // opening server
-+ char *krb5ccname = getenv ("KRB5CCNAME");
- m_current = item;
-- *m_proc << "smbclient -N -L ";
-- *m_proc << KProcess::quote(item->text(0));
-- *m_proc << " -W ";
-- *m_proc << KProcess::quote(item->parent()->text(0));
-- *m_proc << " -A ";
-- *m_proc << KProcess::quote(m_passwdFile->name());
-+ if (krb5ccname)
-+ {
-+ *m_proc << "smbclient -k -N -L ";
-+ }
-+ else
-+ {
-+ *m_proc << "smbclient -N -L ";
-+ }
-+ *m_proc << KProcess::quote (item->text (0));
-+ *m_proc << " -W ";
-+ *m_proc << KProcess::quote (item->parent ()->
-+ text (0));
-+ if (!krb5ccname)
-+ {
-+ *m_proc << " -A ";
-+ *m_proc << KProcess::
-+ quote (m_passwdFile->name ());
-+ }
- startProcess(ShareListing);
- }
- }