Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
kdelibs3-devel-doc
fix-kerberos-printing.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-kerberos-printing.diff of Package kdelibs3-devel-doc
--- kdeprint/management/smbview.cpp 2005-05-23 14:17:05.000000000 +0200 +++ kdeprint/management/smbview.cpp 2005-09-28 15:33:16.000000000 +0200 @@ -147,13 +173,26 @@ } 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); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor