View previous topic :: View next topic |
Author |
Message |
Parasietje Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 25 Jan 2004 Posts: 194
|
Posted: Sat Dec 18, 2004 10:18 pm Post subject: [SAMBA] Windows keeps stuck in Guest account |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Sun Dec 19, 2004 9:20 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
micaheli n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Sep 2004 Posts: 18
|
Posted: Wed May 11, 2005 6:31 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|