Juts Posted January 20, 2008 Share Posted January 20, 2008 I'm trying to set up samba in order to share some media on my home network. I don't want to have to set up user accounts, i just was everyone to have universal read-only access. my current smb.conf looks like this : [global] ; General server settings netbios name = justins server string = workgroup = mshome announce version = 5.0 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 passdb backend = tdbsam security = user null passwords = true username map = /etc/samba/smbusers name resolve order = hosts wins bcast wins support = yes printing = CUPS printcap name = CUPS syslog = 1 syslog only = yes ; NOTE: If you need access to the user home directories uncomment the ; lines below and adjust the settings to your hearts content. ;[homes] ;valid users = %S ;create mode = 0600 ;directory mode = 0755 ;browseable = no ;read only = no ;veto files = /*.{*}/.*/mail/bin/ ; NOTE: Only needed if you run samba as a primary domain controller. ; Not needed as this config doesn't cover that matter. ;[netlogon] ;path = /var/lib/samba/netlogon ;admin users = Administrator ;valid users = %U ;read only = no ; NOTE: Again - only needed if you're running a primary domain controller. ;[Profiles] ;path = /var/lib/samba/profiles ;valid users = %U ;create mode = 0600 ;directory mode = 0700 ;writeable = yes ;browseable = no ; NOTE: Inside this place you may build a printer driver repository for Windows [print$] path = /var/lib/samba/printers browseable = yes guest ok = yes read only = yes write list = root create mask = 0664 directory mask = 0775 [printers] path = /tmp printable = yes guest ok = yes browseable = no [Movies] path = /media/sda1/Movies browseable = yes read only = yes writable = no guest ok = yes public = yes The Movies folder at the end is what im wishing to share. Anyone have any ideas? Link to comment Share on other sites More sharing options...
Juts Posted January 20, 2008 Author Share Posted January 20, 2008 Someone mark this one as solved. I continued my google-saga until i came across the answer. change security=user to security = share Link to comment Share on other sites More sharing options...
Recommended Posts