LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-16-2005, 08:19 AM   #1
kilgor
Member
 
Registered: Oct 2002
Posts: 38

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


Hi,

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.

[public]
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.

Thanks.
 
Old 12-16-2005, 09:15 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

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

&

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

..amit..
 
Old 12-16-2005, 10:32 AM   #3
kilgor
Member
 
Registered: Oct 2002
Posts: 38

Original Poster
Rep: Reputation: 15
solved

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


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


All times are GMT -5. The time now is 04:52 AM.

Main Menu
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