How can I restrict access in Samba?

Updated -

In Samba you can restrict access via TCP/IP and/or via users/groups. The hosts allow field can be used in the [global] section to limit access via TCP/IP to the entire Samba server. This option can also be used on a per share basis.

You can restrict access via users/groups on a per share basis. The example below shows a bare bones smb.conf file that only allows...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.