LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   quick samba user question (https://www.linuxquestions.org/questions/linux-software-2/quick-samba-user-question-847638/)

DebianUser 12-01-2010 03:54 AM

quick samba user question
 
I'm running samba on my debian box and accessing it via XP. I log into windows using username russel

On my samba box I have various users ie russelj/media which I can access fine however I now want to be able to access another samba users home folder but can't remember how to go about it.

I added

[Sarah]
comment = Sarah's Folder
path = /home/sarah
valid users = sarah russelj
public = no
writable = yes
printable = no
browseable = yes

and did smbpasswd -a sarah

When I try and map it via xp I get permission denied, basically I want to be able to view sarah's home via my russel xp login if that makes sense?

barghota 12-01-2010 06:51 AM

In [homes] section (if your are using it) you could use:
Quote:

admin users = russelj
valid users = %S
or if you could define an admin user per share
Quote:

[share]
...
admin users = russelj
...

DebianUser 12-01-2010 02:18 PM

I added

admin users = russelj

To the Homes section of the share and worked a treat many thanks. Any idea why it works this way and not by valid users = sarah russelj?


All times are GMT -5. The time now is 05:59 AM.