Stuart Biggerstaff <biggers@...> wrote ..
> Installing Webmin 1.140 from the tar/gzip on a couple of Debian-based
> systems, I get this message "Webmin cannot handle Samba config files that
> use the config or include directives," instead of seeing the Samba module.
> A search shows this asked and answered before, in Oct., 1999--but the
> answer then was to install version 0.74 of Webmin. I see this on Lindows
> 4.5, and Knoppix 3.3 installed to disk, but not on Knoppix 3.2. If I
> delete /etc/samba/smb.conf, will Webmin generate one--or will it just give
> me a different error?
The best solution to this problem is to edit /etc/samba/smb.conf and remove (or comment out) any lines starting with 'include' or 'config'. They are not supported by the module, as they are typically used to have a different
configuration read for different clients. In this kind of situation, Webmin
cannot reliably work out what directives are in effect, and may mess up the Samba configuration.
Fortunately, 99% of sites do not actually take advantage of this feature,
even if it is in the smb.conf file by default.
Get latest updates about Open Source Projects, Conferences and News.