don_mccall at hp.com
Fri Sep 14 09:51:04 GMT 2001
don't worry about what testparm says; %L is resolved at connection time,
based on the netbios name that the connection is being attempted on.
Since testparm isn't making a connnection to do it's testing, %L will not
A real test is to use smbclient -L servername -d3 to verify that the debug
shows that it loaded smb.conf.servername...
Hope this helps,
From: Hugo Levasseur [mailto:hugo.levasseur at mcgill.ca]
Sent: Friday, September 14, 2001 12:45 PM
To: Samba Mailing List
Subject: FW: include =
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)
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.
On Fri, Sep 14, 2001 at 12:19:47AM -0400, Hugo Levasseur wrote:
> 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 =
> Anyway that s how it looks at this URL:
> 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.
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
To unsubscribe from this list go to the following URL and read the
More information about the samba