LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Shared folder on Linux feisty fawn but on windows asks for password? (https://www.linuxquestions.org/questions/linux-networking-3/shared-folder-on-linux-feisty-fawn-but-on-windows-asks-for-password-560347/)

what_ever101 06-08-2007 08:44 PM

Shared folder on Linux feisty fawn but on windows asks for password?
 
I shared a folder on Linux Ubuntu Feisty Fawn and my other computer (running on XP) can see it but when i try to access it, it asks for a username/password?:Pengy:

maroonbaboon 06-08-2007 11:47 PM

You should check your smb.conf file (most likely in directory /etc/samba). In the [global] section if you have

security = user

(the default) I think you also need

map to guest = Bad User

Then in the description of the share (here called 'Public') you need something like

[Public]
comment = Shared data
path = /home/shared
public = Yes
read only = Yes
directory mask = 0777

One of the best explanations of all the parameters is the online documentation, which you should find at

http://localhost:901/swat/help/manpages/smb.conf.5.html

Maybe a real Samba expert will now tell me why not to do things this way:)


All times are GMT -5. The time now is 10:41 PM.