LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2006, 01:57 AM   #1
canuck_barlow
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5
Posts: 64

Rep: Reputation: 15
Samba User Folder


Hey,

I've just setup Samba with user security. For some reason when I view the server in Windows My Network Places, I can view and access the /home folder for the smb users. I don't want this because I want to only share the folders I have setup in smb.conf.

Has this happened to anybody else and does anybody know how to fix it?
 
Old 09-28-2006, 04:17 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
this has got everybody as default so no wondering.
If you didn't used such silly stuff like SWAT and you did from scrap you should
have seen the line in your smb.conf

[homes]
comment = Home Directories
browseable = no
writable = yes

just put a # infront of the lines. would be the easiest way.
 
Old 09-28-2006, 01:56 PM   #3
canuck_barlow
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5
Posts: 64

Original Poster
Rep: Reputation: 15
Yup I'm configuring it directly in the files. Thanks I was wondering what the [homes] stanza was for.

One thing that is still kind of weird is I can access the share by writing in the network places address (\\192.168.1.103) but when I try to view all the workspace computers, I see the server but I can't double click into it because it says "\\Localhost is not available". I have a feeling this isn't a Samba issue but a DNS one since its looking for localhost. Is this assumption correct?
 
Old 09-28-2006, 02:11 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,372

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
If the hostname of your FC5 is localhost then you will have the same problem. samba by default uses the hostname of the computer as a netbios name. In the global section add the line
netbios name = some_name

Restart samba
 
  


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
I can not open the user folder in home and write in a shared folder jorge_ivan Linux - General 8 08-02-2006 11:28 AM
Samba, roaming profiles, user access, printing and folder redirection... GD_19 Linux - Networking 1 08-30-2005 01:16 AM
samba : access denied for some user in same NT group on a folder mtrento Linux - Networking 0 06-27-2005 10:01 AM
restrict user to folder disorderly Linux - Security 5 03-02-2005 09:49 PM
how to setup folder permissions for guest user with samba? wza Linux - Networking 0 07-08-2004 09:26 AM


All times are GMT -5. The time now is 06:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration