Exploring Samba's new registry-based configuration


With Samba 3.2 and newer, the administrator can choose between traditional text-based configuration and the new registry configuration that brings many new features and opens up many new options. Even though the configuration is stored in a database, net conf lets you manage the configuration easily. This feature is extremely convenient in clustered environments with CTDB. The new configuration system also allows for remote configuration of Samba servers.

With additional work, it will be possible to create dedicated Samba configuration tools for Windows that use the remote registry interface. Then a Windows admin could configure samba servers without learning too much about the underlying Unix systems. At that stage, you might wonder whether you have reached too much interoperability.


  1. Samba project: http://www.samba.org/
  2. Samba team: http://www.samba.org/samba/team/
  3. TDB: http://tdb.samba.org/
  4. CTDB project: http://ctdb.samba.org
  5. "Samba's New Registry Based Configuration" by Michael Adam http://www.samba.org/~obnox/presentations/linux-kongress-2008/lk2008-obnox.pdf

The Author

Michael Adam is a member of the international Samba developer team [2] and also the maintainer of the Samba software branches with cluster extensions. He works as a software developer and consultant for SerNet GmbH in Göttingen, Germany. He spends his leisure time with his wonderful wife and kids.

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Samba 4

    A technical preview version of Samba 4 became available at the end of January. We took a look at what’s coming in the next version of the Samba file and print service suite.

  • Samba for Clusters

    Samba Version 3.3 and the CTDB lock manager provide full cluster support.

  • Samba 4

    Since the release of the final version, Samba 4 has become increasingly significant in IT practice; now it has found its way into Jessie, the next Debian release. We take a look at the new features.

  • Samba 4

    Samba 4 has been around for more than three years, but some users still shy from it. If you are still sitting on the fence, this tour through some of the new features and capabilities might help you decide whether it is finally time to upgrade.

  • Samba Antivirus

    Realtime virus scanning at the file server is an elegant and efficient option for protecting Windows clients. We’ll show you some tools and techniques for realtime scanning with Samba.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More