Talk About Network

Google





Software > ADSI General > win2003 AD msDS...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 5280 of 5437
Post > Topic >>

win2003 AD msDS-User-Account-Control-Computed

by "Janette" <j.towell@[EMAIL PROTECTED] > May 23, 2008 at 03:02 PM

Hi,

I have recently become aware of the introduction of the 
msDS-User-Account-Control-Computed attribute in Win2003 Active Directory.
I 
realise that it like the earlier UserAccountControl still has some 
shortcomings but it was my understanding that the 
msDS-User-Account-Control-Computed attribute was now reliable at
indicating 
UF_LOCKOUT. If this is incorrect, that is all I need confirmed by someone.

Up till now I have used the WinNT provider to access the lockout from the 
UserFlags. Now, I need to upgrade to use the newer LDAP attribute 
msDS-User-Account-Control-Computed if it in fact works. From articles I
have 
read it is a simple as getting the user object then getting the attribute,

whilst using [ ] around the name to overcome the problem with "-" in the 
name.

        Set X = ds.OpenDSObject(rs(0), cServerAccountName, 
cServerAccountPassword, 0)

        intUserAccountControl = X.[msDS-User-Account-Control-Computed]

Unfortunately, this gives me no value. Can anyone suggest where I should 
look.

I hope this provides enough information to get started. Thanks in advance.
Janette
 




 7 Posts in Topic:
win2003 AD msDS-User-Account-Control-Computed
"Janette" <j  2008-05-23 15:02:10 
Re: win2003 AD msDS-User-Account-Control-Computed
"Allan" <cod  2008-05-23 07:36:20 
Re: win2003 AD msDS-User-Account-Control-Computed
"Janette" <j  2008-05-29 10:15:13 
Re: win2003 AD msDS-User-Account-Control-Computed
"Joe Kaplan" &l  2008-05-28 20:43:30 
Re: win2003 AD msDS-User-Account-Control-Computed
"Janette" <j  2008-05-29 13:49:20 
Re: win2003 AD msDS-User-Account-Control-Computed
"Joe Kaplan" &l  2008-05-29 09:22:08 
Re: win2003 AD msDS-User-Account-Control-Computed
"Janette" <j  2008-05-30 11:44:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 19:45:24 PST 2009.