LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Webmin cannot handle Samba config files that use the config or include directives (https://www.linuxquestions.org/questions/linux-networking-3/webmin-cannot-handle-samba-config-files-that-use-the-config-or-include-directives-269641/)

allelopath 12-23-2004 01:17 PM

Webmin cannot handle Samba config files that use the config or include directives
 
I get this error:

Webmin cannot handle Samba config files that use the config or include directives.

When trying to access the Samba server page in Webmin.

Previous reports of this problem say that it was solved with version 0.74 of Webmin
I am using Webmin version 1.170 on SuSE Linux 9.2

Samba version is:
# /usr/sbin/smbd -V
Version 3.0.7-5.2-SUSE

What do i need to do?

stevey99 01-10-2005 09:15 AM

hi,unfortunatly i do not have a solution for you.

however i have exactly the same problem and that includes running webmin 1.170 on suse linux 9.2 pro. so if you have figured this out by now i would really like to hear about it. if not any ideas from anybody else would be of great help (to both of us). thanks guys.

stevey99 01-18-2005 09:22 AM

Possible Solution
 
Hi,

Whilst i still have not got it all set up just right yet this is what worked for me to get passed that really anoying error message from webmin.

Simply rename the smb.conf file to something else for safe keeping then try again and it should recreate a new .conf file for you.

So in my case this was simply a case of;

mv /etc/samba/smb.conf /etc/samba/smb.orig

then i went into webmin -> server -> samba and it worked.

Hope that works for you

cowanrl 01-18-2005 09:36 AM

If you have already made some configuration settings in Samba and don't want to loose what you've already done, open /etc/samba/smb.conf with a text editor and look for lines that start with config = or include = . There's a real good chance you don't need these lines so they can probably be deleted or remarked out. After that, you should be able to open the file with Webmin.

If you haven't done any configuration of Samba yet, stevey99's solution is the simplest.


All times are GMT -5. The time now is 12:55 PM.