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
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.
The answer until someone rewrites our smb.conf is to not use swat with includes. Sorry.