LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-30-2004, 08:18 AM   #1
vman33197
LQ Newbie
 
Registered: Dec 2003
Posts: 6

Rep: Reputation: 0
Samba setup - no passwords


Just installed Fedora Core 1 on a computer on my home network. I am trying to set up a Samba server so I can create a shared directory for my mp3s and other common files. I believe I have everything installed - I know my network is working ok - I can surf from the linux box, and can ping it from my Windows computers (and vice-versa). The linux box appears in the network neighborhood, but when I try to access it, it gives me an error - "\\Server is not accessible blah blah blah. The network path was not found". Any ideas - the following are the 'active' lines in my samb.conf:

workgroup = keszler
server string = server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username map = /etc/samba/smbusers
password server = None
guest ok = yes
guest account = verle
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
[mp3]
comment = MP3
path = /mnt/mp3
writeable = yes
guest ok = yes

Also, I use both Windows 98 and XP pro machines - I don't typically use passwords to log in to these machines except for the XP administrator accounts. Can Samba be set up to allow access without user password authentication? If so, how is this done, so I don't have to set up all my Windows machines to require passwords to log on (I realize this is a bit of a security issue, but ...

Thanks for any help.
 
Old 05-05-2004, 10:14 AM   #2
jmorse
Member
 
Registered: Mar 2004
Location: United Kingdom
Distribution: LFS
Posts: 74

Rep: Reputation: 15
I have a smiliar setup, however my smb.conf has an extra line in globals, reading:
security = share

This appears to tell Samba to only ask for passwords for shares, as opposed to accessing accessing the file server.

If you use 'force group' and 'force user' then any remote machine will be logged in as the user and group you specify. This gives you a little control over the security. Setting these to 'nobody' should prevent a password being asked for. The downside is that 'nobody' has fairly limited access rights!

Last edited by jmorse; 05-05-2004 at 10:15 AM.
 
  


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
How to setup samba client to use plain passwords pinknick Linux - Networking 3 11-30-2005 06:45 PM
samba and passwords mega man Linux - Networking 2 06-14-2005 04:31 AM
Samba Passwords klatch Linux - Newbie 2 03-28-2004 06:18 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 11:59 AM
Samba passwords cic Linux - Networking 3 08-14-2002 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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