none
Querying msDS-User-Account-Control-Computed in ADLDS under Windows 2008 R2

    Question

  • I am trying to query msDS-User-Account-Control-Computed with the following code:

    Set objUser = GetObject _
        ("LDAP://host.domain.local/CN=John Doe,OU=Users,O=MyOrg,C=ca")
    Wscript.Echo "User account control computed: " & objUser.[msDS-User-Account-Control-Computed]

    which returns blank.

    Any insight into this? Any idea as to what might be missing for this to be computed and returned?

    Thanks!


    • Edited by Ritmo2k Thursday, March 01, 2012 3:02 PM
    Thursday, March 01, 2012 3:02 PM

Answers

  • As indicated by me above, the DN is right.
    Only the MS-adamschemaw2k*.LDF schema defs contain this attr and it only usefully populates when mirroring an AD directory.

    Thanks!

    • Marked as answer by Ritmo2k Monday, March 12, 2012 1:30 PM
    Monday, March 12, 2012 1:30 PM

All replies