Bug 733 - when using swat includes was rewritten
when using swat includes was rewritten
Product: Samba 3.0
Classification: Unclassified
Component: SWAT
All Linux
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
Depends on:
  Show dependency treegraph
Reported: 2003-11-07 03:04 UTC by DaLiV
Modified: 2005-02-08 21:32 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description DaLiV 2003-11-07 03:04:00 UTC
in config file is such include:
include = /home/xxxxxx/file.%m

after swat using this string will be modified to
include = /home/xxxxxx/file.
and so after each configuration with swat - need to login and edit file manually
to correct this 

suggestion: simply copy lines with macroses
Comment 1 Gerald (Jerry) Carter 2003-11-21 22:06:20 UTC
reproduced but this is a little harder to solve 
that you think.  The problem is the handle_include()
special handler in param/loadparm.c.  I'll have 
to work on it some more.
Comment 2 Gerald (Jerry) Carter 2005-02-08 21:32:33 UTC
The answer until someone rewrites our smb.conf is to 
not use swat with includes.  Sorry.