summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-05 13:06:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-05 13:06:49 +0000
commit7dbf8c1ad4642b6c8f3b1b35117ceb1259e9d7bd (patch)
treebcf98e340149235257a4268d8d473cf25b68c14a
parent785fde46bf0a4d82de03aba4e15e72940deb3d13 (diff)
downloaddrakx-backup-do-not-use-7dbf8c1ad4642b6c8f3b1b35117ceb1259e9d7bd.tar
drakx-backup-do-not-use-7dbf8c1ad4642b6c8f3b1b35117ceb1259e9d7bd.tar.gz
drakx-backup-do-not-use-7dbf8c1ad4642b6c8f3b1b35117ceb1259e9d7bd.tar.bz2
drakx-backup-do-not-use-7dbf8c1ad4642b6c8f3b1b35117ceb1259e9d7bd.tar.xz
drakx-backup-do-not-use-7dbf8c1ad4642b6c8f3b1b35117ceb1259e9d7bd.zip
as suggested by Buchan Milne, defaults LDAP Server to ldap.DOMAINNAME
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index c109b6419..c1ccc6dc6 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1114,7 +1114,7 @@ sub setRootPassword {
]) or return;
if ($auth eq __("LDAP")) {
- $o->{authentication}{LDAP} ||= "localhost"; #- any better solution ?
+ $o->{authentication}{LDAP} ||= 'ldap.' . $o->{netc}{DOMAINNAME};
$o->{netc}{LDAPDOMAIN} ||= join (',', map { "dc=$_" } split /\./, $o->{netc}{DOMAINNAME});
$o->ask_from('',
_("Authentication LDAP"),