Skip to content

Adding new flag for the User Auth action to use with OSDJoin TS vars#4

Open
OswaldsArbitraryDomiciles wants to merge 3 commits into
jason4tw:mainfrom
OswaldsArbitraryDomiciles:main
Open

Adding new flag for the User Auth action to use with OSDJoin TS vars#4
OswaldsArbitraryDomiciles wants to merge 3 commits into
jason4tw:mainfrom
OswaldsArbitraryDomiciles:main

Conversation

@OswaldsArbitraryDomiciles

Copy link
Copy Markdown

This patch adds an additional optional flag to the UserAuth action - "UseforOSDJoin". When enabled, this will take the authenticated domain, username, and password and assign the appropriate values to the two standard Task Sequence variables "OSDJoinAccount" and "OSDJoinPassword" These can then be used by OSD as the credentials to automatically join the device to the AD domain.

Sample usage:
<Action Type="UserAuth" Name="User Authentication" Title="Please authenticate to continue." Domain="example.com" Group="OSDUsers" GetGroups="True" MaxRetryCount="5" DisableCancel="True" DoNotFallback="True" UseForOSDJoin="True"></Action>

NOTE: This does have the side effect of storing the password as plaintext via the TS var, but that's always been an issue with the OSDJoin variables. Regardless, I felt that this was worth clarifying.

Disclaimer: I don't usually program, I usually just sysadministrate and I have not written any C++ code in like 20 years. That said, the contributed code does compile and does what it is supposed to, so I clearly remembered something from my CS classes. My apologies if I did something wrong, especially with GitHub stuff as I have very little experience with it.

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.

1 participant