summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2011-04-15 09:08:42 (GMT)
committerChristoph Wickert <wickert@kolabsys.com>2011-04-15 20:03:15 (GMT)
commit7c3b633073fb0856690bdc6c5eb085363c1cc126 (patch)
tree0bd40887a958a06521bb9f095a30606d3444c119
parent6633f78ab6ab808449445077b85b408a21f04215 (diff)
downloadserver-7c3b633073fb0856690bdc6c5eb085363c1cc126.tar.gz
1st.README: Repair and simplify cn2uid conversion
-rw-r--r--1st.README11
1 files changed, 4 insertions, 7 deletions
diff --git a/1st.README b/1st.README
index 86d6230..f23365d 100644
--- a/1st.README
+++ b/1st.README
@@ -224,19 +224,16 @@ otherwise your setup might seem to work fine, but will not work reliably!
If you want to convert your existing LDAP, please run the following
commands as root:
- # if [ -f ~/kolab-new.ldif ]; then
- mv ~/kolab-new.ldif ~/kolab-dn-cn.ldif
- else
- cp ~/kolab-2.2.4.ldif ~/kolab-dn-cn.ldif
- fi
+ # mv ~/kolab-update.ldif ~/kolab-dn-cn.ldif || \
+ cp ~/kolab-2.2.4.ldif ~/kolab-dn-cn.ldif
# (umask 077 && /kolab/bin/php \
- kolab-cn2uid -i ~/kolab-dn-cn.ldif -o ~/kolab-new.ldif)
+ kolab-cn2uid -i ~/kolab-dn-cn.ldif -o ~/kolab-update.ldif)
9. Before starting the LDAP server the database must be restored from
the ldif:
# rm /kolab/var/openldap/openldap-data/*
- # /kolab/sbin/slapadd -l ~/kolab-new.ldif
+ # /kolab/sbin/slapadd -l ~/kolab-update.ldif
10. Manually transfer local changes of templates from .rpmsave into the
new templates and remove all .rpmsave files below /kolab/etc as