YOU WILL BE GIVEN THE CHANCE TO REVIEW YOUR CONFIGURATION FROM A SU...

5. You will be given the chance to review your configuration from a sum-mary page. If all is well, click Finishto create the user. You can clickBack to go back and make changes as required.Alternatively, user accounts can be created one at a time from the command-line usingthe dsaddcommand.The specific context to be used to create a new account is:

dsadd user UserDN [-UPN UPN] [-samid SAMName] -pwd {Password|*}

The UserDNand SAMNamemodifiers have been previously explained.The UPNmod-ifier specifies the users User Principal Name (UPN), such as [email protected]; the pwdmodifier specifies the account password, or if set as * specifies that you want to beprompted to enter the password. Figure 1.32 demonstrates using the dsadd command tocreate a new user, Roger Smith, in the Sales OU using the following command:

dsadd user "CN=Roger Smith,CN=Users,DC=corp,DC=mcsaworld,DC=com" -UPN

[email protected] -samid rogersmith -pwd *

Figure 1.32

Creating a New User from the Command LineAs seen in the example, we exercised the ability to specify a password at the time ofaccount creation. A quick check of the Sales OU would determine that the new user,Roger Smith, was in fact created as indicated here. It should be noted that many otherattributes of the user object that could have been supplied with the dsadd command wereleft out in this example. Appendix A has a complete listing and explanation of the availabledsadd options.

Resetting the User Account Password

It happens more than any administrator wants to talk about: resetting user passwords. In someorganizations with particularly challenging password complexity requirements, this canbecome a burden on network administrators. Even in those organizations where the passwordpolicies are not nearly as stringent, users will still forget their passwords. Additionally, the net-work administrator will oftentimes need to reset the password on an expired or locked outuser account. Fortunately, you can you quickly and easily reset a user’s password from withinthe Active Directory Users and Computers console as discussed in Exercise 1.12.

E XERCISE 1.12

R ESETTING U SER P ASSWORDS WITH

A CTIVE D IRECTORY U SERS AND C OMPUTERS