summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2006-02-15 10:37:34 +0000
committerAntoine Ginies <aginies@mandriva.com>2006-02-15 10:37:34 +0000
commit706862022193f62accff8884305931be8fd83fe1 (patch)
treecbeb93d51d709671da2f545400f945894413fd48 /samba_wizard
parentea4c0e99cbeac8c501fbcfea4ae7e9b1c45bf35a (diff)
downloaddrakwizard-3_0_24mdk.tar
drakwizard-3_0_24mdk.tar.gz
drakwizard-3_0_24mdk.tar.bz2
drakwizard-3_0_24mdk.tar.xz
drakwizard-3_0_24mdk.zip
fix bug #20162 (can't launch samba wizard)V3_0_24mdk
Diffstat (limited to 'samba_wizard')
-rwxr-xr-xsamba_wizard/Samba.pm2
-rwxr-xr-xsamba_wizard/Sambaprint.pm2
-rwxr-xr-xsamba_wizard/Sambashare.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm
index 85a84fda..a0421bea 100755
--- a/samba_wizard/Samba.pm
+++ b/samba_wizard/Samba.pm
@@ -73,7 +73,7 @@ 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'});
#my $samba = new Libconf::Glueconf::Samba::Smb_conf(filename => '/etc/samba/smb.conf', comments_struct => [['^\s*#'], ['^\s*;']]);
$samba->{libconf}{disable_inline_comments} = 1;
diff --git a/samba_wizard/Sambaprint.pm b/samba_wizard/Sambaprint.pm
index 01f8622a..0c5ea761 100755
--- a/samba_wizard/Sambaprint.pm
+++ b/samba_wizard/Sambaprint.pm
@@ -47,7 +47,7 @@ my $o = {
};
$::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/IC-sambaprt-48.png";
# we ask glueconf to give us the structure representing /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'});
#debug
use Data::Dumper;
diff --git a/samba_wizard/Sambashare.pm b/samba_wizard/Sambashare.pm
index 54345fde..870531c2 100755
--- a/samba_wizard/Sambashare.pm
+++ b/samba_wizard/Sambashare.pm
@@ -56,7 +56,7 @@ my $o = {
};
$::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/IC-sambashare-48.png";
# we ask glueconf to give us the structure representing /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'});
#use Data::Dumper;
#print Dumper($samba);