LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-22-2006, 10:26 PM   #1
combilli
Member
 
Registered: Oct 2006
Posts: 75

Rep: Reputation: 15
Noob problem about Samba. please help


I'm trying to setup a samba file server..

I'm just using a simple conf file:


workgroup = Workgroup
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd


[home]
path = /home/user
browseable = yes
writable = yes
valid user = %S


[everyone]
.....
.....
#Public folder setting here in /tmp




I cannot access to the user's home folder.[I use \\192.168.173.104 to connect to the server,then I entered my username and password]

I can see both [home] and [everyone folder].
But I can't access to [home]. It said network access denined.

But the everyone folder is working normally.
why this happen? I've just type the same text from a tutorial.
Why is this happening?
And how can I fix it?
 
Old 10-22-2006, 10:37 PM   #2
zdenisl
Member
 
Registered: Nov 2005
Distribution: CentOS-4
Posts: 41

Rep: Reputation: 15
For home shares samba uses [homes] (with the "s" at the end). Samba maps users (with valid linux ID's) to their home directory via this share.

Here's what I use.
Code:
[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	browseable = No
 
Old 10-22-2006, 10:49 PM   #3
combilli
Member
 
Registered: Oct 2006
Posts: 75

Original Poster
Rep: Reputation: 15
I got it

I find that the script is wrong that I added incorrect path for home.

I set the home directory all user can see all directories, but they can only access theirs.

Is there a way to set the user can only see his folder and a public area?
 
  


Reply



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
simple noob question (samba) Slimster Ubuntu 4 10-29-2005 07:16 AM
simple noob question (samba) Slimster Debian 3 10-03-2005 09:53 AM
Samba Noob Needs Help. Please. deleted/ Linux - Networking 1 09-27-2005 11:39 AM
noob Samba on FC4 Ray4389 Linux - Networking 7 08-04-2005 11:40 AM
Help with samba (noob question) X_Ray_Cat Linux - Networking 1 07-27-2003 02:14 AM

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

All times are GMT -5. The time now is 12:44 PM.

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