summaryrefslogtreecommitdiffstats
path: root/urpm/ldap.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-05-15 08:54:33 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-05-15 08:54:33 +0000
commitfd6c5f2e98d67b394c92fc4a10133ef8e800a7a7 (patch)
tree27742ebd4a08198f2d2b8f62b0c6f4205d6029ff /urpm/ldap.pm
parent26cca07287fae648ddfb461b329267a35b5d323e (diff)
downloadurpmi-fd6c5f2e98d67b394c92fc4a10133ef8e800a7a7.tar
urpmi-fd6c5f2e98d67b394c92fc4a10133ef8e800a7a7.tar.gz
urpmi-fd6c5f2e98d67b394c92fc4a10133ef8e800a7a7.tar.bz2
urpmi-fd6c5f2e98d67b394c92fc4a10133ef8e800a7a7.tar.xz
urpmi-fd6c5f2e98d67b394c92fc4a10133ef8e800a7a7.zip
Add a default value for urpmi ldap SSL value
Diffstat (limited to 'urpm/ldap.pm')
-rw-r--r--urpm/ldap.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/urpm/ldap.pm b/urpm/ldap.pm
index 036a9db1..4f2a645e 100644
--- a/urpm/ldap.pm
+++ b/urpm/ldap.pm
@@ -118,7 +118,9 @@ sub get_ldap_config() {
sub get_ldap_config_file($) {
my ($file) = @_;
- my %config;
+ my %config = (
+ ssl => 'off',
+ );
# TODO more verbose error ?
open my $conffh, $file or return;
while (<$conffh>) {
@@ -225,6 +227,6 @@ __END__
Copyright (C) 2005 MandrakeSoft SA
-Copyright (C) 2005 Mandriva SA
+Copyright (C) 2005, 2006 Mandriva SA
=cut