• No results found

Examples of Active Directory behavior when home directory attributes are modified

Example 1

A user account Thomas Daniel exists on the Active Directory with the following values in the Active Directory account form.

Table 10. Account form values

Attribute Value

Home Directory \\H20\shareddir\thomas

Home Directory Drive F:

Home Directory Share homedirshare1

The values of the registry keys are:

v ManageHomeDirectories = TRUE v DeleteUNCHomeDirectories = FALSE v CreateUNCHomeDirectories = TRUE

Delete the values of the attributes that are related to the home directory.

Because the value of the registry key DeleteUNCHomeDirectories is FALSE, the adapter:

v Does not delete the home directory thomas from the server H20.

v Does not remove the share homedirshare1.

v Deletes values of the Home Directory and the Home Directory Drive attributes on the Active Directory.

Example 2

A user account Thomas Daniel exists on the Active Directory with the following values in the Active Directory account form.

Table 11. Account form values

Attribute Value

Home Directory \\H20\shareddir\thomas

Home Directory Drive F:

Home Directory Share homedirshare1

The values of the registry keys are:

v ManageHomeDirectories = TRUE v DeleteUNCHomeDirectories = TRUE v CreateUNCHomeDirectories = TRUE

Delete the values of the attributes that are related to the home directory.

Because the value of the registry key DeleteUNCHomeDirectories is TRUE, the adapter deletes the home directory thomas from the server H20.

Example 3

A user account Thomas Daniel exists on the Active Directory. This user account does not contain values of the attributes that are related to the home directory on the Active Directory account form.

The values of the registry keys are:

v ManageHomeDirectories = TRUE v DeleteUNCHomeDirectories = TRUE v CreateUNCHomeDirectories = FALSE

Specify values for the following attributes that are related to the home directory on the Active Directory account form.

Table 12. Account form values

Attribute Value

Home Directory \\H20\shareddir\thomas

Home Directory Drive F:

Home Directory Share homedirshare1

Because the value of the registry key CreateUNCHomeDirectories is FALSE, the adapter:

v Does not create the home directory thomas and the home directory share homedirshare1 on the server H20.

v Sets values of the attributes Home Directory and Home Directory Drive on the Active Directory.

Example 4

A user account Thomas Daniel exists on the Active Directory. This user account does not contain values of the attributes that are related to the home directory on the Active Directory account form.

The values of the registry keys are:

v ManageHomeDirectories = TRUE v DeleteUNCHomeDirectories = TRUE v CreateUNCHomeDirectories = TRUE

Specify values for the following attributes that are related to the home directory on the Active Directory account form.

Table 13. Account form values

Attribute Value

Home Directory \\H20\shareddir\thomas

Home Directory Drive F:

Home Directory Share homedirshare1

Because the value of the registry keys CreateUNCHomeDirectories and ManageHomeDirectories is TRUE, the adapter:

v Maps the home directory with the drive F.

v Assigns the share name homedirshare1 to the home directory.

v Assigns access rights to the home directory and the home directory share.

Example 5

A user account Thomas Daniel exists on the Active Directory with the following values in the Active Directory account form.

Table 14. Account form values

Attribute Value

Home Directory \\H20\shareddir\thomas

Home Directory Drive F:

Home Directory Share homedirshare1

The values of the registry keys are:

v ManageHomeDirectories = TRUE v DeleteUNCHomeDirectories = TRUE v CreateUNCHomeDirectories = TRUE

Change values of the attributes on the Active Directory account form to the following values.

Table 15. Changed account form values

Attribute Value

Home Directory \\H20\shareddir\Peter\thomas

Home Directory Drive G:

Home Directory Share homedirshare2

Change the value of the registry key DeleteUNCHomeDirectories to FALSE.

In this example, the modify operation fails because the adapter cannot create nested directories; that is, the directory thomas inside the directory Peter. The adapter ignores the other attributes that are related to the home directory.

Example 6

A user account Thomas Daniel exists on the Active Directory with the following values in the Active Directory account form.

Table 16. Account form values

Attribute Value

Home Directory \\H20\shareddir\thomas

Home Directory Drive F:

Home Directory Share homedirshare1

The values of the registry keys are:

v ManageHomeDirectories = TRUE v CreateUNCHomeDirectories = TRUE

Change the value of the Home Directory attribute to \\H20\shareddir\

thomas_daniel.

In this example, the adapter creates a home directory thomas_daniel, however, without a share because the value of registry key

CreateUNCHomeDirectories and manageHomeDirectories is TRUE. The home directory thomas remains in the shareddir directory. To create a share, you must provide the share access and NTFS access to the user account on the new home directory that is created. You must also change the values of the home directory-related attributes on the account form along with Home Directory attribute.

Note: This operation is not a directory rename operation.

Example 7

A user account Thomas Daniel exists on the Active Directory with the following values in the Active Directory account form.

Table 17. Account form values

Attribute Value

Home Directory \\H20\shareddir\thomas

Home Directory Drive F:

Home Directory Share homedirshare1

The value of the registry key is:

ManageHomeDirectories = TRUE

Change the value of Home Directory Share to newhomedirshare.

The adapter adds the share name newhomedirshare to the home directory thomas because the registry key ManageHomeDirectories is TRUE. The adapter does not remove the previous share name, that is, homedirshare1.

Related documents