diff -Nru kdelibs-3.5.8.orig/kdeprint/management/smbview.cpp kdelibs-3.5.8/kdeprint/management/smbview.cpp --- kdelibs-3.5.8.orig/kdeprint/management/smbview.cpp 2007-12-03 21:15:48.000000000 +0100 +++ kdelibs-3.5.8/kdeprint/management/smbview.cpp 2007-12-03 21:22:45.000000000 +0100 @@ -192,8 +192,11 @@ *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 (m_login != QString::null) + { + *m_proc << " -A "; + *m_proc << KProcess::quote(m_passwdFile->name()); + } startProcess(ShareListing); } }