steffen: server/kolab/kolab kolab_bootstrap,1.68,1.69
cvs at intevation.de
cvs at intevation.de
Mon Oct 25 15:57:17 CEST 2004
Author: steffen
Update of /kolabrepository/server/kolab/kolab
In directory doto:/tmp/cvs-serv7640/kolab
Modified Files:
kolab_bootstrap
Log Message:
cleanup + passwd hash fix for bootstrap script
Index: kolab_bootstrap
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/kolab_bootstrap,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- kolab_bootstrap 18 Oct 2004 14:18:21 -0000 1.68
+++ kolab_bootstrap 25 Oct 2004 13:57:15 -0000 1.69
@@ -80,8 +80,9 @@
sub hashPassword {
my $pw = shift;
my $hashcmd = $kolab_config{'prefix'}."/sbin/slappasswd -s '".$pw."'";
- chomp($pw);
- return $pw;
+ (my $hashpw = `$hashcmd`) or die $@;
+ chomp($hashpw);
+ return $hashpw;
}
# Ask the user a question
More information about the commits
mailing list