Created
April 13, 2015 11:23
-
-
Save dschneller/e75e7234af64d138fd48 to your computer and use it in GitHub Desktop.
LaunchDaemon to enable "Active Directory Mode" for OSX Yosemite on Login. Put into /Library/LaunchDaemons. Fixes ".local" name resolution.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>de.danielschneller.discoverydactivedirectory</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/sbin/discoveryutil</string> | |
<string>activedirectory</string> | |
<string>yes</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>ServiceDescription</key> | |
<string>.local discoveryd fix</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Must be put into
/Library/LaunchDaemons
, becausediscoveryutil
needs to be run as root.