Home Forums OS X Server and Client Discussion Questions and Answers PlistBuddy – How to get it in 10.7 and 10.8?

This topic contains 1 reply, has 1 voice, and was last updated by  By_Default 6 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #384796

    By_Default
    Participant

    Please have mercy on me. I am trying to script changes to the ldap plist and virtually all topics I have found use PlistBuddy. I don’t have it on either 107 or 10.8, even after installing Xcode and it’s command line utilities.

    #384812

    By_Default
    Participant

    Apparently it’s there, but possibly hidden. If you are new to Mac Administration like me, you can still call it explicitly:

    /usr/libexec/PlistBuddy

    As such, you can then edit your ldap-domain.plist directly, like:

    /usr/libexec/PlistBuddy -c “add ‘:module options:ldap:Denied SASL Methods:’ string GSSAPI” /Library/Preferences/OpenDirectory/Configurations/LDAPv3/ldap.your.name.plist

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed