[389-users] Import Apple Open Directory Schema

Rich Megginson rmeggins at redhat.com
Mon Jul 23 15:03:14 UTC 2012


On 07/23/2012 08:14 AM, Paul Robert Marino wrote:
>
> 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
>
Also, you cannot just use the files in the openldap schema format e.g. 
cn={6}apple is a openldap-ism.  You will have to convert these schema 
files to 389 format.

See http://port389.org/wiki/Howto:OpenLDAPMigration

> On Jul 23, 2012 1:09 AM, "Bradly Swart" <brad8711 at gmail.com 
> <mailto:brad8711 at 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 <tel:%2B61%2044%20706%208963>
>     Skype: bradly.swart
>     Twitter: @brad8711
>
>
>     --
>     389 users mailing list
>     389-users at lists.fedoraproject.org
>     <mailto:389-users at lists.fedoraproject.org>
>     https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120723/982bad3e/attachment.html>


More information about the 389-users mailing list