Bug 251608 - samba GUI doesn't load
Summary: samba GUI doesn't load
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_samba (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 269023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-17 20:54 UTC by Trevor Williams
Modified: 2018-11-28 04:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.69 KB, text/plain)
2011-06-25 15:43 UTC, Unknown
Details
New crash information added by DrKonqi (4.39 KB, text/plain)
2011-06-25 16:20 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Williams 2010-09-17 20:54:12 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-server x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Samba system GUI was not creating user information at first. I could apply information in the GUI window, but the settings were never retained. I then attempted to modify the samba.conf, smbpasswd, and smbusers files manually according to the following tutorial posted on Ubuntu Forums. 
https://help.ubuntu.com/10.04/serverguide/C/samba-fileserver.html
I was unable start the samba service with the command:
sudo /etc/init.d/samba restart
After that, I was unable to restart the samba GUI. When I uninstall "samba-common" I am able to run the GUI again, but it still doesn't actually enter any information into my samba configuration.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDE Control Module (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x1210160, number=..., base=10, ok=0x7fff92f37e9f, group_sep_mode=QLocalePrivate::FailOnGroupSeparators)
    at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6  QString (this=0x1210160, number=..., base=10, ok=0x7fff92f37e9f, group_sep_mode=QLocalePrivate::FailOnGroupSeparators) at ../../include/QtCore/../../src/corelib/tools/qstring.h:715
#7  QLocalePrivate::stringToLongLong (this=0x1210160, number=..., base=10, ok=0x7fff92f37e9f, group_sep_mode=QLocalePrivate::FailOnGroupSeparators) at tools/qlocale.cpp:4391
#8  0x00007fa2ee641fcc in QString::toLongLong (this=0x1a506c0, ok=0x0, base=10) at tools/qstring.cpp:5327
#9  0x00007fa2ee642069 in QString::toInt (this=0x1210160, ok=0x1a506c0, base=10) at tools/qstring.cpp:5465
#10 0x00007fa2e1024e21 in SmbPasswdFile::getSambaUserList (this=<value optimized out>) at ../../../../filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp:101
#11 0x00007fa2e0fcfce3 in KcmSambaConf::loadUserTab (this=0x1328ac0) at ../../../../filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp:1121
#12 0x00007fa2e0fd534a in KcmSambaConf::fillFields (this=0x1328ac0) at ../../../../filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp:618
#13 0x00007fa2e0fd54fc in KcmSambaConf::qt_metacall (this=0x1328ac0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff92f38460) at ./kcmsambaconf.moc:108
#14 0x00007fa2ee705e3f in QMetaObject::activate (sender=0x1604db0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff92f37e9f) at kernel/qobject.cpp:3293
#15 0x00007fa2e1005d44 in SambaFile::load (this=0x1604db0) at ../../../../filesharing/advanced/kcm_sambaconf/sambafile.cpp:502
#16 0x00007fa2e0fcf6cd in KcmSambaConf::load (this=0x1328ac0, smbFile=<value optimized out>) at ../../../../filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp:545
#17 0x00007fa2e0fd2a7a in KcmSambaConf::slotSpecifySmbConf (this=0x1328ac0, smbConf=<value optimized out>) at ../../../../filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp:224
#18 0x00007fa2e0fd3f3f in KcmSambaConf (this=0x1328ac0, inst=<value optimized out>, parent=<value optimized out>, name=<value optimized out>)
    at ../../../../filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp:202
#19 0x00007fa2e0fd4087 in create_KcmSambaConf (parent=0x12f66b0, name=0x132ef08 "KcmSambaConf") at ../../../../filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp:1500
#20 0x00007fa2e351a664 in KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x12f66b0, args=<value optimized out>) at ../../kutils/kcmoduleloader.cpp:111
#21 0x00007fa2e351e8e9 in KCModuleProxyPrivate::loadModule (this=0x12f1e90) at ../../kutils/kcmoduleproxy.cpp:106
#22 0x00007fa2e351f415 in KCModuleProxy::realModule (this=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:83
#23 0x00007fa2e351f489 in KCModuleProxy::useRootOnlyMessage (this=0x1210160) at ../../kutils/kcmoduleproxy.cpp:315
#24 0x00007fa2e351bd0e in KCMultiDialog::addModule (this=0x12e1f50, moduleInfo=..., parentItem=<value optimized out>, args=<value optimized out>) at ../../kutils/kcmultidialog.cpp:340
#25 0x00007fa2e375b7a6 in kdemain (_argc=<value optimized out>, _argv=<value optimized out>) at ../../kcmshell/main.cpp:265
#26 0x00000000004070f3 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#27 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#28 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#29 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Christoph Feck 2011-05-11 22:49:41 UTC
*** Bug 269023 has been marked as a duplicate of this bug. ***
Comment 2 Unknown 2011-06-25 15:43:53 UTC
Created attachment 61324 [details]
New crash information added by DrKonqi

I had exactly the same problem the gui was not adding or updating the user, especially the password. By looking into the /etc/smb.conf i found that it was not using tdbsam as password backend eventhough i had it selected in the gui. I did that as it was not showing the enabled users in the section users after restarting the gui and samba did not let me login. now samba still does not let me login. if i call the gtk program system-config-samba i do see the user but it indikates that the password is 8 characters long eventough i want one which is longer. Which might be the problem that I'm not able to login. I wanted to use the kde gui to check if the password is only 8 characters long or if the user now that i have fixed the backend manually is visisble but the gui crashes.

Using kde version which comes with ubuntu 10.04 lucid
Comment 3 Unknown 2011-06-25 16:20:50 UTC
Created attachment 61325 [details]
New crash information added by DrKonqi

The error happens when the password db file is set to /var/lib/samba/passdb.tdb which is the password file used by the tbdsam backend. If it set to the non existing file /etc/samba/passdb.tdb it starts again. The problem that unix users are not mapped eventhough listed by pdbedig -L -v and the problem that the password is improper persists
and may not be related to the kdegui but to tdbsam backend which does not accept or process passwords longer than 8 char :-( i'm still searching for parameter allowing to change maximum password length from 8 to more
Comment 4 Andrew Crouthamel 2018-10-29 22:44:43 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-13 14:27:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-28 04:56:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!