How to Install Samba4 on CentOS 7 for File Sharing on Windows

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

30 Responses

  1. Ardian says:

    Hi,

    My nessus scanner said, my samba has “LDAP NULL BASE Search Access”. How to solved this findings?

    Thanks,

  2. Paul says:

    Aaron, maybe this is a clue. I noticed the testparm produces different text than the smb.conf file.

    Here it is:

    smb.conf-
    [Anonymous]
    	comment = Anonymous File Server Share
    	path = /srv/samba/anonymous
    	browsable = yes
    	writable = yes
    	guest ok = yes
    	read only = no
    	force user = nobody
    	account = nobody
    
    testparm-
    [Anonymous]
    	comment = Anonymous File Server Share
    	force user = nobody
    	guest ok = Yes
    	path = /srv/samba/anonymous
    	read only = No
    
  3. Paul says:

    Thank you for the article. My problem is: a dialog pops up “Windows Security”, “Enter your password to connect to: CENTOS” I have found the cryptic network password under Control Panel\Network and Internet\HomeGroup\View and print your home group password.

  4. Man says:

    sorry admin

    I still cannot figure out the sharing without password even I had follow your step. it still asking me username and password.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.