4.2 Adding a Root Target to an Existing Domainv1-Based DFS Namespace
The following example describes the steps used to create a new root target in an existing domainv1-based DFS namespace.
The client determines whether a new domainv1-based DFS namespace is being created or a new DFS root target is being added to an existing domainv1-based DFS namespace, by issuing an LDAP search for the object corresponding to the domainv1-based DFS namespace to the PDC.
Because the domainv1-based DFS namespace already exists, the LDAP search is successful.
The client updates the ACL on the object to permit the new DFS root target CFS-41X-2C03 to update the object.
The ACL change on the object is successful.
The client issues a NetrDfsAddFtRoot method to the new DFS root target server CFS-41X-2C03.
The DFS root target server CFS-41X-2C03 creates the DFS metadata required for the new domainv1-based DFS namespace and writes it to the PDC for the domain. The following illustration shows the LDAP modify parameters that do this.
The DFS metadata write is successful.
The DFS root target CFS-41X-2C03 completes the NetrDfsAddFtRoot method to the client.
The following illustration shows the sequence of events.
Figure 3: Adding a root target to an existing domainv1-based DFS namespace