Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-05-2006, 03:32 AM   #1
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Rep: Reputation: 15
Struggling With Smb.conf


I have a fedora core 5 box and i'm setting up samba so users can store their own files either public or private.

here is a lil architecture i would like to have:

Linux Server (everyone can view the folders, but needs to authenticate for some)
+----[Public] - everyone can view, guests also
+----[Private] - Asks for authentication, and goes to the appropriate user folder (e.g /private/flx) with /private/%U. Example: if i login with the user "test01" the Private folder will use /private/test01/

the problem is with [Private] and the fact it already asks for authentication when i approach the server (\\server).
I cant view any of the folders before authenticating

Here is my config:
		workgroup = HOMENET
		netbios name = SERVER
		server string = Linux Server
		log file = /var/log/samba/%m.log
		encrypt passwords = yes

		read only = no
		browseable = no

		comment = Public Directory
		path = /shared
		read only = no
		browseable = yes

		comment = User Directory
		path = /private/%U
		read only = no
		browseable = yes
i created flx and nobody.

Anyway, i know that its also possible in windows.
Here is another illustration.

If security = share i can view the folder index and the insides of the Public folder.
But as soon as i want to enter the Private folder i get this:
approaching: \\server\Private
The problem here is that the user field is greyed out!

When i put security = user i can't view the index folders nor the inside of the Public folder because it already asks for permission.

Can someone help me with the config?

Thanks in advance.


Old 05-05-2006, 04:42 AM   #2
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 668
Blog Entries: 7

Rep: Reputation: 31
I think you need to set the guest user.. in debian it is nobody..but that is set in global..I will send you my smb.conf when I get home i have a similar setup...and security should be set to user


authentication, fedora, samba, smb, smbconf

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
smb.conf example xox Linux - Networking 7 10-09-2010 02:04 AM
Help with smb.conf TomalakBORG Linux - Networking 5 03-07-2006 08:51 PM
smb.conf Volcano Linux - Newbie 4 10-25-2005 08:49 PM
samba conf smb.conf regnier Mandriva 5 02-17-2005 04:27 AM
smb.conf help PlatinumRik Linux - Networking 6 05-29-2003 01:30 PM

All times are GMT -5. The time now is 03:47 AM.

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