Bug 179014 - Can't add samba user from Samba control center
Summary: Can't add samba user from Samba control center
Status: VERIFIED NORESPONSE
: 462702 (view as bug list)
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: 64bit openSUSE 11.1
: P3 - Medium : Normal with 15 votes (vote)
Target Milestone: Final
Assignee: Jiří Suchomel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-26 07:21 UTC by Sebastien ROHAUT
Modified: 2009-10-27 08:12 UTC (History)
3 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien ROHAUT 2006-05-26 07:21:02 UTC
Hi,

As YaST Samba configuration tool can't create Samba users I used to create them with smbpasswd command. ButI wan't to use Samba configuration tool from KDE control Center (Personnal Setings ->Internet & Network ->Samba).

When I'm going to Users tab I can add an Unix User to the Samba User List. I apply or click OK but /etc/samba/smbpasswd file is not modified, my Samba user is not created. So if I come back to the Samba configuration my user is not listed in "Samba Users".

Can you repair it please ?
Comment 1 Slawek Ligus 2006-07-20 15:50:53 UTC
This bug was reported reported over 2 months ago and it still exists. I know that the severity level is a little bit to high for it, since you can add a user with smbpasswd, HOWEVER, it would be nice if somebody could enable this funny "apply" button (it's grey when you try to click on it - disabled). Thank you! 
Comment 2 Stephan Kulow 2006-07-21 09:04:41 UTC
the kde control center part will be removed I guess. Are you saying you can't create users with yast either? If so, then I suggest you file a bug report against yast - and that one would be major indeed.
Comment 3 Andreas Jaeger 2006-08-07 13:38:47 UTC
Has a new bug report created for this?  What needs to be done?
Comment 4 Dieter Ernst 2006-10-07 09:47:18 UTC
You say, that we can create Samba users with Yast: just tell me where, I could not find any such feature in yast.
Comment 5 Stephan Kulow 2006-10-10 11:22:42 UTC
I said a new bug should be created if it's not possible with yast
Comment 6 Dieter Ernst 2008-12-29 00:01:13 UTC
Even in OpenSuse 11.1, the users can't be added by the control center (though the GUI still seams to support the feature), and there is not possibility to add users and groups to Samba in the YAST modules.

The only way is still via console commands or WebMin. But I think that, adding samba users should be possible via a YAST dialog, and the control center should no longer display tabs that do not work, creating a lot of confusion.
Comment 7 Lubos Lunak 2009-01-07 13:43:46 UTC
*** Bug 462702 has been marked as a duplicate of this bug. ***
Comment 8 Lubos Lunak 2009-05-13 12:43:52 UTC
https://bugs.kde.org/show_bug.cgi?id=178187 for the KDE part, RESOLVED UPSTREAM.
Reassigning to Yast to have a look at the yast part of the bugreport.
Comment 9 Lukas Ocilka 2009-05-18 08:22:37 UTC
See comments #5, #6, and #8
Comment 10 Jiří Suchomel 2009-05-18 09:49:18 UTC
yast2-samba-server must be installed and configured so the Samba User plugins can be used.

Ralf, what needs to be done to activate UsersPluginSamba? There's init_samba_sid function that must succeed, what needs to be configured?
Comment 11 Ralf Haferkamp 2009-05-18 14:53:56 UTC
(In reply to comment #10)
> Ralf, what needs to be done to activate UsersPluginSamba? There's
> init_samba_sid function that must succeed, what needs to be configured?
Samba must be configured to use LDAP and the "sambaDomain" Object must be initialized. I.e. the domain's SID must be available in the LDAP server.

The "sambaDomain" object is usually created upon first startup of smbd or if smbpasswd/pdbedit is called, IIRC. (And that is usually done by yast2-samba-server)
Comment 12 Jiří Suchomel 2009-05-19 05:58:05 UTC
See previous comment: could you test it?
Comment 13 Jiří Suchomel 2009-06-01 13:08:43 UTC
Any news?
Comment 14 Jiří Suchomel 2009-09-16 09:39:00 UTC
Hey, could you please test the proposed solutions?
Comment 15 Jiří Suchomel 2009-10-27 08:12:17 UTC
No response.