Am I being dense? I tried to use the import database task in the
console to import the schema files. Is this a Dumb Thing (tm)?
The SunOne eduPerson-200412.mods.ldif gives the following error when I
try to import it:
cn=schema: Error modifying object 'dn: cn=schema'. The error sent
by the server was 'No such attribute. attribute type
edupersonaffiliation: Is unknown. Cannot delete.'. The
modifications were: [Lnetscape.ldap.LDAPModification ;@5f0b1d65.
You cannot import a schema file that way. The best way to import this
schema file would be to
1) rename it to 60eduPerson.ldif
2) copy it to slapd-instance/config/schema
3) restart the DS
the converted OpenLdap eduperson-200412.ldif gives:
cn=schema: Error adding object 'dn: cn=schema'. The error sent by
the server was 'Object class violation. missing required attribute
"objectclass"
'. The object is: LDAPEntry: cn=schema; LDAPAttributeSet:
LDAPAttribute {type='objectclasses', values='(
1.3.6.1.4.1.5923.1.1.2 NAME 'eduPerson' AUXILIARY MAY (
eduPersonAffiliation $ eduPersonNickname $ eduPersonOrgDN $
eduPersonOrgUnitDN $ eduPersonPrimaryAffiliation $
eduPersonPrincipalName $ eduPersonEntitlement $
eduPersonPrimaryOrgUnitDN $ eduPersonScopedAffiliation ) )'}
LDAPAttribute {type='attributetypes', values='(
1.3.6.1.4.1.5923.1.1.1.1 NAME 'eduPersonAffiliation' DESC
'eduPerson per Internet2 and EDUCAUSE' EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch SYNTAX
'1.3.6.1.4.1.1466.115.121.1.15' ),( 1.3.6.1.4.1.5923.1.1.1.2 NAME
'eduPersonNickname' DESC 'eduPerson per Internet2 and EDUCAUSE'
EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
'1.3.6.1.4.1.1466.115.121.1.15' ),( 1.3.6.1.4.1.5923.1.1.1.3 NAME
'eduPersonOrgDN' DESC 'eduPerson per Internet2 and EDUCAUSE'
EQUALITY distinguishedNameMatch SYNTAX '
1.3.6.1.4.1.1466.115.121.1.12' SINGLE-VALUE ),(
1.3.6.1.4.1.5923.1.1.1.4 NAME 'eduPersonOrgUnitDN' DESC 'eduPerson
per Internet2 and EDUCAUSE' EQUALITY distinguishedNameMatch SYNTAX
'1.3.6.1.4.1.1466.115.121.1.12' ),( 1.3.6.1.4.1.5923.1.1.1.5 NAME
'eduPersonPrimaryAffiliation' DESC 'eduPerson per Internet2 and
EDUCAUSE' EQUALITY caseIgnoreMatch SUBSTR
caseIgnoreSubstringsMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
SINGLE-VALUE ),( 1.3.6.1.4.1.5923.1.1.1.6 NAME
'eduPersonPrincipalName' DESC 'eduPerson per Internet2 and
EDUCAUSE' EQUALITY caseIgnoreMatch SUBSTR
caseIgnoreSubstringsMatch SYNTAX ' 1.3.6.1.4.1.1466.115.121.1.15'
SINGLE-VALUE ),( 1.3.6.1.4.1.5923.1.1.1.7 NAME
'eduPersonEntitlement' DESC 'eduPerson per Internet2 and EDUCAUSE'
EQUALITY caseExactMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' ),(
1.3.6.1.4.1.5923.1.1.1.8 NAME 'eduPersonPrimaryOrgUnitDN' DESC
'eduPerson per Internet2 and EDUCAUSE' EQUALITY
distinguishedNameMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.12'
SINGLE-VALUE ),( 1.3.6.1.4.1.5923.1.1.1.9 NAME
'eduPersonScopedAffiliation' DESC 'eduPerson per Internet2 and
EDUCAUSE' EQUALITY caseIgnoreMatch SYNTAX '
1.3.6.1.4.1.1466.115.121.1.15' SINGLE-VALUE )'}.
On 7/25/05, Nathan Kinder <nkinder(a)redhat.com
<mailto:nkinder@redhat.com>> wrote:
You can find the eduPerson schema in various formats (includeing
iPlanet/SunONE, which should work with FDS) at
http://middleware.internet2.edu/dir/schema/
-NGK
Rich Megginson wrote:
> I don't know if this is the latest
>
http://lab.ac.uab.edu/vnet/documents/ldif/eduperson.schema
> But it looks like it's in openldap schema format, so you should just
> be able to use the schema conversion scripts here -
>
http://directory.fedora.redhat.com/wiki/Howto:OpenLDAPMigration#Schema
>
> Alastair Neil wrote:
>
>> Does any one know if there is a veriosn of the EduPerson Schema
for FDS?
>>
>> thanks Alastair
>>
>>------------------------------------------------------------------------
>>
>>--
>>Fedora-directory-users mailing list
>> Fedora-directory-users(a)redhat.com
<mailto:Fedora-directory-users@redhat.com>
>>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
>>
>------------------------------------------------------------------------
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users(a)redhat.com
<mailto:Fedora-directory-users@redhat.com>
>
https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
------------------------------------------------------------------------
--
Fedora-directory-users mailing list
Fedora-directory-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users