The apple open directory schema is reliant on several other schemas that are disstibuted wit openldap including the one for nis if I remember correctly. A simple grep -R for the objects its erroring on should give you a clue. First check if there is a pre existing schema distributed with 389 that provide the objects so where ever possible you can avoid conflicts then if that fails import the other schemas from openldap

On Jul 23, 2012 1:09 AM, "Bradly Swart" <brad8711@gmail.com> wrote:
Hi List,

I've just been put on a project requiring the migration of a clients Apple Open Directory setup to a virtualized Linux RedHat environment running 389 Directory Server. I have no prior LDAP experience, so this has been quite an adventure so far!

In order to get this going I have copied the apple schema files, converted to ldif and put them into the /etc/dirsrv/slapd-ldap/schema

All good!
Now when I try and start the directory server up I get the following errors;

[23/Jul/2012:14:35:32 +1000] - Entry "cn={6}apple" has unknown object class "olcSchemaConfig"

[23/Jul/2012:14:35:32 +1000] - Entry "cn={5}apple_auxillary" has unknown object class "olcSchemaConfig"
[23/Jul/2012:14:35:32 +1000] - Entry "cn={0}core" has unknown object class "olcSchemaConfig"
[23/Jul/2012:14:35:32 +1000] - Entry "cn={1}cosine" has unknown object class "olcSchemaConfig"
[23/Jul/2012:14:35:32 +1000] - Entry "cn={2}inetorgperson" has unknown object class "olcSchemaConfig"
[23/Jul/2012:14:35:32 +1000] - Entry "cn={3}nis" has unknown object class "olcSchemaConfig"
[23/Jul/2012:14:35:32 +1000] - Entry "cn={4}samba" has unknown object class "olcSchemaConfig"
[23/Jul/2012:14:35:32 +1000] createprlistensockets - PR_Bind() on All Interfaces port 389 failed: Netscape Portable Runtime error -5966 (Access Denied.)

Obviously it cannot find the object class definition / description, atlhough I'm not sure why, and have no idea where that should be. According to the blog posts and tutorials I have found they say to just copy the schema files in the relevant format and restart the server, none of them have come across this error.

Something along the lines of this blog post: http://www.backupcentral.com/mr-backup-blog-mainmenu-47/13-mr-backup-blog/309-import-apple-a-samba-schemas-into-ldap.html/

Hope someone can point me in the right direction with this one!


389-NOOB







--
Bradly Swart

Mobile: +61 44 706 8963
Skype: bradly.swart
Twitter: @brad8711


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users