|
|
FAQ
Search
Memberlist
Usergroups
Register
Profile
Private messages
Log in
|
|
| Author |
Message |
aristote Guest
|
Posted: Fri May 12, 2006 1:07 pm Post subject: help; ADAM schema update pb |
|
|
After extending my ADAM schema with new classes and attributs I cannot use
them. This is the code error that I get:
000020B4: UpdErr: DSID-03051042, problem 6002 (OBJ_CLASS_VIOLATION), data 0
any idea? |
|
| Back to top |
|
 |
|
|
Lee Flight Guest
|
Posted: Fri May 12, 2006 8:04 pm Post subject: Re: help; ADAM schema update pb |
|
|
Hi
I do not think there's enough information there to give a specific answer.
You need to review your schema extension with regard to attributes
that can be contained ny the objects etc.,
Could you provide some context, object class and attribute ldf's?
Lee Flight
"aristote" <aristote@discussions.microsoft.com> wrote in message
news:97178137-9961-4E57-BD96-B879EA5E4749@microsoft.com...
| Quote: | After extending my ADAM schema with new classes and attributs I cannot
use
them. This is the code error that I get:
000020B4: UpdErr: DSID-03051042, problem 6002 (OBJ_CLASS_VIOLATION), data
0
any idea? |
|
|
| Back to top |
|
 |
aristote Guest
|
Posted: Tue May 16, 2006 2:15 pm Post subject: Re: help; ADAM schema update pb |
|
|
hi, sorry i was away...
here an attribut:
# Attribute: admintype
dn: cn=attr-admintype,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.222222.1.56
ldapDisplayName: admintype
attributeSyntax: 2.5.5.12
adminDescription: axalto definedattribute type
oMSyntax: 64
systemOnly: FALSE
and here's a class
# Class: axaltoAdmin
dn: cn=cls-axaltoAdmin,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: classSchema
governsID: 1.3.6.1.4.1.222222.2.1
ldapDisplayName: axaltoAdmin
objectClassCategory: 1
# subclassOf: top
subclassOf: 2.5.6.0
# rdnAttId: cn
rdnAttId: 2.5.4.3
# mustContain: cn
mustContain: 2.5.4.3
# mayContain: adminText
mayContain: 1.3.6.1.4.1.222222.1.4
# mayContain: admintype
mayContain: 1.3.6.1.4.1.222222.1.56
# mayContain: alias
mayContain: 1.3.6.1.4.1.222222.1.5
# mayContain: applicationdata
mayContain: 1.3.6.1.4.1.222222.1.88
# mayContain: edmpolicy
mayContain: 1.3.6.1.4.1.222222.1.65
# mayContain: expertise
mayContain: 1.3.6.1.4.1.222222.1.8
# mayContain: healthSafetyAndEnvironment
mayContain: 1.3.6.1.4.1.222222.1.9
# mayContain: id
mayContain: 1.3.6.1.4.1.222222.1.10
# mayContain: lastmodifiedon
mayContain: 1.3.6.1.4.1.222222.1.83
# mayContain: proxy
mayContain: 1.3.6.1.4.1.222222.1.15
# mayContain: routeracl
mayContain: 1.3.6.1.4.1.222222.1.85
# mayContain: schedule
mayContain: 1.3.6.1.4.1.222222.1.52
# mayContain: securitystatus
mayContain: 1.3.6.1.4.1.222222.1.77
# mayContain: sitedn
mayContain: 1.3.6.1.4.1.222222.1.79
# mayContain: subscriptionsdenyto
mayContain: 1.3.6.1.4.1.222222.1.86
# mayContain: subscriptionsgrantto
mayContain: 1.3.6.1.4.1.222222.1.87
# mayContain: tainted
mayContain: 1.3.6.1.4.1.222222.1.90
# mayContain: type
mayContain: 1.3.6.1.4.1.222222.1.16
# possSuperiors: top
possSuperiors: 2.5.6.0
I have noticed that the type of a class can be defined when you create this
class manually, it can be a STRUCTURAL class, an ABSTRACT class or an
AUXILIARY class, but i don't know wich attribut of my file i can use to point
this out . using AD schema analyser produces the above entries. When I
import my entries, all my classes are STRUCTURAL, how can I change this? it
works fine when I add manually attributs and AUXILIARY classes (with the
adamschmmgmt tool).
"Lee Flight" wrote:
| Quote: | Hi
I do not think there's enough information there to give a specific answer.
You need to review your schema extension with regard to attributes
that can be contained ny the objects etc.,
Could you provide some context, object class and attribute ldf's?
Lee Flight
"aristote" <aristote@discussions.microsoft.com> wrote in message
news:97178137-9961-4E57-BD96-B879EA5E4749@microsoft.com...
After extending my ADAM schema with new classes and attributs I cannot
use
them. This is the code error that I get:
000020B4: UpdErr: DSID-03051042, problem 6002 (OBJ_CLASS_VIOLATION), data
0
any idea?
|
|
|
| Back to top |
|
 |
Lee Flight Guest
|
Posted: Wed May 17, 2006 1:51 am Post subject: Re: help; ADAM schema update pb |
|
|
Hi
after a quick scan of that classSchema object I would say that
the definition is lacking possSuperiors, it only has Top a
possible superior which means that the class could not be
instantiated in a naming context as a structural class. Perhaps
it was derived from the definition of some auxiliary class?
objectClassCategory is what defines the kind of class. See:
http://msdn.microsoft.com/library/en-us/ad/ad/structural_abstract_and_auxiliary_classes.asp
and
http://msdn.microsoft.com/library/en-us/ad/ad/characteristics_of_object_classes.asp
Take a look at the MS-
ldf files in %windir%\ADAM for examples.
Lee Flight
"aristote" <aristote@discussions.microsoft.com> wrote in message
news:CBAC03F9-1B73-4D6D-868A-BC958F780B71@microsoft.com...
| Quote: | hi, sorry i was away...
here an attribut:
# Attribute: admintype
dn: cn=attr-admintype,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.222222.1.56
ldapDisplayName: admintype
attributeSyntax: 2.5.5.12
adminDescription: axalto definedattribute type
oMSyntax: 64
systemOnly: FALSE
and here's a class
# Class: axaltoAdmin
dn: cn=cls-axaltoAdmin,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: classSchema
governsID: 1.3.6.1.4.1.222222.2.1
ldapDisplayName: axaltoAdmin
objectClassCategory: 1
# subclassOf: top
subclassOf: 2.5.6.0
# rdnAttId: cn
rdnAttId: 2.5.4.3
# mustContain: cn
mustContain: 2.5.4.3
# mayContain: adminText
mayContain: 1.3.6.1.4.1.222222.1.4
# mayContain: admintype
mayContain: 1.3.6.1.4.1.222222.1.56
# mayContain: alias
mayContain: 1.3.6.1.4.1.222222.1.5
# mayContain: applicationdata
mayContain: 1.3.6.1.4.1.222222.1.88
# mayContain: edmpolicy
mayContain: 1.3.6.1.4.1.222222.1.65
# mayContain: expertise
mayContain: 1.3.6.1.4.1.222222.1.8
# mayContain: healthSafetyAndEnvironment
mayContain: 1.3.6.1.4.1.222222.1.9
# mayContain: id
mayContain: 1.3.6.1.4.1.222222.1.10
# mayContain: lastmodifiedon
mayContain: 1.3.6.1.4.1.222222.1.83
# mayContain: proxy
mayContain: 1.3.6.1.4.1.222222.1.15
# mayContain: routeracl
mayContain: 1.3.6.1.4.1.222222.1.85
# mayContain: schedule
mayContain: 1.3.6.1.4.1.222222.1.52
# mayContain: securitystatus
mayContain: 1.3.6.1.4.1.222222.1.77
# mayContain: sitedn
mayContain: 1.3.6.1.4.1.222222.1.79
# mayContain: subscriptionsdenyto
mayContain: 1.3.6.1.4.1.222222.1.86
# mayContain: subscriptionsgrantto
mayContain: 1.3.6.1.4.1.222222.1.87
# mayContain: tainted
mayContain: 1.3.6.1.4.1.222222.1.90
# mayContain: type
mayContain: 1.3.6.1.4.1.222222.1.16
# possSuperiors: top
possSuperiors: 2.5.6.0
I have noticed that the type of a class can be defined when you create
this
class manually, it can be a STRUCTURAL class, an ABSTRACT class or an
AUXILIARY class, but i don't know wich attribut of my file i can use to
point
this out . using AD schema analyser produces the above entries. When I
import my entries, all my classes are STRUCTURAL, how can I change this?
it
works fine when I add manually attributs and AUXILIARY classes (with the
adamschmmgmt tool).
"Lee Flight" wrote:
Hi
I do not think there's enough information there to give a specific
answer.
You need to review your schema extension with regard to attributes
that can be contained ny the objects etc.,
Could you provide some context, object class and attribute ldf's?
Lee Flight
"aristote" <aristote@discussions.microsoft.com> wrote in message
news:97178137-9961-4E57-BD96-B879EA5E4749@microsoft.com...
After extending my ADAM schema with new classes and attributs I cannot
use
them. This is the code error that I get:
000020B4: UpdErr: DSID-03051042, problem 6002 (OBJ_CLASS_VIOLATION),
data
0
any idea?
|
|
|
| Back to top |
|
 |
|
|