[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Upgrading OpenLDAP, problem with data (no structural object class).
- To: openldap-software@OpenLDAP.org
- Subject: Upgrading OpenLDAP, problem with data (no structural object class).
- From: Andrew McCall <andrew.mccall@gmail.com>
- Date: Mon, 14 Feb 2005 09:18:01 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=klm3gK6HMALSNqBcie1IGPtwEv1IqWNLvx2cxxZnwSxCNMt6TYzZO6AReWIXsnQrFlNdFHAtf51NoK/mVJEBGzXe4yUhuVDy/2vtah0q6CkRO1rC8feYhfVQt/yx9QU1TIO/mQ6SeQ58AMR96I/JkVa3TwiKVx9kuZ/XePbCroA=
Hi Folks,
In upgrading my OpenLDAP to an earlier version, I have realised how
"incorrect" the data is in it, and am now sifting through about 3000
entries to try and stuff the contents back in it! One of the problems
I am having is where I have the following type of entry:
dn: cn=Web Content Administrators,o=oldhammbc, c=uk
cn: Web Content Administrators
objectClass: top
objectClass: qmailUser
qmailUID: 503
qmailGID: 507
accountStatus: active
deliveryMode: forwardonly
mail: XX.XXX.XXXXXXX@oldham.gov.uk
mailForwardingAddress: XX.XXX.XXXXXXX@oldham.gov.uk
uid: XX.XXX.XXXXXXX
subschemaSubentry: cn=Subschema
This is incorrect as it has no structural object class and I am
getting the following error when I try to add the entry "slapadd:
dn="cn=Web Content Administrators,o=oldhammbc,c=uk" (line=38): (65) no
structural object class provided"
I don't need any of the data in inetOrgPerson, or
organizationalPerson, so how can I make accounts like this go into the
LDAP? Can I change the qmailUser schema so that it is a structural
object class?
Or could I create a new qmailForwardUser.schema that allows this type
of account and add that to every "forward" account?
--
Thanks,
Andrew McCall
andrew.mccall@gmail.com