diff options
Diffstat (limited to 'samba_wizard/Samba.pm')
-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"; } |