Multiple config files

Robert Dahlem Robert.Dahlem at
Fri Oct 27 06:31:17 GMT 2000


On Tue, 24 Oct 2000 11:18:41 -0700, Mike Fedyk wrote:

>I've been wondering about the "config file" option in smb.conf.

>OK, so I can have settings for multiple names, in multiple files, 
>Here's my question:
>Can I have one file that contains all of my defaults and a few others 
>that contain additions, or do I need to copy all of my defaults into 
>each possible config file?

You don't want "config file", you want "include". :-)

Put your defaults into smb.conf.default and include this one from all 
of your specialized smb.conf's.

"include" is nestable.


Robert.Dahlem at           Fax +49-69-432647

Sent using PMMail ( - fast, decent, email
software; far better than Outlook. Try it sometime.

More information about the samba mailing list