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

qmailControl.schema



Hello dear list members, hello turbo,

we have a small problem at our site. We are running OpenLDAP 2.1.16 on
FreeBSD 4.8-RELEASE. We want to use Qmail with the LDAP- and the
qmailControl patch. I added the two schemas (qmail.schema and
qmailControl.schema) and they are being included (this show slapd
running with -d 255).

Problem description:
====================

$ cat qmailControl.ldif
dn: ou=users, dc=testdomain, dc=at
objectclass: top
objectclass: organizationalUnit
ou: users

dn: cn=mail.testdomain.at, ou=QmailLDAP, dc=testdomain, dc=at
objectclass: top
objectclass: qmailControl
cn: mail.testdomain.at
locals: localhost
locals: testdomain.at
ldapbasedn: dc=testdomain,dc=at
ldapuid: 3000
ldapgid: 3000
ldapdefaultquota: 10000
ldapMessageStore: /var/qmail/ustorage
$ ldapadd -h localhost -x -D "cn=Manager,dc=testdomain,dc=at" \
> -W -f qmailControl.ldif
Enter LDAP Password: 

Gives me the error:
===================
adding new entry "cn=mail.testdomain.at, ou=QmailLDAP, dc=testdomain, dc=at"
ldapadd: update failed: cn=mail.testdomain.at, ou=QmailLDAP, dc=testdomain, dc=at
ldap_add: Object class violation (65)
        additional info: no structural object class provided

This worked with OpenLDAP 2.0.x - is there anything wrong with
qmailControl.schema? Because if I add to ``dn: cn=mail.testdomain.at,
ou=QmailLDAP, dc=testdomain, dc=at'':

objectclass: person
sn: blabla

everything works.

My qmailControl.schema is located here:
http://daemon.nethack.at/~mic/qmailControl.schema

This file is a result of the patching with qmail-ldap-control_20030306.gz
from http://qmail.bayour.com/patches_ldap/

thank you for helping,
mic

-- 
<Insert your favourite quote here.>