FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 07-23-2012, 05:08 AM
Bradly Swart
 
Default Import Apple Open Directory Schema

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 8963Skype: bradly.swart
Twitter: @brad8711

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 07-23-2012, 02:14 PM
Paul Robert Marino
 
Default Import Apple Open Directory Schema

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

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 07-23-2012, 03:03 PM
Rich Megginson
 
Default Import Apple Open Directory Schema

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@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








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





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

Thread Tools




All times are GMT. The time now is 07:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org