View Full Version : [ubuntu] eBox - Samba - Questions.
Roasted
September 20th, 2010, 08:29 PM
In my ongoing hunt for a Samba GUI that is feature packed, well supported, easy to use, yet doesn't suck, I found myself tinkering with eBox. I have it installed and fired up but I'm a little confused. I can add a Samba share - okay great. But I sorta need to add users. Where on earth can I add users? The users and group section of eBox doesn't appear to be related to what I need, and I also cannot get into the access control section of the very share I just created.
Any thoughts?
windependence
September 20th, 2010, 11:56 PM
Maybe.......learn a little tiny bit of <horror> command line?
There are two steps to creating a user. First we’ll run the smbpasswd utility to create a samba password for the user.
sudo smbpasswd -a <username>
Next, we’ll add that username to the smbusers file.
sudo gedit /etc/samba/smbusers
Add in the following line, substituting the username with the one you want to give access to. The format is <ubuntuusername> = “<samba username>”. You can use a different samba user name to map to an ubuntu account, but that’s not really necessary right now.
<username> = “<username>”
Now you can create samba shares and give access to the users that you listed here.
Roasted
September 21st, 2010, 03:16 AM
Ha - I'm actually quite comfortable with the command line. As I was reading about eBox, I was reading that the newer version doesn't utilize the smbpasswd command. But then again, maybe that was gadmin-samba. Geez... I kind of forget now.
CharlesA
September 21st, 2010, 03:56 AM
There are two steps to creating a user. First we’ll run the smbpasswd utility to create a samba password for the user.
sudo smbpasswd -a <username>
Next, we’ll add that username to the smbusers file.
sudo gedit /etc/samba/smbusers
Add in the following line, substituting the username with the one you want to give access to. The format is <ubuntuusername> = “<samba username>”. You can use a different samba user name to map to an ubuntu account, but that’s not really necessary right now.
<username> = “<username>”
Maybe I'm a bit daft, but I've only ever needed to use smbpasswd -a <username> to allow the users access thru samba. Then again, those users have unix accounts already. *shrug*
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.