User Account Control Default Values

General discussion of using Adaxes for Active Directory management and administration

User Account Control Default Values

Postby BradG » Thu Feb 23, 2012 3:45 pm

I noticed that newly created accounts set the useraccountcontrol field to

{PASSWD_NOTREQD|NORMAL_ACCOUNT} = 0x220

rather than:

{NORMAL_ACCOUNT} = 0x200

Is there a place to alter this default setting?
BradG
 
Posts: 63
Joined: Mon Jan 16, 2012 12:51 pm

Re: User Account Control Default Values

Postby Eugene Pavlov » Fri Feb 24, 2012 6:28 am

Hello,

The PASSWD_NOTREQD flag is set when no password is specified for the new account. Active Directory doesn't allow user creation if the password is empty and this flag is not set.
To force users to specify passwords for new accounts, you can make the Password property required using Property Patterns.
For more details, please see Generate Initial Password on User Creation (on the 3rd step select the Password cannot be empty option).

See also: Set Default Account Options for New Users.
Active Directory Identity Management

Follow Adaxes in social networks
Image Image Image Image
User avatar
Eugene Pavlov
 
Posts: 401
Joined: Wed Apr 29, 2009 11:10 pm

Re: User Account Control Default Values

Postby BradG » Fri Feb 24, 2012 7:51 am

I doing something wrong. In our property patterns I've set the password to be required, and set it to a default value. I've also set the UserAccountControl to a default of "Normal", with the other options unchecked.

When I create an account, the password not required setting still appears, in addition to normal.
BradG
 
Posts: 63
Joined: Mon Jan 16, 2012 12:51 pm

Re: User Account Control Default Values

Postby Eugene Pavlov » Fri Feb 24, 2012 8:41 am

Make sure the Property Pattern affects the user.
  1. Locate the newly created user in the Console Tree (Administration Console).
  2. Right click the user, and click Properties in the context menu.
  3. Activate the Effective Objects tab.
  4. Click Property Patterns. Your Property Pattern must be in the list.
Active Directory Identity Management

Follow Adaxes in social networks
Image Image Image Image
User avatar
Eugene Pavlov
 
Posts: 401
Joined: Wed Apr 29, 2009 11:10 pm

Re: User Account Control Default Values

Postby BradG » Fri Feb 24, 2012 9:45 am

My property pattern is listed under the user's account properties, under the effective property patterns.
BradG
 
Posts: 63
Joined: Mon Jan 16, 2012 12:51 pm

Re: User Account Control Default Values

Postby Eugene Pavlov » Fri Feb 24, 2012 9:49 am

Please post a screenshot of your property pattern.
Active Directory Identity Management

Follow Adaxes in social networks
Image Image Image Image
User avatar
Eugene Pavlov
 
Posts: 401
Joined: Wed Apr 29, 2009 11:10 pm

Re: User Account Control Default Values

Postby Eugene Pavlov » Fri Feb 24, 2012 10:08 am

Another thing, If your property pattern is assigned over members of a group or Business Unit, it will not not be effective during user creation.
Active Directory Identity Management

Follow Adaxes in social networks
Image Image Image Image
User avatar
Eugene Pavlov
 
Posts: 401
Joined: Wed Apr 29, 2009 11:10 pm

Re: User Account Control Default Values

Postby BradG » Fri Feb 24, 2012 10:13 am

PropertyPatterns.jpg
PropertyPatterns.jpg (152.95 KiB) Viewed 1952 times
Password Property.jpg
Password Property.jpg (40.03 KiB) Viewed 1952 times
BradG
 
Posts: 63
Joined: Mon Jan 16, 2012 12:51 pm

Re: User Account Control Default Values

Postby Eugene Pavlov » Fri Feb 24, 2012 10:19 am

Is the property pattern assigned over All Objects?
Active Directory Identity Management

Follow Adaxes in social networks
Image Image Image Image
User avatar
Eugene Pavlov
 
Posts: 401
Joined: Wed Apr 29, 2009 11:10 pm

Re: User Account Control Default Values

Postby BradG » Fri Feb 24, 2012 10:26 am

Yes - sorry I cut that portion off earlier....

proppatternsfull.jpg
proppatternsfull.jpg (183.22 KiB) Viewed 1951 times
BradG
 
Posts: 63
Joined: Mon Jan 16, 2012 12:51 pm

Next

Return to Active Directory Management with Adaxes

Who is online

Users browsing this forum: No registered users and 0 guests

cron