steffen: server/kolabd/kolabd kolabpasswd,1.6,1.7

cvs at intevation.de cvs at intevation.de
Mon Apr 18 22:46:46 CEST 2005


Author: steffen

Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv7907/kolabd

Modified Files:
	kolabpasswd 
Log Message:
fix for Issue706 (kolabpassword for calendar and nobody broken)

Index: kolabpasswd
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolabpasswd,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- kolabpasswd	23 Dec 2004 20:34:08 -0000	1.6
+++ kolabpasswd	18 Apr 2005 20:46:44 -0000	1.7
@@ -93,6 +93,7 @@
 my $tmp = new File::Temp( TEMPLATE => 'tempXXXXX', DIR => $kolab_prefix.'/etc/kolab', UNLINK => 0, SUFFIX => '.conf')
      || die "Error: could not create temporary file under ".$kolab_prefix."/etc/kolab";
 $tmpfilename = $tmp->filename;
+$bind_pw_hash = hashPassword($new_password);
 
 # copy and replace old config to temporary file
 foreach ($kolabconf->getlines()) {
@@ -101,7 +102,6 @@
 	    print $tmp $1.$new_password."\n";
 	} else {
 	    if (/^(bind_pw_hash\s:\s).*$/) {
-		$bind_pw_hash = hashPassword($new_password);
 		print $tmp $1.$bind_pw_hash."\n"; 
 	    } else {
 		print $tmp $_;





More information about the commits mailing list