[Samba] INCLUDEs in smb.conf

Robert Moskowitz rgm at htt-consult.com
Thu Oct 21 09:19:32 MDT 2010


Do I need a separate INCLUDE in each section, or can I have one INCLUDE 
at the end and just include needed sections?

Way 1:

smb.conf:

[Global]

.......

INCLUDE smb-global.conf

[netlogon]

......

smb-global.conf:

    sambaPwdCanChange=1


Way 2:

smb.conf:

[Global]

.......

[netlogon]

......

INCLUDE smb-custom.conf

smb-custom.conf:

[Global]

    sambaPwdCanChange=1

[TestShare]

.....

========================

Which way???




More information about the samba mailing list