thomas: server README.1st,1.93,1.94

cvs at kolab.org cvs at kolab.org
Thu Dec 11 17:31:45 CET 2008


Author: thomas

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

Modified Files:
	README.1st 
Log Message:
Instructions to filter out Horde preferences from ldif file.


Index: README.1st
===================================================================
RCS file: /kolabrepository/server/README.1st,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- README.1st	11 Dec 2008 12:00:33 -0000	1.93
+++ README.1st	11 Dec 2008 16:31:43 -0000	1.94
@@ -184,10 +184,13 @@
    (as described in the General update instructions)
 
 6. Before starting the LDAP server the database must be restored from
-   the ldif:
+   the ldif (with Horde preferences filtered out, since these are now
+   stored in files):
 
    # rm /kolab/var/openldap/openldap-data/*
-   # /kolab/sbin/slapadd -l ~/kolab-2.2.0.ldif
+   # /kolab/bin/awk '!/^ /{ok=1;}
+      /^(objectClass: hordePerson|[a-z]*Prefs:.*)$/{ok=0;}
+      {if(ok)print;}' kolab-2.2.0.ldif | /kolab/sbin/slapadd
 
 7. Start the OpenLDAP, generate the configuration files and start the
    Kolab server:





More information about the commits mailing list