Virtual servers

Richard Sharpe sharpe at
Mon Dec 4 20:45:11 GMT 2000

At 01:02 PM 12/4/00 -0800, Kevin Long wrote:
>Hello, I need to modify an existing box to appear to be 3 SAMBA servers,
>each on it's own NIC. The various reference materials I've checked into
>state that I should be able to include a config thus:
>include = /etc/smb.conf.%L
>but this fails during testparm with:
>Load smb config files from /etc/smb.conf
>Can't find include file /etc/.smb.conf 

Hmmm, it works for me. Is this a typo ... Can you send your smb.conf files?

You will have to use something interfaces = x.y.z.q and bind interfaces
only = yes for each virtual server.

>and it appears to skip the %L reference entirely. In addition, though these
>units will all be in the same workgroup, I wanted to specify different PDC's
>as auth servers for each one, so the access can vary depending on which name
>you hit.
>Finally, testparm also fails if I include global and share parameters in the
>included files (which work if I specify their name completely), complaining
>that there is global definitions in the service section. Do I just need to
>run several separate smbd and nmbd daemons instead?
>p.s. it would help if the "official" SAMBA doc based on the ORA book had
>working examples, but it doesn't.
>~ Kevin Long ~
>~ Networked systems Manager ~
>~ Engineering Department ~ 

Richard Sharpe, sharpe at
Samba (Team member,, Ethereal (Team member,
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba

More information about the samba-technical mailing list