Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declarative Management hand-off #882

Merged
merged 3 commits into from
May 2, 2023
Merged

Conversation

jessepeterson
Copy link
Member

NanoMDM has been able to "hand-off" the Declarative Management protocol to another server for some time now using the -dm flag. This PR brings the same capability to MicroMDM with a similar -dm command line flag. This feature brought was brought up in #759 for MicroMDM.

This allows you to use a Declarative Management "server" like KMFDDM* with devices enrolled in MicroMDM.See also this blog post about initial DDM protocol testing.

This work banks off the work that @korylprince has done in #864 to target raw commands by allowing us to submit raw DeclarativeManagement commands to MicroMDM.

* Note: KMFDDM needs the newest commit to target MicroMDM's command API (by using the -micromdm switch with it). Please also read the KMFDDM Quickstart guide/tutorial for getting started.

@discentem
Copy link
Contributor

  • Note: KMFDDM needs the newest commit to target MicroMDM's command API (by using the -micromdm switch with it). Please also read the KMFDDM Quickstart guide/tutorial for getting started.

Can you link the commit? 😅

@jessepeterson
Copy link
Member Author

@discentem sure, it's

  • Note: KMFDDM needs the newest commit to target MicroMDM's command API (by using the -micromdm switch with it). Please also read the KMFDDM Quickstart guide/tutorial for getting started.

Can you link the commit? 😅

Sure: jessepeterson/kmfddm@186f5dd :)

@jessepeterson
Copy link
Member Author

With reviews of this PR we can try and roll releases of both MicroMDM and KMFDDM with these features in the next week or two.

Copy link
Contributor

@korylprince korylprince left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of notes, but nothing show-stopping. LGTM!

server/dm.go Outdated Show resolved Hide resolved
server/dm.go Outdated Show resolved Hide resolved
platform/device/udidauth.go Show resolved Hide resolved
@jessepeterson
Copy link
Member Author

jessepeterson commented May 2, 2023

Addressed your HTTP client comments @korylprince. Also applied those fixes in micromdm/nanomdm@3abd0dc

@jessepeterson jessepeterson merged commit 1f01f70 into micromdm:main May 2, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants