Discussion:
[Bug 16575] Re: Cannot create samba user with kcontrol samba module
Barry deFreese
2006-05-12 18:25:11 UTC
Permalink
What version of Ubuntu is this for? Even Breezy had 3.4.3?? Thank you.

** Changed in: kdebase (Ubuntu)
Status: Unconfirmed => Needs Info
--
Cannot create samba user with kcontrol samba module
https://launchpad.net/bugs/16575
RichJohnson
2006-06-21 14:28:48 UTC
Permalink
Is this bug still present in the latest Dapper packages?

If it is not, or if someone knows that this bug has been fixed by a
subsequent upload, please let us know so we can close this. The last
activity on this bug was over 9 months ago.

Thank you for reporting this bug.
--
Cannot create samba user with kcontrol samba module
https://launchpad.net/bugs/16575
Jerky Penguin
2006-07-03 15:14:09 UTC
Permalink
Yep - I see this in Dapper as well.
--
Cannot create samba user with kcontrol samba module
https://launchpad.net/bugs/16575
Cimmo
2006-11-27 15:34:57 UTC
Permalink
still an issue with Edgy, possible that there was no time to fix it? :(

** Changed in: kdebase (Ubuntu)
Status: Needs Info => Confirmed
--
Cannot create samba user with kcontrol samba module
https://launchpad.net/bugs/16575
Yuriy Kozlov
2007-04-01 05:40:14 UTC
Permalink
** Bug watch added: KDE Bug Tracking System #94828
http://bugs.kde.org/show_bug.cgi?id=94828

** Also affects: kdebase (upstream) via
http://bugs.kde.org/show_bug.cgi?id=94828
Importance: Unknown
Status: Unknown
--
Cannot create samba user with kcontrol samba module
https://launchpad.net/bugs/16575
Bug Watch Updater
2007-04-01 06:52:46 UTC
Permalink
** Changed in: kdebase (upstream)
Status: Unknown => Unconfirmed
--
Cannot create samba user with kcontrol samba module
https://launchpad.net/bugs/16575
Bug Watch Updater
2007-04-03 07:11:05 UTC
Permalink
** Changed in: kdebase (upstream)
Status: Unconfirmed => Confirmed
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
Michael Satterwhite
2007-05-10 17:37:10 UTC
Permalink
This is still an issue in Feisty. Same behavior
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
Codester
2007-05-12 15:40:02 UTC
Permalink
I too have this problem in Edgy I can add users with the smbpasswd
command but they never show up in the GUI and any users added in the GUI
never work or are never actually added
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
Kieran Hogg
2007-06-09 19:43:24 UTC
Permalink
Still present in gutsy.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
The J
2007-06-11 19:44:19 UTC
Permalink
I experience this in Kubuntu Feisty (AMD64). Also, I noticed that I
cannot click the Apply button after I add a user in this dialog. Go to
the Advanced tab and look at the Security options. From there, click on
the Password tab. You'll see a box for "SMB passwd file" that points to
/etc/samba/smbpasswd, but that file does not exist. I tried creating
the file there to see if that would help, but nothing happens. I then
tried using smbpasswd from the console to add a user with "smbpasswd -a
[user]", but still nothing shows up in that file or in the KControl
dialog (though I could be using the command line tool incorrectly).
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
AndrewBC
2007-09-20 01:09:45 UTC
Permalink
Kubuntu Feisty 32 - to my surprise, bug still present.

This is a real showstopper for folks who are uncomfortable on the
commandline.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
naught101
2007-10-28 11:47:11 UTC
Permalink
Still present in gutsy final. This is annoying.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
Maxim Levitsky
2007-12-23 12:27:09 UTC
Permalink
I Confirm this.

This is very old bug, and it is related to the fact that the above panel looks at smbpasswd file
which isn't present anymore on newer samba.

It is possible to make samba use smbpasswd file, but it doesn't worth the hassle since
even then this panel just shows the current users, but still doesn't add them corectly

Just use sudo smbpasswd -a username
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
Jan Schaefer
2008-01-03 08:08:16 UTC
Permalink
I am sorry that this bug has not been fixed yet. The bug has been
assigned to the wrong developer in the KDE bug database, and I was not
informed about it. I am working on it, now.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
Jonathan Thomas
2008-09-11 14:44:32 UTC
Permalink
** Changed in: kdebase (Ubuntu)
Status: Confirmed => Triaged
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is a direct subscriber.
Harald Sitter
2008-10-04 00:05:56 UTC
Permalink
** Changed in: kdebase (Ubuntu)
Importance: Medium => Low
Assignee: Jonathan Riddell (jr) => (unassigned)
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Jonathan Thomas
2009-01-19 17:57:49 UTC
Permalink
** Changed in: kdenetwork (Ubuntu)
Sourcepackagename: kdebase => kdenetwork
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
murdock
2009-02-03 13:00:13 UTC
Permalink
Hello!

I am running 3.5.10 and the error still exists. Since version 3.5.10
has been determined to be the final version, does this mean that this
bug will not be dealt with anymore in KDE 3 and I should begin
implementing KDE4?

Thanks,
Murdock
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Jonathan Thomas
2009-02-03 13:47:13 UTC
Permalink
Yes, it would be recommended that you fix this for KDE4.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
S. Christian Collins
2009-04-28 04:17:56 UTC
Permalink
I can confirm that this bug is still present in Kubuntu 9.04, Jaunty.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
AndrewBC
2009-08-05 14:38:51 UTC
Permalink
Its hard to believe that a bug SO important to smooth networking with
other machines STILL has not been fixed and apparently is seen as of
little importance.

Of course the more instructed of us can work round it but that isn't the
point.

I installed a KDE based distro for someone a few months ago and they
later tried to bring it into a network - only after many days of
frustrated tinkering did it occur to them that perhaps something was
busted and they called me. Their comments when I replied that it was a
very old and known bug were unprintable. They plan to rip Linux out and
install Windows 7.

"Not a serious environment" was their comment and I have to agree with
them.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Harald Albrecht
2009-08-05 15:04:59 UTC
Permalink
This bug report was filed almost four years ago. This is a standard use
case: add a user to allow sharing files. And still this hasn't been
resolved? Balmer must be laughing very hard.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Gurubie
2009-09-29 13:08:16 UTC
Permalink
Hey, WTH? This appears to be first filed in 2005. I also have clients
that are turning away from open software because they see this as a
serious (basic networking) OS flaw. What am I missing here?
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Maxim Levitsky
2009-10-09 22:45:03 UTC
Permalink
Probably wrongly marked this as invalid
Is this module included in KDE4?


** Changed in: kdenetwork (Ubuntu)
Status: Triaged => Invalid

** Changed in: kdenetwork (Ubuntu)
Status: Invalid => Incomplete
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
AndrewBC
2009-10-10 01:23:50 UTC
Permalink
** Changed in: kdenetwork (Ubuntu)
Status: Incomplete => Confirmed
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
sergio.callegari
2010-01-21 17:38:04 UTC
Permalink
I confirm that the bug exists in kubuntu karmic.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
rusivi1
2010-09-14 19:25:25 UTC
Permalink
Thank you for posting this bug.

Does this occur in Lucid?

** Changed in: kdenetwork (Ubuntu)
Status: Confirmed => Incomplete
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Stefaan
2010-10-14 20:54:40 UTC
Permalink
Yes, I can confirm this bug still happens in Lucid (Kubuntu). And let me
echo the sentiment that having such a serious bug open for 5 years makes
"Linux is ready for the desktop" a sad, sad joke.

Also, switching a bug's status to "incomplete" because it's not confirmed in the last version, when it's been in the code for 5 full years,
reeks of wishful thinking or laziness. Sorry for the hears words, but with Maverick Meerkat out, I'd hate to see the next entry be "Does this occur in Maverick?"
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Jonathan Riddell
2010-10-14 21:31:44 UTC
Permalink
This is a known missing feature from upstream. We are working to fix it
but unfortunately did not manage in time for maverick.
--
Cannot create samba user with kcontrol samba module
https://bugs.launchpad.net/bugs/16575
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
Bug Watch Updater
2011-02-04 17:21:55 UTC
Permalink
** Changed in: kdebase
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
https://bugs.launchpad.net/bugs/16575

Title:
Cannot create samba user with kcontrol samba module
Thomas Hotz
2013-05-04 05:24:15 UTC
Permalink
** Changed in: kdenetwork (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/16575

Title:
Cannot create samba user with kcontrol samba module

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/16575/+subscriptions
AndrewBC
2013-05-04 07:19:32 UTC
Permalink
I'd forgotten all about this!

D'ja mean to stay that this major usability bug, first reported in 2005,
is still not fixed?

As someone said, "This is a standard use case: add a user to allow
sharing files. "

Note that this isn't an obscure kernel regression - it's just ordinary
code looking for the wrong database file.

Depressing.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/16575

Title:
Cannot create samba user with kcontrol samba module

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/16575/+subscriptions
Bug Watch Updater
2018-09-05 10:21:00 UTC
Permalink
Launchpad has imported 19 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=94828.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2004-12-10T17:54:48+00:00 Gilles-sabourin wrote:

Version: (using KDE KDE 3.3.2)
Installed from: SuSE RPMs
OS: Linux

In KDE configuration control center, I have added my personal UNIX
account into samba user list to be able to browse shared directories on
the local server.

Next time, I came back into users tab. I could not see my account into
samba users list. Only root user was left.

samba security level is " user ".

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/0

------------------------------------------------------------------------
On 2005-04-03T16:41:21+00:00 Markus Mauder wrote:

I can reproduce this problem with KDE 3.4.0 (kubuntu)

Also, I want to add that when I add a user, apply remains disabled. This
is not a problem for any other setting in this particular module, so I
thought it might be related.

Thanks for this module. It's tools like this that make Linux easy to
use.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/2

------------------------------------------------------------------------
On 2005-10-09T13:28:16+00:00 Benjamin Bach wrote:

I can completely confirm this. Actually I've never seen this particular
feature work and I've tested it in every new KDE version since 3.3.x.
Using "smbpasswd -a" from command line works no problem. The user also
shows up in kcmsamba.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/5

------------------------------------------------------------------------
On 2006-05-27T09:16:58+00:00 Sebastien-rohaut wrote:

Excactly the seame problem in KDE 3.5.1 and 3.5.2 (SUSE 10.1). Users are
not added to /etc/samba/smbpasswd file and I have to use the smbpasswd
command.

I don't know if it's the same problem but you cannot modify the "passwd
chat" field in advanced security options.

i hope this will be corrected soon because there is a long time this bug
is present...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/8

------------------------------------------------------------------------
On 2007-02-11T18:19:37+00:00 Darkvision wrote:

Hi...

I can second this bug and i searched for the problem.

To see what causes this issue i modified the kdenetowrk-3.5.6 sources:
=>kdenetwork/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp


KProcess p;
p << "smbpasswd" << "-a" << user.name;

p << password;

connect( &p, SIGNAL(receivedStdout(KProcess*,char*,int)),
this, SLOT(smbpasswdStdOutReceived(KProcess*,char*,int)));

_smbpasswdOutput = "";

...
...
...

I changed "smbpasswd" into "smbdebug" and created a new executable
/usr/bin/smbdebug file:

#!/bin/sh
echo "$3" >/tmp/PASSWD
echo "$3" >>/tmp/PASSWD
smbpasswd -a $2 <</tmp/PASSWD

so smbdebug just get the user+pass and call smbpasswd itself. Using this
"workaround" will at least create the new user in
/etc/samba/private/smbpasswd.


When i enable "PASSWORD DEBUGGING" in the options i get this when starting kcontrol from shell after adding a new user to Samba:


kcontrol
filesharing: loading /etc/samba/smb.conf
filesharing: SambaFile::load: path=/etc/samba/smb.conf
filesharing: Samba version = 3
Load smb config files from /dev/null
Loaded services file OK.
Server role: ROLE_STANDALONE
filesharing: setOn : 2
filesharing: setOn : 3
filesharing: setOn : 2
filesharing: setOn : 3
filesharing: setOn : 2
filesharing: setOn : 3
filesharing: When run by root:
smbpasswd [options] [username]
otherwise:
smbpasswd [options]

options:
-L local mode (must be first option)
-h print this usage message
-s use stdin for password prompt
-c smb.conf file Use the given path to the smb.conf file
-D LEVEL debug level
-r MACHINE remote machine
-U USER remote username

extra options when run by root or in local mode:
-a add user
-d disable user
-e enable user
-i interdomain trust account
-m machine trust account
-n set no password
-W use stdin ldap admin password
-w PASSWORD ldap admin password
-x delete user
-R ORDER name resolve order

filesharing:
filesharing: setOn : 2
filesharing: setOn : 3


Looks like the smbpasswd command does not work properly when called from kcontrol but it seem to work nice when called from my temp script.

Markus


Reply at: https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/12

------------------------------------------------------------------------
On 2007-02-11T18:41:41+00:00 Darkvision wrote:

P.S.

Sorry... i posted the wrong smbdebug script:

#!/bin/sh
echo "$0" >/root/LOGFILE
echo "$1" >>/root/LOGFILE
echo "$2" >>/root/LOGFILE
echo "$3" >>/root/LOGFILE
echo "$4" >>/root/LOGFILE
echo "$5" >>/root/LOGFILE
echo "$3" >/root/PASSWD
echo "$4" >>/root/PASSWD
smbpasswd -a $2 <</root/PASSWD

Sorry for that. But here is the output from kcontrol after using this
script:

kcontrol
filesharing: loading /etc/samba/smb.conf
filesharing: SambaFile::load: path=/etc/samba/smb.conf
filesharing: Samba version = 3
Load smb config files from /dev/null
Loaded services file OK.
Server role: ROLE_STANDALONE
filesharing: setOn : 2
filesharing: setOn : 3
filesharing: setOn : 2
filesharing: setOn : 3
filesharing: setOn : 2
filesharing: setOn : 3
New SMB password:
Retype new SMB password:
filesharing: Added user slacker.
filesharing:
filesharing: setOn : 2
filesharing: setOn : 3

Markus


Reply at: https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/13

------------------------------------------------------------------------
On 2007-02-11T18:55:33+00:00 Darkvision wrote:

I just see that "Platform" of this bug is set to "SuSE RPMs"... i
compiled KDE 3.5.6 from source on Slackware 11.0/Samba 3.0.23c. Just in
case that this could be helpful to solve that issue.

Markus


Reply at: https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/14

------------------------------------------------------------------------
On 2007-04-01T10:20:50+00:00 Marco Cimmino wrote:

Bug present also under kununtu 6.10 Edgy with KDE 3.5.6, any chance to
have fixed for the last kde 3.5.7?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/15

------------------------------------------------------------------------
On 2007-04-01T10:21:23+00:00 Marco Cimmino wrote:

*** This bug has been confirmed by popular vote. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/16

------------------------------------------------------------------------
On 2007-05-29T04:50:17+00:00 Maiko Herajin wrote:

I have the same problem as well. This may also be related to an issue
where clicking to add users to a share brings up a list of blank users.
Only through the advanced button can users be added.

I can't believe this isn't a problem or a priority for anyone other than
us, considering it's been around since 2005!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/20

------------------------------------------------------------------------
On 2007-12-31T16:51:31+00:00 Jan Schaefer wrote:

Sorry, the bug has been assigned to Alexander Neundorf, but I am the
responsible developer. It seems that Alexander has overseen this and did
not complain.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/27

------------------------------------------------------------------------
On 2008-01-01T21:01:04+00:00 Jan Schaefer wrote:

*** Bug 137685 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/28

------------------------------------------------------------------------
On 2008-01-03T09:01:19+00:00 Jan Schaefer wrote:

*** Bug 132557 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/30

------------------------------------------------------------------------
On 2008-02-08T16:33:23+00:00 Marco Cimmino wrote:

is there a way to get this fixed for 3.5.9? Is 4 years old :(

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/31

------------------------------------------------------------------------
On 2008-02-18T09:35:32+00:00 Jan Schaefer wrote:

No it will not be fixed in 3.5.9, I am sorry. The bug is more difficult
to fix then expected.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/32

------------------------------------------------------------------------
On 2008-05-10T16:02:19+00:00 Jan Schaefer wrote:

*** Bug 139623 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/33

------------------------------------------------------------------------
On 2008-10-22T21:35:20+00:00 Vlbel wrote:

Created attachment 28068
fixes bug when unable to add samba user, and another bug when unable to add samba user to a user list of a share

This patch fixes two bugs in samba kcontrol module.
The first one: it was impossible to add new samba user.
The second one: it was impossible to add samba users to a list of (for example rejected) users of a share.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/34

------------------------------------------------------------------------
On 2010-10-05T01:22:33+00:00 Eckhart Wörner wrote:

What's the status of this bug? A patch has been proposed in 2008, since
then no reaction.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/45

------------------------------------------------------------------------
On 2018-09-04T18:07:31+00:00 Andrew-crouthamel wrote:

Hello! Sorry to be the bearer of bad news, but this project has been
unmaintained for many years so I am closing this bug. Kcontrol has been
replaced by System Settings in Plasma. Please give the latest version of
that a try, and open a new bug in "systemsettings" if you continue to
have an issue. Thank you!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/16575/comments/49


** Changed in: kde-baseapps
Status: Confirmed => Unknown
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/16575

Title:
Cannot create samba user with kcontrol samba module

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/16575/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo
Loading...