Novell Home

Tip for eDirectory Upgrade to 8.5 or 8.6 Synchronization Error

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 2 Nov 2001
 

For details or updates on this tip, see TID-10065372

Here's some solid info (from our good friends in Novell Technical Support) on getting your directory back on its feet if you've upgraded to version 8.5 or 8.6 and are faced with a nasty synchronization error.

Here's the Problem

DSREPAIR versions 5.21a through 5.25z or DSREPAIR 4.68a through 4.70z create attributes creatorsName and modifiersName. DSREPAIR adds the syntax Distinguished Name to SCHEMA. NDS 85.xx and NDS 86.xx require the schema definition syntax to be Case Ignore String. This discrepancy causes -613 and -722 errors.

And, Here's the Solution First, verify you have this particular problem. Do this by using DSBROWSE (for NDS 7.xx, 8.xx, 85.xx, and 10110.20) or DSVIEW for (NDS 6.xx).

Steps for DSBROWSE
Load Dsbrowse | Choose Schema Browse | [Schema Root] | [Attribute Definitions] | and search for the attributes creatorsName and modifiersName. Press enter on creatorsName | View Attributes | Press enter on [ID Schema Value] | View Value Details | Look for Attribute Syntax:

  • If Case Ignore String is present - schema is correct and you do not have the problem.
  • If Distinguished Name is present - the problem exists - go to Step 1.

Steps for DSVIEW
Load dsview | Choose 4. <Attribute Definitions>: | Then use 1. <Next> to search for creatorsName and modifiersName. (You must go through all attributes one by one.) Once each is found, Look for Syntax:

  • If Case Ignore String is present - schema is correct and you do not have the problem.
  • If Distinguished Name is present - the problem exists - go to Step 1.

Step 1. Patch all servers to minimum patch list:

  • NetWare 5.1 with Support Pack 2a or later
  • NetWare 5 with Support Pack 6a or later
  • NetWare 4.11/4.2 with Support Pack 9 or later

Step 2. Determine which case applies to your tree. Three different cases are presented below.

  • NOTE: Make Backups. Load DSREPAIR - rc on the effected servers. This will create a back up of the database.
  • NOTE: BE PATIENT. It will take a while for the steps below to propagate through the tree. Do not panic when errors do not immediately go away.

Case 1

The tree has NEVER had eDirectory 8.5 or 8.6 (NDS 85.xx/ NDS 10110.20) or greater installed and ALL servers currently are NDS 6.xx or 7.xx. (If eDirectory 8.5/8.6 was installed and removed, Case 1 does not apply to you)

Fix for Case 1: If there is a 7.xx server that holds a copy of [Root], load DSREPAIR 5.28b or greater | Advanced Options Menu | Global Schema Operations | Post NetWare 5 Schema Update

If all copies of [Root] are on 6.xx servers, load DSREPAIR 4.72b or greater | Advanced Options Menu | Global Schema Operations | Post NetWare 5 Schema Update.

This should correct the problem and timestamp the attributes to propagate them through the tree. After executing the DSREPAIR options from above, toggle out to the console prompt and force a schema sync

  • Set dstrace=+Schema
  • Set dstrace=*SSD
  • Set dstrace=*SSA

Case 2

The tree has NEVER had eDirectory 8.5 or 8.6 (NDS 85.xx/NDS 10110.20) or greater installed. NDS 8 (DS 8.xx) exists in the tree. (If eDirectory 8.5/8.6 was installed and removed, case 2 does not apply to you).

Fix for Case 2: If all servers holding [ROOT] are NDS 6.xx servers, add a copy of [Root] to a NDS 7.xx or NDS 8.xx server.

  1. If there are NDS 7.xx servers holding a copy of [ROOT], Load DSREPAIR -A8 -RD (Make sure to use DSREPAIR 5.28b or later). After the repair completes, it will exit out of DSREPAIR back to the console prompt.
  2. Reload DSREPAIR (without any switches) | Advanced options menu | Repair Local DS database| set all options to NO. F10 to start dsrepair.
  3. After dsrepair completes, exit out to the console prompt and force a schema sync.
    Set dstrace=+Schema
    Set dstrace=*SSD
    Set dstrace=*SSA
  4. Load Dsbrowse | Choose Schema Browse | [Schema Root] | [Attribute Definitions] | and search for the attributes creatorsName and modifiersName to verify they have been deleted on the servers.
  5. Load DSREPAIR 5.28b or greater | Advanced Options Menu | Global Schema Operations | Post NetWare 5 Schema Update (This will recreate the attributes creatorsName and modifiersName with the correct syntax to resolve any schema problem for eDirectory 8.5 or 8.6)

If DS 8.xx is holding a copy of [Root], copy Dsrepair 85.12b or greater from the PreedirE.exe file to the NDS 8.xx server and run the following dsrepair. Load DSREPAIR -RD -A0 (**Note 0 is zero**)

If you have Solaris in the NDS tree running NDS 8xx, Call Novell Technical Support.

Case 3

eDirectory 8.5 or 8.6 (NDS 85.xx/NDS 10110.20) or greater has been introduced into the tree at any time (If eDirectory 8.5 or 8.6 was installed into the tree and then removed, Case 3 still applies.)

Fix for Case 3: Run Dsrepair 85.12b or greater found in the PreedirE.exe file on our support site on all NDS 8.xx or NDS 85.xx

Run DSREPAIR 10110.06 or greater on all NetWare 6 servers.

Perform the following steps:

NOTE Do the following steps on NDS 8.xx servers holding a copy of [Root] first. For eDirectory 8.5/8.6 (NDS 85.xx/ NDS 10110.20), perform the following steps after all NDS 8.xx servers are finished.

  1. On servers holding a copy of ROOT(NDS 8.xx, 85.xx, and 10110.20), load DSREPAIR -RD -A0 (Note 0 is zero) it will execute and exit automatically.
    On NT/2000, start DSREPAIR with ?az option and choose repair local database.
  2. Run local database repair on all NDS 7.xx servers in the tree (using DSREPAIR is 5.28b or later) that hold a partition which eDirectory 8.5/8.6 contains or used to contain. If you are not sure, run this on ALL NDS 7.xx servers. This repair option will remove any invalid attribute values from objects in the tree.
    On NetWare's console, load DSREPAIR ?RD ?A7, it executes and exits automatically.
  3. If the replica ring containing [Root] has at least one server running eDirectory 8.5/8.6 (NDS 85.xx/ NDS 10110.20) or greater, you are now finished.

If the replica ring containing [Root] has at least one server running NDS 8.xx, on that server Load DSREPAIR | Advanced Options Menu | Global Schema Operations | Post NetWare 5 Schema Update (using the DSREPAIR 85.12b or greater). You are now finished.

If there is a NDS 7.xx server that holds a copy of [Root], load DSREPAIR (5.28b or greater) on the server. | Advanced Options Menu | Global Schema Operations | Post NetWare 5 Schema Update. You are now finished.

For details or updates on this tip, see TID-10065372


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell