Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SAMBA] Windows keeps stuck in Guest account
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Parasietje
Apprentice
Apprentice


Joined: 25 Jan 2004
Posts: 194

PostPosted: Sat Dec 18, 2004 10:18 pm    Post subject: [SAMBA] Windows keeps stuck in Guest account Reply with quote

I've configured my samba server in security = share mode. I have some public shares, and one private share. The problem is that using windows, I can't log in to the private share. It asks for a password but the "User:" field gets greyed out. The command "net use" in a dos prompt and "smbclient" in linux do work. Maybe this is the wrong forum to ask this, but how do I fix this?
This is the relevant code from smb.conf:
Code:

[global]
security = share
map to guest = bad user

passdb backend = mysql:pass
pass:mysql user = samba
pass:mysql password = twjgxhca

[MyDocuments]
comment = Personal dir for all users
writeable = yes
browseable = yes
path = /mnt/data/seagate/homedirs/%u
public = yes
guest ok = no
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sun Dec 19, 2004 9:20 am    Post subject: Reply with quote

guest ok and public are the same thing you have one set to yes and the other to no this is a contradiction.
Also I advise the user of user level security rather than share.
Back to top
View user's profile Send private message
micaheli
n00b
n00b


Joined: 28 Sep 2004
Posts: 18

PostPosted: Wed May 11, 2005 6:31 am    Post subject: Reply with quote

I realize I am bringing this thread from the dead, but.. I read this and as much as you can recommend user over share level security.. for LOTS of scenarios I've used samba in, user level just doesn't cut it..

Lets say you want a guest only (NO USERNAME) share and you want people to be able to browse the IPC freely but have passwords on a per-share basis... you can't do that in USER.. only share.

Unless you know a way to force a guest login in the configfile under user level security, I don't think user level should be "recommended" in this case.

He even said "I have some public shares, and one private share.". That rules out USER level. Am I right? Keep in mind, I'm only referring to actual samba docs when I say these things.... I MIGHT NOT be right.... I'd LOVE to be proven wrong in this case though. :)

--Micah
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum