LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-10-2005, 09:37 PM   #1
gsgleason
Member
 
Registered: Oct 2004
Posts: 69

Rep: Reputation: 15
please help with my samba config!!!


Here's my smb.conf file:

Quote:
[global]
workgroup = WORKGROUP
netbios name = slackbox
bind interfaces only = True
interfaces = eth0
log file = /var/log/samba/%m.log
socket options = IPTOS_LOWDELAY TCP_NODELAY
debug level = 1
create mask = 0644
directory mask = 0755
guest account = guest
security = user

[movies]
path = /usr/movies
comment = movies
valid users = gsgleaso, guest
root directory = /usr/movies
admin users = gsgleaso
browsable = Yes
guest ok = yes
read only = no

My goal is to force users to login with the guest username and password, which i created with the slackware adduser command, and also added with smbpasswd -a guest, and i gave it the same password for the linux user and the samba user.

additionally, I only want write access with a login that only I know, gsgleaso. I created the linux user and samba user similarly.

My issue is that when I access the share from my winxp box, it prompts me fore username and password, but it will not work, saying it's not accessible and that I may not have the appropriate permissions.

help! If this is totally wrong for my goal, please advise.

[EDIT] okay this is weird. if, from windows, I hit start, run, and type \\<ip address of server>\movies then it seems to work.

if i type \\<netbios name of server>\movies then it doesn't work. any thoughts?

Last edited by gsgleason; 03-10-2005 at 10:10 PM.
 
Old 03-10-2005, 10:24 PM   #2
gsgleason
Member
 
Registered: Oct 2004
Posts: 69

Original Poster
Rep: Reputation: 15
fixed

okay I found the problem. stupid windows.

I had to right click on my network places and disconnect network drive (even though none were mapped, it created mappings when you connect via network neighborhood and remembers the settings) and remove all instances of this share. it then started behaving as i suspected it should.

reading the man page for smb.conf actually helps! yay!
 
  


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
Samba Config wormraper Debian 3 05-15-2005 01:41 AM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 09:36 AM
Samba config eqxro Linux - Software 1 06-01-2004 06:18 AM
Samba config kp_cincy Linux - General 2 03-31-2004 09:04 PM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:22 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
Open Source Consulting | Domain Registration