<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 07/23/2012 08:14 AM, Paul Robert Marino wrote:
<blockquote
cite="mid:CAPJdpdB2wbB-SkHB9BtP8EJ-i0hWnSfzdSH-7aTqqQW+-Fzg5Q@mail.gmail.com"
type="cite">
<p>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</p>
</blockquote>
Also, you cannot just use the files in the openldap schema format
e.g. <font>cn={6}apple is a openldap-ism. You will have to convert
these schema files to 389 format.<br>
<br>
See <a class="moz-txt-link-freetext" href="http://port389.org/wiki/Howto:OpenLDAPMigration">http://port389.org/wiki/Howto:OpenLDAPMigration</a><br>
</font><br>
<blockquote
cite="mid:CAPJdpdB2wbB-SkHB9BtP8EJ-i0hWnSfzdSH-7aTqqQW+-Fzg5Q@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Jul 23, 2012 1:09 AM, "Bradly Swart"
<<a moz-do-not-send="true" href="mailto:brad8711@gmail.com">brad8711@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<font>Hi List,<br>
<br>
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!<br>
<br>
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
</font><font><br>
All good!<br>
Now when I try and start the directory server up I get the
following errors;<br>
<br>
[23/Jul/2012:14:35:32 +1000] - Entry "cn={6}apple" has
unknown object class "olcSchemaConfig"
</font><font><br>
[23/Jul/2012:14:35:32 +1000] - Entry "cn={5}apple_auxillary"
has unknown object class "olcSchemaConfig"<br>
[23/Jul/2012:14:35:32 +1000] - Entry "cn={0}core" has
unknown object class "olcSchemaConfig"<br>
[23/Jul/2012:14:35:32 +1000] - Entry "cn={1}cosine" has
unknown object class "olcSchemaConfig"<br>
[23/Jul/2012:14:35:32 +1000] - Entry "cn={2}inetorgperson"
has unknown object class "olcSchemaConfig"<br>
[23/Jul/2012:14:35:32 +1000] - Entry "cn={3}nis" has unknown
object class "olcSchemaConfig"<br>
[23/Jul/2012:14:35:32 +1000] - Entry "cn={4}samba" has
unknown object class "olcSchemaConfig"<br>
[23/Jul/2012:14:35:32 +1000] createprlistensockets -
PR_Bind() on All Interfaces port 389 failed: Netscape
Portable Runtime error -5966 (Access Denied.)<br>
<br>
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.
</font><font><br>
Something along the lines of this blog post: <a
moz-do-not-send="true"
href="http://www.backupcentral.com/mr-backup-blog-mainmenu-47/13-mr-backup-blog/309-import-apple-a-samba-schemas-into-ldap.html/"
target="_blank">http://www.backupcentral.com/mr-backup-blog-mainmenu-47/13-mr-backup-blog/309-import-apple-a-samba-schemas-into-ldap.html/</a><br>
<br>
Hope someone can point me in the right direction with this
one!
</font><font><br>
<br>
389-NOOB</font>
<table cellpadding="0">
<tbody>
<tr>
<td><font><br>
</font></td>
<td><font><br>
</font></td>
<td><font><br>
</font></td>
<td><font><br>
</font></td>
<td><font><br>
</font></td>
<td><font><br>
</font></td>
</tr>
</tbody>
</table>
<font><br>
-- <br>
</font>
<div>
<div><font>Bradly Swart</font></div>
<div><font><br>
</font></div>
<div><font>Mobile: <a moz-do-not-send="true"
href="tel:%2B61%2044%20706%208963"
value="+61447068963" target="_blank">+61 44 706 8963</a></font></div>
<div><font>Skype: bradly.swart</font></div>
<div><font>Twitter: @brad8711</font></div>
</div>
<font><br>
</font>
<br>
--<br>
389 users mailing list<br>
<a moz-do-not-send="true"
href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
<a moz-do-not-send="true"
href="https://admin.fedoraproject.org/mailman/listinfo/389-users"
target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
</blockquote>
<br>
</body>
</html>