diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-05-31 07:46:07 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-05-31 07:46:07 +0000 |
commit | b727858810c0601636c2f559ca6cae8700f2b5af (patch) | |
tree | a16dbd95c689d2c089ea7098c6ddd0c8f296f5c3 | |
parent | 650af7f589c223fe691b35469bccd0e36a521cbf (diff) | |
download | drakwizard-b727858810c0601636c2f559ca6cae8700f2b5af.tar drakwizard-b727858810c0601636c2f559ca6cae8700f2b5af.tar.gz drakwizard-b727858810c0601636c2f559ca6cae8700f2b5af.tar.bz2 drakwizard-b727858810c0601636c2f559ca6cae8700f2b5af.tar.xz drakwizard-b727858810c0601636c2f559ca6cae8700f2b5af.zip |
fix pdc and bdc mode
-rwxr-xr-x | samba_wizard/Samba.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm index 54f14d80..8269a105 100755 --- a/samba_wizard/Samba.pm +++ b/samba_wizard/Samba.pm @@ -150,8 +150,8 @@ $o->{pages} = { $o->{var}{wiz_security} = "user"; $o->{var}{wiz_domain_logons} = "yes"; $o->{var}{wiz_wins_support} ||= $samba->{global}{'wins support'}; - if ($samba->{'os level'}) { - $o->{var}{wiz_oslevel} = $samba->{'os level'}; + if ($samba->{global}{'os level'}) { + $o->{var}{wiz_oslevel} = $samba->{global}{'os level'}; } else { $o->{var}{wiz_oslevel} = "64"; } @@ -185,8 +185,8 @@ $o->{pages} = { pre => sub { $o->{var}{wiz_domain_master} = "no"; $o->{var}{wiz_security} = "user"; - if ($samba->{'os level'}) { - $o->{var}{wiz_oslevel} = $samba->{'os level'}; + if ($samba->{global}{'os level'}) { + $o->{var}{wiz_oslevel} = $samba->{global}{'os level'}; } else { $o->{var}{wiz_oslevel} = "64"; } |