Home Forums OS X Server and Client Discussion Active Directory AD Machine Password in Lion

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #381447
    maweee
    Participant

    I’m trying figure out how to get the AD Machine Password on a Lion client.

    In 10.6 there where lots of posts on how to do it
    “defaults read /Library/Preferences/DirectoryService/ActiveDirectory “AD Computer Password” | xxd -r -p”

    Has anyone figured out how to do this with 10.7 i can’t seem to find the solution.
    Been checking the preference files for AD, profiles and so on any hints or tips would be greatly appreciated. 🙄

    #381456
    macinandy
    Participant

    Hi Maweee, the easiest way I have found is just
    sudo dsconfigad -show | grep ‘Password change interval’
    the value is now stored in
    /Library/Preferences/OpenDirectory/Configurations/ActiveDirectory/yourdomain.plist
    defaults can read the plist but in this format
    sudo defaults read /Library/Preferences/OpenDirectory/Configurations/ActiveDirectory/yourdomain ‘module options’ |grep ‘trust password change in days’

    cheers

    #381460
    maweee
    Participant

    Hi Macainandy,

    That was not quite what i was looking for but i solved the problem it has to be done over the system keychain where the AD Machine Password is saved.

    Cheers

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed