Verify the following before starting this task:
The time settings of the NAS and the AD server are identical. The maximum time disparity tolerated is 5 minutes.
The AD server is configured as the primary DNS server. If you use an external DNS server, you will not be able to join the domain.
You have specified the IP address of the WINS server that you use for name resolution.