summaryrefslogtreecommitdiffstats
path: root/perl-install/authentication.pm
diff options
context:
space:
mode:
authorVicent Guardiola <vguardiola@mandriva.com>2004-07-02 02:35:15 +0000
committerVicent Guardiola <vguardiola@mandriva.com>2004-07-02 02:35:15 +0000
commitea0092057431b186c8bfe5212cb65b5f73ca7629 (patch)
tree2228d7173399aca8ce9092edae9de9cc0077b3ff /perl-install/authentication.pm
parent2d9992647a450d165a08aeabaa5f7425814c3860 (diff)
downloaddrakx-ea0092057431b186c8bfe5212cb65b5f73ca7629.tar
drakx-ea0092057431b186c8bfe5212cb65b5f73ca7629.tar.gz
drakx-ea0092057431b186c8bfe5212cb65b5f73ca7629.tar.bz2
drakx-ea0092057431b186c8bfe5212cb65b5f73ca7629.tar.xz
drakx-ea0092057431b186c8bfe5212cb65b5f73ca7629.zip
Change SSL/TLS to SSL or TLS
add uc_domain to realm section in /etc/krb5.conf padbol
Diffstat (limited to 'perl-install/authentication.pm')
-rw-r--r--perl-install/authentication.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm
index e764d669c..df2f9457b 100644
--- a/perl-install/authentication.pm
+++ b/perl-install/authentication.pm
@@ -47,7 +47,8 @@ sub ask_parameters {
my %sub_kinds = my @sub_kinds = (
anonymous => N("anonymous"),
simple => N("simple"),
- tls => N("over SSL/TLS"),
+ tls => N("TLS"),
+ ssl => N("SSL"),
kerberos => N("security layout (SASL/Kerberos)"),
);
my $AD_user = $authentication->{AD_user} =~ /(.*)\@\Q$val\E$/ ? $1 : $authentication->{AD_user};
@@ -125,8 +126,9 @@ sub set {
my $ssl = {
anonymous => 'off',
simple => 'off',
- tls => 'start_tls' . "\n" . 'ssl on',
- kerberos => 'on',
+ tls => 'start_tls',
+ ssl => 'on',
+ kerberos => 'off',
}->{$authentication->{sub_kind}};
update_ldap_conf(
@@ -346,7 +348,7 @@ sub configure_krb5_for_AD {
my @sections = (
realms => <<EOF,
- MANDRAKESOFT.COM = {
+ $uc_domain = {
kdc = $authentication->{AD_server}:88
admin_server = $authentication->{AD_server}:749
default_domain = $authentication->{AD}