[wplug] Samba problem

Gentgeen gentgeen at linuxmail.org
Tue Jan 30 13:20:33 EST 2007


On Sun, 28 Jan 2007 22:51:29 -0500
"R.E.Coutch" <robert.coutch at verizon.net> wrote:

> Hi all,
> 
> I want to share files to various Linux and Windows2000 PC's on my home
> 
> network.
> 
> Since I use DHCP I wanted to use Samba for it's IP address independent
> 
> interface (via netbios names).
> 
> Here's the problem.
> 
> I have a Linux machine I want to serve up some Music files from.
> I want everyone to be able to read the files regardless if they have a
> local  account on the Media hosting PC.
> 
> I can NOT get guest working right.
> 
> If I told you everything I have tried this email would be HUGE.
> I'll try to keep this short.
> 
> I created a directory called /home/Music and created a share called
> Music in  smb.conf.  /home/Music is owned by coutchre.users with 755
> permissions.
> 
> I also added another directory called /home/test owned by nobody.
> 
> I set up samba for security = user, map to guest = Bad User, guest
> account =  nobody and added nobody to smbpasswd.
> (I have tried setting things up with security = share with no luck)
> 
> The share [Music] has guest ok = yes, guest only = Yes and path =
> /home/Music.
> 
> The share shows up on PC's browsing the network but attempting to
> access the  share gives the error "The network name can not be found."
> and nothing shows  in log.smbd - and yes, I googled the error message
> and found several other  with the same problem but no solution that
> works for me.
> 
> Even the test share gives the same error.
> 
> Users who DO have samba access to this PC can go to the users share
> and then  access the Music folder.
> This defeats the purpose of trying to set this up with guest access.
> 
> Anyone have some tips for me?
> 
> It looks like I'm down to 2 choices:
> 
> 1 - Add everyone who will access the folder to smbpasswd
> 2 - Give the machine a static IP and have apache serve the files
> 
> 
> Thanks in advance for any help,
> 
> Bob 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 



I have a "Multimedia" share on my linux box, that ANYONE on the network
can access through SAMBA.  
kevin at linuxbox:~$ ll /opt/
drwxr-xr-x  6 root root   176 2006-05-09 08:34 Multimedia


from smb.conf

[Multimedia]
        comment = Various Music and Video Files
        path = /opt/Multimedia
        read only = yes
        public = yes

I posted my full smb.conf at:

http://gentgeen.homelinux.org/~kevin/smb.conf

hope that helps some.

-- 
http://gentgeen.homelinux.org

#############################################################
 Associate yourself with men of good quality if you esteem    
 your own reputation; for 'tis better to be alone then in bad 
 company.        - George Washington, Rules of Civility


More information about the wplug mailing list