steffen: server/perl-kolab/Kolab Kolab.pm,1.11,1.12
cvs at intevation.de
cvs at intevation.de
Mon Aug 30 18:48:41 CEST 2004
Author: steffen
Update of /kolabrepository/server/perl-kolab/Kolab
In directory doto:/tmp/cvs-serv3301/perl-kolab/Kolab
Modified Files:
Kolab.pm
Log Message:
make a hashed version of the manager pw available and use it in slapd.conf
Index: Kolab.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab/Kolab.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Kolab.pm 13 Aug 2004 00:34:25 -0000 1.11
+++ Kolab.pm 30 Aug 2004 16:48:39 -0000 1.12
@@ -125,6 +125,11 @@
$error = 1;
}
+ # Make a hash of the bind password available too
+ my $hashcmd = $kolab_prefix."/sbin/slappasswd -s '".$kolab_config{'bind_pw'}."'";
+ $config{'bind_pw_hash'} = `$hashcmd`;
+ chomp($config{'bind_pw_hash'});
+
# Retrieve the LDAP values of the main kolab object to complete our config hash
if (!($tempval = URI->new($config{'ldap_uri'}))) {
&log('C', "Unable to parse ldap_uri `" . $config{'ldap_uri'} . "'", KOLAB_ERROR);
More information about the commits
mailing list