Samba + Centos (Share not working)

44

Samba shares need both users and settings. I'm sure you already have CentOS users, but do you also have Samba users setup?

smbpasswd -a joe

you can also add the following line to your share definitions

[ruby]
valid users = joe randi insert-samba-user-here

Oh and make sure you reload samba via

service smb restart

(Note, most code taken from: http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/ )

Share:
44

Related videos on Youtube

Marcos Placona
Author by

Marcos Placona

Updated on September 17, 2022

Comments

  • Marcos Placona
    Marcos Placona over 1 year

    How to tell the browser that if css or js files are in not modified (303) state than load it from cache otherwise get it from server?

    I have this htacces so far, but this rule has to be overridden if there is any change:

    # Turn on Expires and set default to 0
    ExpiresActive On
    ExpiresDefault A0
    
    # Set up caching on media files for 6 MONTH
    <FilesMatch "\.(png|ico|css|js)$">
    ExpiresDefault A604800
    </FilesMatch>
    
  • Admin
    Admin almost 12 years
    I have tested this but not modified files aren't loaded from cache.(Only the files with OK state)