Problems with Samba [Raspbmc, LAMP + Samba, Win7]
#1
Hello:

After see in a lot of blogs, forums, wikis,... I've decided to ask advice here. I have three computers: two Raspberrys and one PC. The Raspberrys I use them like LAMP server + Samba (to share all my files) and media center with Raspbmc. The PC and Raspbmc, share the database in the server like you wrote in the wiki. Great Job, it understood very well.

But now I'm setting up Samba and I have a lot of permissions troubles.

The Steps to configure Samba have been:

Create all off my computer users in the Samba server, with this order:

Code:
sudo useradd -m username

Give paswword to all users:

Code:
sudo pdgedit -a -u username

Also, I used others commands like

Code:
sudo smbpassd -a username

but they haven't solved my trouble.

Then I created a group and add all the users in that group
Code:
sudo groupadd usergroup

sudo usermod -G usergroup username
Check all the users belong to the group:

groups username

From here I don't know how continue. He checked everything, public, with users, read only, writeable,....

The only way I managed to copy files in the server it is with this code:

Code:
[global]
    workgroup = SCASA
    usershare allow guests = yes
    security=share
    follow symlinks = yes
    wide links = yes
    unix extensions = no
    lock directory = /var/cache/samba
[devices]
    browsable = yes
    read only = no
    guest ok = yes
    path = /media
    force user = root

This code I've copied it to the RaspBMC configurations and it's the only one it let me share files (read, write and, exe) between Windows 7 and Samba but RaspBMC always ask me about Lock Setting.

I think it is permission trouble but I'm not sure. Any suggestion?

Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Problems with Samba [Raspbmc, LAMP + Samba, Win7]0