Re: ADAM ADSIEdit and auxiliary classes

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: francois reichenbach (francois.reichenbach_at_unifr.ch)
Date: 04/29/04


Date: Thu, 29 Apr 2004 13:23:07 +0200

Hello,

Thank you for reading.

The schema is extended and usable.

Summarized question: Is it possible to manage attributes of an auxiliary
class with ADAMADSIEdit? If yes, what is wrong with me? If no, i will
continue with ldp!

Thanks and best regards.

"Eric Fleischman [MSFT]" <efleis@online.microsoft.com> wrote in message
news:ethqS4ZLEHA.3516@TK2MSFTNGP11.phx.gbl...
> Are you havign trouble importing the schema extension? Or using it
> subsequently?
> Can you tell us some errors you are getting more specifically?
>
> --
> Eric Fleischman [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no rights
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "francois reichenbach" <francois.reichenbach@unifr.ch> wrote in message
> news:408faf97@siufuxsun02.unifr.ch...
> > Hello,
> > Adding the auxiliary class eduperson to the ADAM Schema requested some
> > adaptations (see the eduperson.ldif below, feedback is welcome).
> > To add "eduperson" to the objectclass of a user simple with ldp as well
as
> > with ADAMADSIEdit.
> > To add attributes allowed for this auxiliary class ldp was working
nicely.
> > Searching with ADAMADSIEdit with a filter on the attributes of the
> > auxiliary
> > class was successful.
> >
> > Question:
> > To add attributes allowed for this auxiliary class with ADAMADSIEdit was
> > not
> > possible. The attributes belonging to the auxiliary class are not added
to
> > the list of the optional attributes, so they cannot be edited. Is this
> > related to the ADAMADSIEdit Snap-In or can it be due to some missing
> > declaration in the eduperson.ldif (see below)?
> > Any help or comment welcome.
> >
> > Best regards.
> >
> > Appendix:
> > eduperson.ldif draft version was accepted from ldifde:
> > snip---begin
> > dn: CN=eduPersonAffiliation,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: top
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.1
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.15
> > #string unicode
> > attributeSyntax: 2.5.5.12
> > oMSyntax: 64
> > cn: eduPersonAffiliation
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonAffiliation
> > isSingleValued: FALSE
> >
> > dn: CN=eduPersonNickname,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: top
> > objectClass: attributeSchema
> > cn: eduPersonNickname
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.2
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.15
> > #string unicode
> > attributeSyntax: 2.5.5.12
> > oMSyntax: 64
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonNickname
> > isSingleValued: FALSE
> >
> > dn: CN=eduPersonOrgDN,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: top
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.3
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.12
> > # string DS-DN
> > attributeSyntax: 2.5.5.1
> > oMSyntax: 127
> > #oMObjectclass: 0x2B0C0287731C00854A
> > oMObjectClass:: KwwCh3McAIVK
> > cn: eduPersonOrgDN
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonOrgDN
> > isSingleValued: TRUE
> >
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.12
> > #String that contains a DN. For attributes with this syntax,
> > #Active Directory handles attribute values as references to
> > #the object identified by the DN and automatically updates the
> > #value if the object is moved or renamed. For queries that include
> > #attributes of DN syntax in a filter, specify full distinguished
> > #names-wildcards (for example, cn=John*) are not supported.
> > # string DS-DN
> > #extracted from
> >
http://msdn.microsoft.com/library/en-us/ad/ad/syntaxes_for_active_directory_attributes.asp
> > #Syntax type Value
> > #attributeSyntax 2.5.5.1
> > #oMSyntax 127
> > #oMObjectClass 0x2B0C0287731C00854A is KwwCh3McAIVK in base64
> > #VARTYPE VT_BSTR
> > #ADSTYPE ADSTYPE_DN_STRING
> >
> > dn: CN=eduPersonOrgUnitDN,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.4
> > attributeSyntax: 2.5.5.1
> > oMSyntax: 127
> > oMObjectClass:: KwwCh3McAIVK
> > cn: eduPersonOrgUnitDN
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonOrgUnitDN
> > isSingleValued: FALSE
> >
> > dn: CN=eduPersonPrimaryAffiliation,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.5
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.15
> > cn: eduPersonPrimaryAffiliation
> > attributeSyntax: 2.5.5.12
> > oMSyntax: 64
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonPrimaryAffiliation
> > isSingleValued: TRUE
> >
> > dn: CN=eduPersonPrincipalName,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.6
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.15
> > attributeSyntax: 2.5.5.12
> > oMSyntax: 64
> > cn: eduPersonPrincipalName
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonPrincipalName
> > isSingleValued: TRUE
> >
> > dn: CN=eduPersonEntitlement,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.7
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.15
> > #string unicode
> > attributeSyntax: 2.5.5.12
> > oMSyntax: 64
> > cn: eduPersonEntitlement
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonEntitlement
> > isSingleValued: FALSE
> >
> > dn: CN=eduPersonPrimaryOrgUnitDN,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.8
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.12
> > attributeSyntax: 2.5.5.1
> > oMSyntax: 127
> > oMObjectClass:: KwwCh3McAIVK
> > cn: eduPersonPrimaryOrgUnitDN
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonPrimaryOrgUnitDN
> > isSingleValued: TRUE
> >
> > dn: CN=eduPersonScopedAffiliation,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsschemaadd
> > objectClass: attributeSchema
> > attributeId: 1.3.6.1.4.1.5923.1.1.1.9
> > #attributeSyntax: 1.3.6.1.4.1.1466.115.121.1.15
> > attributeSyntax: 2.5.5.12
> > oMSyntax: 64
> > cn: eduPersonScopedAffiliation
> > description: eduPerson per Internet2 and EDUCAUSE
> > ldapDisplayName: eduPersonScopedAffiliation
> > isSingleValued: FALSE
> >
> > dn:
> > changeType: modify
> > add: schemaUpdateNow
> > schemaUpdateNow: 1
> > -
> >
> > # add class definition
> > dn: CN=eduPerson,CN=Schema,CN=Configuration,DC=X
> > changetype: ntdsSchemaAdd
> > objectClass: top
> > objectClass: classSchema
> > cn: eduPerson
> > distinguishedName:
> > CN=eduPerson,CN=Schema,CN=Configuration,DC=X
> > governsID: 1.3.6.1.4.1.5923.1.1.2
> > adminDisplayName: eduPerson
> > adminDescription: eduPerson
> > # 3 == aux class
> > objectClassCategory: 3
> > lDAPDisplayName: eduPerson
> > name: eduPerson
> > mayContain: eduPersonAffiliation
> > mayContain: eduPersonNickname
> > mayContain: eduPersonOrgDN
> > mayContain: eduPersonOrgUnitDN
> > mayContain: eduPersonPrimaryAffiliation
> > mayContain: eduPersonPrincipalName
> > mayContain: eduPersonEntitlement
> > mayContain: eduPersonPrimaryOrgUnitDN
> > mayContain: eduPersonScopedAffiliation
> >
> > dn:
> > changetype: ntdsSchemaModify
> > add: schemaUpdateNow
> > schemaUpdateNow: 1
> > -
> > snip----end
> >
> >
> >
>
>