[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: qmail.schema: line 55: Inconsistent duplicate attributeType: "mailHost"

Dave Horsfall wrote:
On Tue, 15 Aug 2006, Anthony wrote:

# /usr/local/etc/rc.d/slapd start
Starting slapd.
/usr/local/etc/openldap/schema/qmail.schema: line 55: Inconsistent duplicate
attributeType: "mailHost"

Did you include "misc.schema" as well? I note that it's defined in there too.
The definition in misc.schema is taken from <draft-lachman-laser-ldap-mail-routing-02.txt> which expired long ago. I note that qmail guys modified it to allow substrings searches, which might be required by qmail. Since they seem to be using their own OID space, they simply "stealed" the name of the attribute (a better practice would have been to prefix everything with "qmail" instead of "mail"? You may run into similar problems with "mailQuota" and "mailAlternateAddress", which have already been used by other popular schemas). In any case, you should either avoid including misc.schema, or modify qmail.schema to comply
with existing schema items with the same short names (and possibly break the need for substring searches in qmail; in any case, what seems to be broken here is qmail's schema, based on the fact that "mailHost" was around way before qmail ever existed, as far as I can tell).


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it