Tay, Gary
2005-Aug-18 09:46 UTC
RE: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
Is this what you need? # cat $FDS_ROOT/slapd-`hostname`/config/schema/61DUAConfigProfile.ldif dn: cn=schema attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.0 NAME ''defaultServerList'' DESC ''Default LDAP server host address used by a DUA'' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.1 NAME ''defaultSearchBase'' DESC ''Default LDAP base DN used by a DUA'' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.2 NAME ''preferredServerList'' DESC ''Preferred LDAP server host addresses to be used by a DUA'' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.3 NAME ''searchTimeLimit'' DESC ''Maximum time in seconds a DUA should allow for a search to complete'' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.4 NAME ''bindTimeLimit'' DESC ''Maximum time in seconds a DUA should allow for the bind operation to complete'' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.5 NAME ''followReferrals'' DESC ''Tells DUA if it should follow referrals returned by a DSA search result'' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.6 NAME ''authenticationMethod'' DESC ''A keystring which identifies the type of authentication method used to contact the DSA'' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.7 NAME ''profileTTL'' DESC ''Time to live, in seconds, before a client DUA should re-read this configuration profile'' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.14 NAME ''serviceSearchDescriptor'' DESC ''LDAP search descriptor list used by a DUA'' EQUALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.9 NAME ''attributeMap'' DESC ''Attribute mappings used by a DUA'' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.10 NAME ''credentialLevel'' DESC ''Identifies type of credentials a DUA should use when binding to the LDAP server'' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.11 NAME ''objectclassMap'' DESC ''Objectclass mappings used by a DUA'' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.12 NAME ''defaultSearchScope'' DESC ''Default search scope used by a DUA'' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.13 NAME ''serviceCredentialLevel'' DESC ''Identifies type of credentials a DUA should use when binding to the LDAP server for a specific service'' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributeTypes: ( 1.3.6.1.4.1.11.1.3.1.1.15 NAME ''serviceAuthenticationMethod'' DESC ''Authentication method used by a service of the DUA'' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) objectClasses: ( 1.3.6.1.4.1.11.1.3.1.2.4 NAME ''DUAConfigProfile'' SUP top STRUCTURAL DESC ''Abstraction of a base configuration for a DUA'' MUST ( cn ) MAY ( defaultServerList $ preferredServerList $ defaultSearchBase $ defaultSearchScope $ searchTimeLimit $ bindTimeLimit $ credentialLevel $ authenticationMethod $ followReferrals $ serviceSearchDescriptor $ serviceCredentialLevel $ serviceAuthenticationMethod $ objectclassMap $ attributeMap $ profileTTL ) ) Gary -----Original Message----- From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Justin Albstmeijer Sent: Thursday, August 18, 2005 4:21 PM To: General discussion list for the Fedora Directory server project. Subject: Re: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1 I suppose someone got it to work? non of the previous suggestions did the trick. Anyone? I seem to be looking for a modify ldif file to import the DUAConfigProfile Schema Justin -- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Justin Albstmeijer
2005-Aug-18 10:16 UTC
RE: [Fedora-directory-users] problem importing DUAConfigProfile Schema in to FDS 7.1
> Is this what you need?Yes, came to the same result.. thnx wget http://web.singnet.com.sg/~garyttt/DUAConfigProfile.schema.txt -qO - | sed s/DUAConfSchemaOID:/1.3.6.1.4.1.11.1.3.1/g | ./ol-schema-migrate.pl.fixed > /opt/fedora-ds/slapd-`hostname`/config/schema/61DUAConfigProfile.ldif - ol-schema-migrate.pl + ol-schema-migrate.pl.fixed: ---- - if ( /object[c|C]lass/ ) { + if ( /^object[c|C]lass/ ) {