summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2002-08-04 21:06:22 +0000
committerStew Benedict <stewb@mandriva.org>2002-08-04 21:06:22 +0000
commitdba90f4f801471a0691ebee4f4bc986733c03120 (patch)
treedd00e6f1b2a087ecc77532812a7f151ca4f8f3d6 /perl-install/install_steps_interactive.pm
parent05bd579446396ff6201e77083d882810dcdfdb9f (diff)
downloaddrakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar.gz
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar.bz2
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.tar.xz
drakx-dba90f4f801471a0691ebee4f4bc986733c03120.zip
partial rework of Windows PDC authentication, still need
to run smbpasswd after network is up
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 9ea6bafe5..68b77dbe7 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1133,12 +1133,13 @@ sub setRootPassword {
if ($auth eq __("Windows PDC")) {
#- maybe we should browse the network like diskdrake --smb and get the 'doze server names in a list
#- but networking isn't setup yet necessarily
+ $o->ask_warn('', _("For this to work for a W2K PDC, you will probably need to have the admin run: C:\>net localgroup \"Pre-Windows 2000 Compatible Access\" everyone /add and reboot the server.\nYou will also need the username/password of a Domain Admin to join the machine to the Windows(TM) domain.\nIf networking is not yet enabled, Drakx will attempt to join the domain after the network setup step.\nShould this setup fail for some reason and PDC authentication is not working, run 'smbpasswd -j DOMAIN -U USER%PASSWORD' using your Windows(tm) Domain, and Admin Username/Password, after system boot.\nThe command 'wbinfo -t' will test whether your authentication secrets are good."));
$o->ask_from('',
- _("Authentication Windows PDC"),
- [ { label => _("Windows Domain"), val => \ ($o->{netc}{WINDOMAIN} ||= $o->{netc}{DOMAINNAME}) },
- { label => _("PDC Server Name"), val => \$o->{authentication}{winbind} },
- ]) or goto &setRootPassword;
- $o->ask_warn('', _("For this to work for a W2K PDC, you will probably need to have the admin run: C:\>net localgroup \"Pre-Windows 2000 Compatible Access\" everyone /add and reboot the server"));
+ _("Authentication Windows PDC"),
+ [ { label => _("Windows Domain"), val => \ ($o->{netc}{WINDOMAIN} ||= $o->{netc}{DOMAINNAME}) },
+ { label => _("Domain Admin User Name"), val => \$o->{authentication}{winbind} },
+ { label => _("Domain Admin Password"), val => \$o->{authentication}{winpass}, hidden => 1 },
+ ]) or goto &setRootPassword;
} else { $o->{authentication}{winbind} = '' }
install_steps::setRootPassword($o);
}