steffen: server/kolab/kolab kolab_bootstrap,1.22,1.23
cvs at intevation.de
cvs at intevation.de
Tue May 25 01:57:25 CEST 2004
Author: steffen
Update of /kolabrepository/server/kolab/kolab
In directory doto:/tmp/cvs-serv5411
Modified Files:
kolab_bootstrap
Log Message:
bootstrap
Index: kolab_bootstrap
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/kolab_bootstrap,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- kolab_bootstrap 24 May 2004 23:34:05 -0000 1.22
+++ kolab_bootstrap 24 May 2004 23:57:23 -0000 1.23
@@ -360,12 +360,14 @@
print "Now some information about the master LDAP server is required:\n\n";
print "URI of master LDAP server: ";
$ldap_uri = ReadLine;
+ chomp $ldap_uri;
print "Base DN of server: ";
$base_dn = ReadLine;
- print "Manager bind DN: ";
- $bind_dn = ReadLine;
+ chomp $base_dn;
+ $bind_dn = "cn=manager,$base_dn";
print "Manager password: ";
$bind_pw = ReadLine;
+ chomp $bind_pw;
print "Checking server info...\n";
my $ldapuri = URI->new($ldap_uri) || warn "error: could not parse given uri";
@@ -399,8 +401,10 @@
print "done modifying $kolab_config\n\n";
chmod 0600, $kolab_config;
- print "Updating configuration\n\n";
+ print "Updating configuration, please ignore any initial errors from kolabconf\n\n";
system("$kolab_prefix/sbin/kolabconf");
+ } else {
+ die "Error contacting LDAP server: ".$mesg->error."\n";
}
}
More information about the commits
mailing list