Samba Configuration Helper

Updated -

Samba provides an extremely flexible mechanism for sharing files and printers with Microsoft Windows, Linux and Mac OS X clients. But Samba's flexibility comes at a cost: there are 420 unique configurable parameters, which can make setting up a simple file or printer sharing service a chore. The Samba Configuration Helper simplifies setting up simple sharing services, allowing you to specify which directories and printers you would like to share. At the press of a button, it then generates and downloads a script, which will update your Samba configuration and ensure your system is set up to run Samba.

This app helps you create a configuration that provides basic file and printer sharing. You can specify basic properties for your server, such as it's netBIOS name and a brief description, or simply use the defaults. Add any directories you'd like to share, add an optional description and specify whether they should be visbible, read-only or accessible anonymously. You can also elect to share all attached printers, or add them individually.

Click the "generate" button to generate a script that will set up your system to run Samba using your new configuration. You can review the script before clicking the "download" button to download the script.

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.
Close

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

Get notified when this content is updated

Follow

2 Comments

Subscriber exclusive content

An active Red Hat subscription is required to participate.

Log In

I had hoped it would help with the difficult parts of samba config, e.g. joining a windows domain, but it only generates a very simple basic configuration.

Thanks for the feedback!

Samba is very flexible and has a ton of features, but it's hard to know which ones user are most interested in. I'll be happy to add function to the app if you'll give a little more detail about what, exactly, you'd find most helpful (e.g. are you interested in classic NT domains, LDAP or the newer Active Directory Service?)

Maybe your looking for - https://access.redhat.com/labs/winbindmapper/

small typo / syntax error:
if senlinuxenabled
should be if selinuxenabled

Oops! The fixed version should be available shortly...

Nice for a simple configuration. Ideally you would have something that help through complex LDAP/AD configurations that enterprise customers use and would have an option to generate differing SAMBA configurations between SAMBA 3.5 (6.4) and SAMBA 3.6.9 (6.5).

I will look into adding LDAP / AD configuration help in the next release.

Let me know if there's anything else you'd like to see in the app!

Would be handy to have templates as well - for domain enviroment, for OSX, for slow network

Would be nice if the script worked.
Try creating the smb.conf in /etc/samba/ instead of /etc/ .

Sorry about that. The fix should be live shortly.

Thanks for this tool - it did exactly what I needed it to do.

In Red Hat Server 7.3 its giving me an execution error -bash: ./samba.sh: Permission denied

You will need to set the file permissions to execute on samba.sh
chmod u+x ./samba.sh or chmod 755 ./samba.sh