Announcement

Collapse
No announcement yet.

Password Settings Object (PSO)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Password Settings Object (PSO)

    Hi,
    is there a way to confirm if an specific PSO exists using commands like dsquery or dsget?

    Let's consider the following scenario

    This is my create-pso.ldf file

    Code:
    dn: CN=PSO-Sensitive,CN=Password Settings Container,CN=System,DC=myserver,DC=com
    changetype: add
    objectClass: msDS-PasswordSettings
    description: Sensitive Policy
    # Lower number indicates higher precedence
    msDS-PasswordSettingsPrecedence: 40
    # Times are in 100 nanosecond units, 86400 seconds = 1 day, 864000000000 = 1 Day, 25920000000000 = 30 days
    # Expiration
    msDS-MaximumPasswordAge: -25920000000000
    # Prevent two password changes in one day
    msDS-MinimumPasswordAge: -864000000000
    msDS-MinimumPasswordLength: 12
    msDS-PasswordHistoryLength: 1024
    msDS-PasswordComplexityEnabled: TRUE
    msDS-PasswordReversibleEncryptionEnabled: FALSE
    msDS-LockoutThreshold: 6
    # Times are in 100 nanosecond units, 1800 seconds = 30 minutes, 18000000000 = 30 minutes
    msDS-LockoutObservationWindow: -18000000000
    msDS-LockoutDuration: -18000000000
    Once I ran it i got,

    Code:
    C:\>ldifde -i -f create-pso.ldf
    Connecting to "myserver.com"
    Logging in as current user using SSPI
    Importing directory from file "create-pso.ldf"
    Loading entries..
    1 entry modified successfully.
    
    The command has completed successfully
    I guess you are wondering if it was succesfully created why I need to confirm, well basically because there is some guys asking for and I'd like to demonstrate in a elegant way, not emailing screenshots

    Thanks in advance,
    m0dest0.

  • #2
    Re: Password Settings Object (PSO)

    you can do ldifde output can't you... ?
    Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

    Comment

    Working...
    X