Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-16-2005, 09:19 AM   #1
Registered: Oct 2002
Posts: 38

Rep: Reputation: 15
public samba share not working for windows clients


have trouble setting up a public share in samba.

Got security set to user. Have several system users who use samba. They are devided into groups and shares have different write lists etc. So security = share is not acceptable.

I now got a request to add a public share for guests, that would be random folks on the internal network.

comment = bla
path = /var/bla
read only = yes
guest ok = yes
write list = @staff
browseable = yes

in [global] I added guest account = yes.

I didn't create any "guest" user in /etc/passwd nor /etc/samba/smbpasswd, as I understand I don't need to either.

I tested it with smbclient from a remote linux box first and it worked just perfect, but the password had to be blank/missing. If I specified one, I got access denied.

When I try to connect from a WinXP machine, I can't get in. It throws a new login window at me when I specify the user 'guest' and no password. The same with a random password.

My theory is, that windows sends some junk password/hash anyway with user "guest", although I didn't type anything in. If that's the problem, how do I tell samba to ignore the password all together. Otherwise, what else could possibly cause this?

'guest only = yes' is not an acceptable option and it didn't work anyway.

Old 12-16-2005, 10:15 AM   #2
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
chown nobody:nobody /var/bla


In global meta-service
add a line
map to guest = Bad user
Thats it.

Old 12-16-2005, 11:32 AM   #3
Registered: Oct 2002
Posts: 38

Original Poster
Rep: Reputation: 15

Originally Posted by amitsharma_26
"map to guest = Bad user"
That was it, thanks a lot!


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
windows clients cannot see samba share marcbachman Red Hat 2 12-10-2008 07:06 AM
Samba public share FNC Linux - Software 9 11-14-2005 08:54 PM
public share not working with XP RyanB Linux - Networking 10 10-15-2004 07:23 PM
Sharing the samba share with windows clients vignesh2004 Member Intro 0 06-18-2004 05:14 AM
public share in samba brasuca Linux - Software 2 05-10-2004 10:07 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:27 PM.

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