FW: include =

Hugo Levasseur hugo.levasseur at mcgill.ca
Fri Sep 14 09:41:05 GMT 2001


I m using the version of testparm that came with samba 2.2.1a.... And
include is all in lower case in my files (outlook seems to like swapping
minuscules with caps when I write emails)

Hugo

-----Original Message-----
From: Joel Hammer [mailto:Joel at HammersHome.com] 
Sent: Friday, September 14, 2001 12:26 PM
To: Hugo Levasseur
Subject: Re: include =


Are you using an old version of testparm?
include should be in lower caps.
Joel
On Fri, Sep 14, 2001 at 12:19:47AM -0400, Hugo Levasseur wrote:
> OK,
> 
> I think I ve got the idea now...
> 
> The main file should hold a part of the global section + the include 
> statement which should look like this: Include = 
> /some/file/smb.conf.%L
> 
> Anyway that s how it looks at this URL: 
> http://ca.samba.org/samba/docs/man/smb.conf.5.html
> 
> Now this looks all good and could resolve my prob.
> 
> But when running testparm  I get the following error:
> 
> Cannot find "smb.conf."  (it kinda looks like samba cant pick up the 
> %L variable ... Wassup with that?)
> 
> 
> 
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]
> On Behalf Of Joel Hammer
> Sent: Thursday, September 13, 2001 6:19 PM
> To: samba at lists.samba.org
> Subject: Re: include =
> 
> 
> It looks to me like you are inserting a second  global section into 
> your share section with your additional smb.conf files. BAD These are 
> included just as if they are lines of text. So, if you have an include

> statement in a share, you can't have other share definitions in them. 
> Joel
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list