LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-01-2010, 04:54 AM   #1
DebianUser
Member
 
Registered: Apr 2010
Posts: 88

Rep: Reputation: 15
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?
 
Old 12-01-2010, 07:51 AM   #2
barghota
Member
 
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
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
...
 
Old 12-01-2010, 03:18 PM   #3
DebianUser
Member
 
Registered: Apr 2010
Posts: 88

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 quick samba question blackzone Linux - Networking 1 09-03-2006 06:24 AM
Another quick samba question rayber2000 Linux - Networking 6 03-11-2005 10:07 AM
A quick SAMBA question Tap-Out Linux - Networking 1 03-18-2004 01:00 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 08:19 AM
Quick Samba question tarballed Linux - Networking 8 02-10-2003 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration