steffen: server/kolabd/kolabd kolab_bootstrap,1.1.1.1,1.2

cvs at intevation.de cvs at intevation.de
Thu Dec 2 16:24:44 CET 2004


Author: steffen

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

Modified Files:
	kolab_bootstrap 
Log Message:
better password creation

Index: kolab_bootstrap
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolab_bootstrap,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- kolab_bootstrap	23 Nov 2004 20:26:47 -0000	1.1.1.1
+++ kolab_bootstrap	2 Dec 2004 15:24:41 -0000	1.2
@@ -284,7 +284,7 @@
       print " bind_dn : $bind_dn\n";
     }
     if ($bind_pw =~ /\@\@\@/) {
-      $bind_pw = `$kolab_prefix/bin/openssl passwd kolab`;
+      $bind_pw = `$kolab_prefix/bin/openssl rand -base64 12`;
       chomp $bind_pw;
       $bind_pw = getUserInput("Please choose a manager password", $bind_pw);
       print " bind_pw : $bind_pw\n";
@@ -296,7 +296,7 @@
       $php_dn =~ s/\@\@\@kolab_basedn\@\@\@/$base_dn/g;
     }
     if ($php_pw =~ /\@\@\@/) {
-      $php_pw = `$kolab_prefix/bin/openssl passwd nobody`;
+      $php_pw = `$kolab_prefix/bin/openssl rand -base64 30`;
       chomp $php_pw;
     }
     if ($calendar_dn =~ /\@\@\@/) {
@@ -304,7 +304,7 @@
       chomp $calendar_dn;
     }
     if ($calendar_pw =~ /\@\@\@/) {
-      $calendar_pw = `$kolab_prefix/bin/openssl passwd calendar`;
+      $calendar_pw = `$kolab_prefix/bin/openssl rand -base64 30`;
       chomp $calendar_pw;
     }
 





More information about the commits mailing list