summaryrefslogtreecommitdiffstats
path: root/samba_wizard/Samba.pm
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-19 12:41:58 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-19 12:41:58 +0000
commit9d6cf6dea3ee6447f056c2ade09f2079a0d2bbe7 (patch)
tree9cfcb93cbb36ccbd925fe86ce28e875c4872dc5f /samba_wizard/Samba.pm
parente416910539f1e3502e59cd2571ed17053cb8d0e7 (diff)
downloaddrakwizard-9d6cf6dea3ee6447f056c2ade09f2079a0d2bbe7.tar
drakwizard-9d6cf6dea3ee6447f056c2ade09f2079a0d2bbe7.tar.gz
drakwizard-9d6cf6dea3ee6447f056c2ade09f2079a0d2bbe7.tar.bz2
drakwizard-9d6cf6dea3ee6447f056c2ade09f2079a0d2bbe7.tar.xz
drakwizard-9d6cf6dea3ee6447f056c2ade09f2079a0d2bbe7.zip
fix #18686
Diffstat (limited to 'samba_wizard/Samba.pm')
-rwxr-xr-xsamba_wizard/Samba.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm
index 83dbecfb..cd461908 100755
--- a/samba_wizard/Samba.pm
+++ b/samba_wizard/Samba.pm
@@ -73,7 +73,8 @@ my $o = {
$::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/sambasrv.png";
# we ask glueconf to give us the structure representing /etc/samba/smb.conf
if (!-f "/etc/samba/smb.conf") { mkdir_p("/etc/samba/"); cp_af("/usr/share/wizards/samba_wizard/scripts/smb.conf.default", "/etc/samba/smb.conf") }
-my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf', show_commented_info => 1 });
+#my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf', show_commented_info => 1 });
+my $samba = new Libconf::Glueconf::Samba::Smb_conf(filename => '/etc/samba/smb.conf', comments_struct => [ ['^\s+#'], ['^\s+;']]);
#debug
use Data::Dumper;