[KLUG Members] getting samba share completely anonymous

Richard Harding rick at ricksweb.info
Wed Dec 1 08:01:09 EST 2004


Adam Tauno Williams wrote:

>>I have a usb drive with a bunch of mp3s I share at work and I am trying 
>>to get up samba to share them to everyone without requiring any sort of 
>>login.
>>I have set up the samba server as a share auth type and I can mount the 
>>drive just fine as root and users on the system.
>>I am running into the problem that I can see the share, but get access 
>>denied when attempting to connect to it via a Windows XP machine. I am 
>>wondering if the fact that all of the files are owned by root have 
>>something to do with it.
>>My smb.conf share:
>>[music]
>>   path=/mnt/music
>>   browseable=yes
>>   public=yes
>>   read only=yes
>>   guest ok = yes
>>fstab entry (it's an ntfs drive):
>>/dev/sda1       /mnt/music      auto    ro,users,noauto    0       0
>>Can anyone point me to a howto or have any ideas of what I need to 
>>check? 
>>    
>>
>
>You have the guest user set to a valid account, and your mapping 'bad user' to
>guest?
>_______________________________________________
>Members mailing list
>Members at kalamazoolinux.org
>
>  
>
I ended up copying the files to the hard drive, giving ownership to 
nobody, forcing user to nobody and that seems to have worked.


More information about the Members mailing list