[mdlug] Samba issues.

Bob bob at starlinephoto.com
Mon Nov 24 08:07:56 EST 2014


Run testparm -s /etc/samba/smb.conf

us your path to the samba config file, see if anything pops out.

You can ping the server right?

Run these on the server:

 smbclient -L 'your host name' -N

 nmblookup -U 127.0.0.1 'your host name'

Simplify one of your shares to the bare minimum config, something like this

# A sample share for sharing photos with others.
[photos]
   comment = Sample photos
   read only = yes
   locking = no
   path = /Data/photos/samples
   guest ok = yes

Bob

On 11/23/2014 03:35 PM, R Kannan wrote:
> Hello
>
> I have been trying to set up a samba server on Ubuntu 12.04 so that I
> can share videos, recordings and pictures. But I am not able to see any
> of the shares from Windows 7 laptops. It has been a while since I set up
> Samba and so I might be missing something.
>
> My /etc/samba/smb.conf looks like...
>
> [global]
>         workgroup = kannanhome
>         server string = %h server (Samba, Mythbuntu)
>         log file = /var/log/samba/log.%m
>         max log size = 1000
>         syslog = 0
>         panic action = /usr/share/samba/panic-action %d
>         dns proxy = no
>         security = share
> ;       encrypt passwords = yes
>         guest ok = yes
>         guest account = mythtv
>
> [recordings]
>         comment = TV Recordings
>         path = /srv/MythTV/recordings
>         guest ok = yes
> ;       writeable = No
>         create mask = 0777
>         directory mask = 0777
>         force user = nobody
>         force group = nogroup
> ;       browseable = yes
>
> [videos]
>         comment = Videos
>         path = /srv/MythTV/videos
>         guest ok = yes
> ;       writeable = no
>         create mask = 0660
>         directory mask = 0770
>         force user = mythtv
>         force group = mythtv
> ;       browseable = yes
>
> [music]
>         comment = Music
>         path = /srv/MythTV/music
>         guest ok = yes
> ;       writeable = no
>         create mask = 0660
>         directory mask = 0770
>         force user = mythtv
>         force group = mythtv
> ;       browseable = yes
>
>
> mythtv is a valid user on the ubuntu box. Any ideas?
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug



More information about the mdlug mailing list