Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-23-2004, 02:17 PM   #1
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Rep: Reputation: 30
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?
Old 01-10-2005, 10:15 AM   #2
LQ Newbie
Registered: Dec 2004
Location: England
Distribution: SuSE
Posts: 9

Rep: Reputation: 0
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.
Old 01-18-2005, 10:22 AM   #3
LQ Newbie
Registered: Dec 2004
Location: England
Distribution: SuSE
Posts: 9

Rep: Reputation: 0
Possible Solution


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
Old 01-18-2005, 10:36 AM   #4
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cacti Installation Problems with include/config.php tovythomas Linux - Software 2 03-13-2007 07:49 PM
Slackware 10.0 config in Grub on Webmin farpoint Slackware 3 11-01-2004 09:17 AM
Use webmin config bind problem on RH AS 3.0 exper Linux - Software 3 02-20-2004 10:00 AM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 05:04 PM
Running samba config files from CD ghight Linux - Security 3 02-17-2003 12:42 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration