I know this project is meant for iOS management, but I wanted to note that I was able to join Yosemite clients with a small modification to the code. Instead of UnlockToken OS X Yosemite clients send a Token key instead. Testing for either one allowed the Yosemite client to join.
if pl.get('UnlockToken'):
my_UnlockToken = pl['UnlockToken'].data
else:
my_UnlockToken = pl['Token'].data
After the client is enrolled it will respond to a majority of the built in commands. I'm experimenting with some OS X-specific ones as well, as found in /usr/libexec/mdmclient
If there's interest I could submit a PR after I do some more testing of OS X-specific commands.
I know this project is meant for iOS management, but I wanted to note that I was able to join Yosemite clients with a small modification to the code. Instead of UnlockToken OS X Yosemite clients send a Token key instead. Testing for either one allowed the Yosemite client to join.
After the client is enrolled it will respond to a majority of the built in commands. I'm experimenting with some OS X-specific ones as well, as found in
/usr/libexec/mdmclientIf there's interest I could submit a PR after I do some more testing of OS X-specific commands.