LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



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

Rep: Reputation: 15
Struggling With Smb.conf


Hey,

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:
Code:
[global]
		workgroup = HOMENET
		netbios name = SERVER
		server string = Linux Server
		log file = /var/log/samba/%m.log
		encrypt passwords = yes

[homes]
		read only = no
		browseable = no

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

[Private]
		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
http://img230.imageshack.us/img230/1...titled19nw.jpg
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.
Example:
\\server
http://img238.imageshack.us/img238/1...titled17ns.jpg

Can someone help me with the config?

Thanks in advance.

Regards,

FLX
 
Old 05-05-2006, 05:42 AM   #2
ALInux
Member
 
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
 
  


Reply

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


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