variable substitution with include

SI-Gaetan Boudreau boudreg at IRCM.UMontreal.CA
Mon Feb 2 19:09:55 GMT 1998


Hi fellow Samba admin,

Variable substitution with "include =" doesn't seem to work.

For example in my smb.conf file I have:
[global]
include = /opt/samba/lib/smb.conf.global.%h

When I run testparm I get this:
Load smb config files from /usr/local/samba/lib/smb.conf
Can't find include file /opt/samba/lib/smb.conf.global.

The "%h" gets replace by nothing instead of the hostname.  Why.
I am using Samba 1.9.18p2 on Solaris 2.5.1

Thank you in advance for your time.

-- 
====================================================
Gaetan Boudreau, ing/P.Eng.                       
Administrateur de reseau/Network Administrator
IRCM (Institut de recherches cliniques de Montreal/
      Clinical Research Institute of Montreal)

tel: 514-987-5563   fax: 514-987-5644
Internet E-Mail: Gaetan_Boudreau at IRCM.UMontreal.CA
Internet Web Site: http://www.ircm.umontreal.ca


More information about the samba mailing list