Upgrading Windows Server 2000 to Server 2003 forestprep error
Sunday, March 14th, 2010I was working on an upgrade of a Windows Server 2000 Active Directory to Windows Server 2003 and encountered a problem when upgrade the schema version. After all preparations were taken I ran the adprep /forestprep command and got the following output:
=============================================================================
“attributeId” attribute value for objects defined in Windows 2000 schema and extended schema do not match.
A previous schema extension has defined the attribute value as “1.2.840.114050.1.1.1.1.90″ for object “CN=preferredLanguage,CN=Schema,CN=Configuration,DC=Contoso,DC=com” differently than the schema extension needed for Windows 2003 server .
[Status/Consequence]
Adprep cannot extend your existing schema
[User Action]
Contact the vendor of the application that previously extended the schema to resolve the inconsistency. Then run adprep again.
=============================================================================
“isSingleValued” attribute value for objects defined in Windows 2000 schema and extended schema do not match.
A previous schema extension has defined the attribute value as “FALSE” for object “CN=preferredLanguage,CN=Schema,CN=Configuration,DC=contoso,DC=com” differently than the schema extension needed for Windows 2003 server .
[Status/Consequence]
Adprep cannot extend your existing schema
[User Action]
Contact the vendor of the application that previously extended the schema to resolve the inconsistency. Then run adprep again.
==============================================================================
I opened up a PSS Support call because I am always carefull with schema issues. Better be safe than sorry. Microsoft suggested to run the renameattribute.exe included in the hotfix explained in KB293783. The KB is referring to ” Unix services for windows” which caused the problem. The renameattribute did not solve the problem.
After a talk with the sysadmin that was working with the company the longest, he remembered that years ago there was an issue when the COGNOS application was implemented. He remembered that they did an schema extension on the AD. Because there were a lot of problems with the AD integration, the AD integration was cancelled.
The Attribute PreferredLanguage was implemeted by COGNOS with the wrong OID. After checking the AD that the attribute was not used by any user object, I renamed the ldapdisplayname, admindisplayname and the RDN of the attribute preferredlanguage to COGNOSpreferredlanguage. After the change the forestprep worked without any errors!
I have been using the ADExplorer tool from sysinternals and I liked it very much. It is way better than working with ldp.exe from MS.
Please be very carefull when making changes to the Active Directory Schema ! Making changes in the schema is always at your own risk !!
