The maildrop schema is a change to the core schema (see patch). Was changing the core schema actually tested on a working implementation (any upgrade issues)? I had a working ldap this morning (with -1mdk) and now (with -3mdk) it's dead (can't browse it anymore with gq, and my machines can't find anything in ldap anymore).
Any hints on how to get it working again?
Stefan
diff -urN openldap-2.0.27/servers/slapd/schema/core.schema openldap-2.0.27-modified/servers/slapd/schema/core.schema--=-=-= * Fri Jan 17 2003 Florin <[EMAIL PROTECTED]> 2.0.27-3mdk- add the maildrop schema (V. Guardiola's idea) --=-=-= openldap-2.0.27-maildrop.schema.patch added
--- openldap-2.0.27/servers/slapd/schema/core.schema 2002-06-06 02:25:24.000000000 +0200
+++ openldap-2.0.27-modified/servers/slapd/schema/core.schema 2003-01-17 14:41:00.000000000 +0100
@@ -604,3 +604,18 @@
EQUALITY OpenLDAPaciMatch
SYNTAX 1.3.6.1.4.1.4203.666.2.1
USAGE directoryOperation )
+
+# Add maildrop for Mandrake +#
+
+attributetype ( 2.5.4.80 NAME 'maildrop' SUP mail )
+
+attributetype ( 2.5.4.81 NAME 'mailacceptinggeneralid' SUP mail )
+
+objectclass ( 2.16.840.1.113730.3.3.1
+ NAME 'mailUser'
+ DESC 'x-si.org user'
+ SUP top
+ STRUCTURAL
+ MUST ( uid $ mailacceptinggeneralid $ maildrop)
+ MAY ( cn $ mail ))
openldap.spec changed
--- openldap-2.0.27-2mdk.src.rpm/openldap.spec 2003-01-17 15:01:14.000000000 +0100
+++ openldap-2.0.27-3mdk.src.rpm/openldap.spec 2003-01-17 15:01:14.000000000 +0100
@@ -1,6 +1,6 @@
%define name openldap
%define version 2.0.27
-%define release 2mdk
+%define release 3mdk
%define major 2
%define migtools_ver 40
@@ -79,6 +79,8 @@
Patch45: MigrationTools-38-i18n.patch.bz2
# schema patch
Patch46: openldap-2.0.21-schema.patch.bz2
+# maildrop schema
+Patch47: openldap-2.0.27-maildrop.schema.patch.bz2
%if %{build_sasl}
BuildRequires: libsasl7-devel
@@ -244,7 +246,7 @@
popd
%patch46 -p1 -b .mdk
-
+%patch47 -p1 -b .maildropschema
%build
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
@@ -634,6 +636,9 @@
%changelog
+* Fri Jan 17 2003 Florin <[EMAIL PROTECTED]> 2.0.27-3mdk
+- add the maildrop schema (V. Guardiola's idea)
+
* Fri Jan 17 2003 Oden Eriksson <[EMAIL PROTECTED]> 2.0.27-2mdk
- fix added syslog entry
--=-=-=
smime.p7s
Description: S/MIME Cryptographic Signature
