Bug 12530 - impossible to use existing user with draksambashare
Summary: impossible to use existing user with draksambashare
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
: 13927 (view as bug list)
Depends on:
Blocks: 11778
  Show dependency treegraph
 
Reported: 2014-02-02 17:47 CET by jean luc unique
Modified: 2015-06-13 20:54 CEST (History)
9 users (show)

See Also:
Source RPM: drakx-net
CVE:
Status comment:


Attachments
screen shot (23.40 KB, image/png)
2014-02-02 17:48 CET, jean luc unique
Details

Description jean luc unique 2014-02-02 17:47:55 CET
In new release  MAGEIA 4 if i try to create a smb user, only root is possible as user no other choise !




Reproducible: 

Steps to Reproduce:
Comment 1 jean luc unique 2014-02-02 17:48:54 CET
Created attachment 4913 [details]
screen shot
Comment 2 Manuel Hiebel 2014-02-02 18:11:34 CET
on mga3 it propose users, looks a gtk regression

Blocks: (none) => 11778
Assignee: bugsquad => thierry.vignaud
Summary: impossible to create samba user => impossible to use existing user with draksambashare
Source RPM: dvd => drakx-net

Comment 3 David GEIGER 2014-02-07 21:52:37 CET
Hi,

I confirm this bug on my mga4 for x86_64 (full KDE).

The package must be involved is draksambashare.


mcc -> Network Sharing -> Share drives and directories...... -> tab Samba Users ->

click on Add button and try to add an user or your user system.
It is impossible because box (user nama) remains grayed out.

I can also confirm with the mga4-beta2 it still worked.

CC: (none) => geiger.david68210
Source RPM: drakx-net => draksambashare

Comment 4 Manuel Hiebel 2014-02-07 21:55:04 CET
yes but the srpm still drakx-net ;)

Source RPM: draksambashare => drakx-net

Comment 5 James Kerr 2014-02-08 13:18:39 CET
In case anyone hitting this bug isn't aware, you can add a samba user in a root terminal using:
smbpasswd -a username
where username is the name of the user that is to be added.
See "man smbpasswd" for details.
Comment 6 Florian Hubold 2014-03-02 23:05:44 CET
OK, that's a valid workaround. But there's no explanation so far why the add user button is greyed out for some users, and working for others :/

CC: (none) => doktor5000

Comment 7 Daniel Jackson 2014-03-04 17:56:32 CET
I confirm this bug, i installed Mageia 4 on 2 different pc's and only root is possible, please fix this.
I use mageia first of all because of the ease of sharing folders on the network, wich don't really apply now :)

Thank you

CC: (none) => daniel_jackson

Comment 8 Kevin McDowell 2014-05-27 00:52:24 CEST
I can also confirm this bug.  I'm not sure why the status of this bug report has been "new" for several months now.

Status: NEW => ASSIGNED
CC: (none) => kmcdowell

Comment 9 Florian Hubold 2014-05-27 20:58:34 CEST
(In reply to Kevin McDowell from comment #8)
> I'm not sure why the status of this bug report has been "new" for several months now.

Because the assignee will change that status once he accepted that bug and is actively working on it. Thierry currently has 233 bugs assigned to him:

https://bugs.mageia.org/buglist.cgi?list_id=28615&emailtype1=substring&emailassigned_to1=1&query_format=advanced&bug_status=NEW&bug_status=UNCONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=VERIFIED&email1=thierry.vignaud%40gmail.com

Feel free to help fix those bugs to maybe speed up things a little bit, or investigate yourself and send a patch for this bug. Simply changing status field will change nothing.

Status: ASSIGNED => NEW

Alex Loginov 2014-08-14 23:07:12 CEST

CC: (none) => loginov_alex

Comment 10 Remco Rijnders 2014-08-18 19:29:37 CEST
*** Bug 13927 has been marked as a duplicate of this bug. ***
Comment 11 nikos papadopoulos 2014-09-10 01:21:41 CEST
According to this link...
http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/
> NOTE: Unlike Samba 3, Samba 4 does not require a local Unix user 
> for each Samba user that is created. Please see this note for more info.

"this note"...
http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/#samba4
> Unlike Samba version 3.x and earlier, Samba version 4.x does not require 
> a local Unix/Linux user for each Samba user that is created. 
> The command is as follows for adding users into Samba Active Directory:
>   # /usr/local/samba/bin/samba-tool user add USERNAME-HERE
> OR
>   # samba-tool user add USERNAME-HERE

So this dialog box needs to change...

see also bug 12708

CC: (none) => 231036448

Comment 12 nikos papadopoulos 2014-09-10 01:31:36 CEST
by the way, this bug is also in i586, Mageia 4

Hardware: x86_64 => All

Comment 13 Florian Hubold 2014-09-10 07:33:33 CEST
(In reply to nikos papadopoulos from comment #11)
> According to this link...
> http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/
> > NOTE: Unlike Samba 3, Samba 4 does not require a local Unix user 
> > for each Samba user that is created. Please see this note for more info.

By default we're using samba 3 ...
Comment 14 nikos papadopoulos 2014-09-10 15:35:38 CEST
(In reply to Florian Hubold from comment #13)
> By default we're using samba 3 ...

for ever ?  ;)
Comment 15 Pierre BACHY 2014-12-21 19:52:44 CET
Nothing change in 2 mounth, add user bug in Mageia 4 (and 5 too)

CC: (none) => Pierrot

Comment 16 Olivier Placais 2015-02-22 09:46:50 CET
I have the same bug on Mageia 5 beta 3.

Impossiblity to create a user with draksambashare.
If you choose Add, there is no user in the select List.

If I first create the user in Konsole with "smbpasswd -a", the user is in the select list.

Regard's

CC: (none) => olivier.placais

Thierry Vignaud 2015-05-19 11:36:48 CEST

Attachment 4913 filename: capture d'écran1.png => screenshot1.png
Attachment 4913 description: screeb shot => screen shot

Comment 17 Thierry Vignaud 2015-05-19 11:43:55 CEST
Bug fixed in local git

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 18 Mageia Robot 2015-05-19 18:37:19 CEST
commit 7529efa417d1d0cc30b66e996c191848a74bbe21
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Tue May 19 05:42:16 2015 -0400

    fix empty user list (mga#12530)
    
    just use simpler Gtk3::ComboBoxText
    
    bug introduced in commit 4a4453328a1a2051307f44e6c1c200625666ba16 when
    switching from gtk2 to gtk3
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx-net/commit/?id=7529efa417d1d0cc30b66e996c191848a74bbe21
Comment 19 Thierry Vignaud 2015-05-19 19:16:58 CEST
We now need to push drakx-net-2.20 to mga4
Comment 20 Lewis Smith 2015-06-13 20:54:48 CEST
Confirm fixed by the update from Bug 16081 (MGA4 x64).

CC: (none) => lewyssmith


Note You need to log in before you can comment on or make changes to this bug.