Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > ADAM Schema Update failing

Reply
Thread Tools Display Modes

ADAM Schema Update failing

 
 
jase robinson
Guest
Posts: n/a

 
      04-19-2010
I have searched around and I cannot find anything that helps me. I am trying to update the schema on ADAM but i continue to receive this error, which I have discovered is pretty common:

Add error on line 1049: No Such Attribute
The server side error is: 0x57 The parameter is incorrect.
The extended server error is:
00000057: LdapErr: DSID-0C090B3D, comment: Error in attribute conversion operation, data 0, va28

I created my LDF file from a microsoft tutorial and by comparing with the MS-User.LDF in the ADAM directory.

Here it is. What is wrong with it?
------------------------------------------------------
#STEPhone Class

dn: CN=STEPhone,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: classSchema
cn: STEPhone
subClassOf: organizationalPerson
governsID: 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.2.2
mayContain: accountNumber
mayContain: budget
mayContain: changeID
mayContain: clientID
mayContain: comment
mayContain: costCode
mayContain: endDate
mayContain: feature0
mayContain: feature1
mayContain: feature2
mayContain: feature3
mayContain: feature4
mayContain: feature5
mayContain: feature6
mayContain: feature7
mayContain: feature8
mayContain: feature9
mayContain: gUID
mayContain: iD
mayContain: isShared
mayContain: networkTypeID
mayContain: number
mayContain: organisationalUnitID
mayContain: pABXSiteID
mayContain: pABXSiteName
mayContain: personID
mayContain: planID
mayContain: primaryPhoneID
mayContain: providerID
mayContain: rebillingPlanID
mayContain: serviceType
mayContain: silent
mayContain: spare1
mayContain: spare2
mayContain: spare3
mayContain: spare4
mayContain: spare5
mayContain: startDate
mayContain: status
mayContain: uID
rDNAttID: cn
adminDisplayName: STEPhone
adminDescription: STEPhone
objectClassCategory: 3
lDAPDisplayName: sTEPhone
name: STEPhone

dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-

dn: CN=User,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemamodify
add: auxiliaryClass
auxiliaryClass: STEUser
-

dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-


Submitted via EggHeadCafe - Software Developer Portal of Choice
BizTalk: Writing and using a custom referenced functoid.
http://www.eggheadcafe.com/tutorials...-and-usin.aspx
 
Reply With Quote
 
 
 
 
Lee Flight
Guest
Posts: n/a

 
      04-19-2010
Hi

you need to extend your ADAM schema with the attributeSchema definitions
for all of the attributes (accountNumber, budget...etc.) before you can
add the classSchema that may contain them.

Lee Flight

<jase robinson> wrote in message news:...
>I have searched around and I cannot find anything that helps me. I am
>trying to update the schema on ADAM but i continue to receive this error,
>which I have discovered is pretty common:
>
> Add error on line 1049: No Such Attribute
> The server side error is: 0x57 The parameter is incorrect.
> The extended server error is:
> 00000057: LdapErr: DSID-0C090B3D, comment: Error in attribute conversion
> operation, data 0, va28
>
> I created my LDF file from a microsoft tutorial and by comparing with the
> MS-User.LDF in the ADAM directory.
>
> Here it is. What is wrong with it?
> ------------------------------------------------------
> #STEPhone Class
>
> dn: CN=STEPhone,CN=Schema,CN=Configuration,DC=X
> changetype: ntdsschemaadd
> objectClass: top
> objectClass: classSchema
> cn: STEPhone
> subClassOf: organizationalPerson
> governsID:
> 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.2.2
> mayContain: accountNumber
> mayContain: budget
> mayContain: changeID
> mayContain: clientID
> mayContain: comment
> mayContain: costCode
> mayContain: endDate
> mayContain: feature0
> mayContain: feature1
> mayContain: feature2
> mayContain: feature3
> mayContain: feature4
> mayContain: feature5
> mayContain: feature6
> mayContain: feature7
> mayContain: feature8
> mayContain: feature9
> mayContain: gUID
> mayContain: iD
> mayContain: isShared
> mayContain: networkTypeID
> mayContain: number
> mayContain: organisationalUnitID
> mayContain: pABXSiteID
> mayContain: pABXSiteName
> mayContain: personID
> mayContain: planID
> mayContain: primaryPhoneID
> mayContain: providerID
> mayContain: rebillingPlanID
> mayContain: serviceType
> mayContain: silent
> mayContain: spare1
> mayContain: spare2
> mayContain: spare3
> mayContain: spare4
> mayContain: spare5
> mayContain: startDate
> mayContain: status
> mayContain: uID
> rDNAttID: cn
> adminDisplayName: STEPhone
> adminDescription: STEPhone
> objectClassCategory: 3
> lDAPDisplayName: sTEPhone
> name: STEPhone
>
> dn:
> changetype: modify
> add: schemaUpdateNow
> schemaUpdateNow: 1
> -
>
> dn: CN=User,CN=Schema,CN=Configuration,DC=X
> changetype: ntdsschemamodify
> add: auxiliaryClass
> auxiliaryClass: STEUser
> -
>
> dn:
> changetype: modify
> add: schemaUpdateNow
> schemaUpdateNow: 1
> -
>
>
> Submitted via EggHeadCafe - Software Developer Portal of Choice
> BizTalk: Writing and using a custom referenced functoid.
> http://www.eggheadcafe.com/tutorials...-and-usin.aspx



 
Reply With Quote
 
jase robinson
Guest
Posts: n/a

 
      04-19-2010
I have done so, but they are contained in a seperate file, which works without error.

here's a snipper of that file:

#Attribute definition for AccountNumber

dn: CN=accountNumber,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: accountNumber
attributeID: 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.1.35
attributeSyntax: 2.5.5.12
isSingleValued: TRUE
adminDisplayName: accountNumber
adminDescription: accountNumber
oMSyntax: 64
searchFlags: 0
lDAPDisplayName: accountNumber
systemOnly: FALSE



Lee Flight wrote:

Hiyou need to extend your ADAM schema with the attributeSchema definitionsfor
19-Apr-10

H

you need to extend your ADAM schema with the attributeSchema definition
for all of the attributes (accountNumber, budget...etc.) before you ca
add the classSchema that may contain them

Lee Flight

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
Using VSTO Add-In To Automate Frequent Excel 2007 Tasks
http://www.eggheadcafe.com/tutorials...n-to-auto.aspx
 
Reply With Quote
 
Lee Flight
Guest
Posts: n/a

 
      04-21-2010
Hi

does the line number that the error message refers to exist in your file?

If you want to drop me a copy of the LDIF files you are trying to import
I will take a look (remove -nospam from my posting address to use e-Mail).

Thanks
Lee Flight

"jase robinson" wrote in message news:...
> I have done so, but they are contained in a seperate file, which works
> without error.
>
> here's a snipper of that file:
>
> #Attribute definition for AccountNumber
>
> dn: CN=accountNumber,CN=Schema,CN=Configuration,DC=X
> changetype: ntdsschemaadd
> objectClass: top
> objectClass: attributeSchema
> cn: accountNumber
> attributeID:
> 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.1.35
> attributeSyntax: 2.5.5.12
> isSingleValued: TRUE
> adminDisplayName: accountNumber
> adminDescription: accountNumber
> oMSyntax: 64
> searchFlags: 0
> lDAPDisplayName: accountNumber
> systemOnly: FALSE
>
>
>
> Lee Flight wrote:
>
> Hiyou need to extend your ADAM schema with the attributeSchema
> definitionsfor
> 19-Apr-10
>
> Hi
>
> you need to extend your ADAM schema with the attributeSchema definitions
> for all of the attributes (accountNumber, budget...etc.) before you can
> add the classSchema that may contain them.
>
> Lee Flight
>
> Previous Posts In This Thread:
>
>
> Submitted via EggHeadCafe - Software Developer Portal of Choice
> Using VSTO Add-In To Automate Frequent Excel 2007 Tasks
> http://www.eggheadcafe.com/tutorials...n-to-auto.aspx


 
Reply With Quote
 
jase robinson
Guest
Posts: n/a

 
      04-21-2010
I have waited for 3 days. Is there any resolution to my problem?



jase robinson wrote:

I have done so,
19-Apr-10

I have done so, but they are contained in a seperate file, which works without error.

here's a snipper of that file:

#Attribute definition for AccountNumber

dn: CN=accountNumber,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: accountNumber
attributeID: 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.1.35
attributeSyntax: 2.5.5.12
isSingleValued: TRUE
adminDisplayName: accountNumber
adminDescription: accountNumber
oMSyntax: 64
searchFlags: 0
lDAPDisplayName: accountNumber
systemOnly: FALSE

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Report Engine, Part 4
http://www.eggheadcafe.com/tutorials...ne-part-4.aspx
 
Reply With Quote
 
Ace Fekay [MVP - Directory Services, MCT]
Guest
Posts: n/a

 
      04-22-2010
On Wed, 21 Apr 2010 16:33:31 -0700, jase robinson wrote:

>I have waited for 3 days. Is there any resolution to my problem?
>
>
>
>jase robinson wrote:
>
>I have done so,
>19-Apr-10
>
>I have done so, but they are contained in a seperate file, which works without error.
>
>here's a snipper of that file:
>
>#Attribute definition for AccountNumber
>
>dn: CN=accountNumber,CN=Schema,CN=Configuration,DC=X
>changetype: ntdsschemaadd
>objectClass: top
>objectClass: attributeSchema
>cn: accountNumber
>attributeID: 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.1.35
>attributeSyntax: 2.5.5.12
>isSingleValued: TRUE
>adminDisplayName: accountNumber
>adminDescription: accountNumber
>oMSyntax: 64
>searchFlags: 0
>lDAPDisplayName: accountNumber
>systemOnly: FALSE
>
>Previous Posts In This Thread:
>
>
>Submitted via EggHeadCafe - Software Developer Portal of Choice
>WPF Report Engine, Part 4
>http://www.eggheadcafe.com/tutorials...ne-part-4.aspx



There was a reply to your post in your thread by Lee Flight. Are you
able to find Lee's reply?


Ace

This posting is provided "AS-IS" with no warranties or guarantees and confers no rights.

Please reply back to the newsgroup or forum for collaboration benefit among responding engineers, and to help others benefit from your resolution.

Ace Fekay, MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services

If you feel this is an urgent issue and require immediate assistance, please contact Microsoft PSS directly. Please check http://support.microsoft.com for regional support phone numbers.
 
Reply With Quote
 
jase robinson
Guest
Posts: n/a

 
      04-27-2010
As a last resort, I went through each attribute to see which one was failing. Turns out that organisationalUnitID was the dodgy one. So, I did this:

mayContain: middleName
#mayContain: organisationalUnitID THIS IS BROKEN FOR AN UNKNOWN REASON
mayContain: 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.1.25
mayContain: salutation

Now it works. Dunno why that one breaks though.



jase robinson wrote:

reply
21-Apr-10

I have waited for 3 days. Is there any resolution to my problem?

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
Crypto Obfuscator for .NET - Product Review
http://www.eggheadcafe.com/tutorials...or-for-ne.aspx
 
Reply With Quote
 
Lee Flight
Guest
Posts: n/a

 
      04-28-2010
Maybe a typo. in the definition of the attributeSchema definition for
organisationalUnitID? If you would be prepared to share just the
attribute definition for organisationalUnitID I would be happy to
try and repro the problem.

Thanks
Lee Flight


<jase robinson> wrote in message news:...
> As a last resort, I went through each attribute to see which one was
> failing. Turns out that organisationalUnitID was the dodgy one. So, I did
> this:
>
> mayContain: middleName
> #mayContain: organisationalUnitID THIS IS BROKEN FOR AN UNKNOWN REASON
> mayContain:
> 1.2.840.113556.1.8000.2554.452.2773.1176.3555.3259 .8084608.290976.1.25
> mayContain: salutation
>
> Now it works. Dunno why that one breaks though.
>
>
>
> jase robinson wrote:
>
> reply
> 21-Apr-10
>
> I have waited for 3 days. Is there any resolution to my problem?
>
> Previous Posts In This Thread:
>
>
> Submitted via EggHeadCafe - Software Developer Portal of Choice
> Crypto Obfuscator for .NET - Product Review
> http://www.eggheadcafe.com/tutorials...or-for-ne.aspx



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 646 jkremke Windows Update 53 06-28-2010 07:35 PM
17 repeatedly offered updates not installing Cheshire Windows Update 2 02-28-2010 04:59 AM
Windows Update Error [Error number: 0x80245003] Marcus PC Tech Windows Update 20 12-24-2009 03:15 AM
Update will not install kpigout Windows Update 18 12-12-2009 12:46 AM
Explorer Crashes after Update Trader Windows Update 1 11-10-2009 05:41 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59