(#22704) make directoryservice create normal uids#1944
(#22704) make directoryservice create normal uids#1944leinaddm wants to merge 2 commits intopuppetlabs:masterfrom
Conversation
uids for normal users should start at 501. Before this patch, when uid was not specified for the user resource, the directoryservice provider would choose a low uid for the new user.
|
Waiting for CLA signature by @leinaddm @leinaddm - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppetlabs.com/ Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppetlabs.com/community/trivial_patch_exemption.html |
|
CLA signed by all contributors. |
|
Hi @leinaddm, thanks for submitting your contribution! I agree Puppet is doing the wrong thing when creating users, but if we merge this as-is, then users that puppet creates will no longer be hidden (due to the uid > 500). Users could be relying on this behavior, and this patch would break that. There is some related discussion in http://projects.puppetlabs.com/issues/19783, where Jesse suggests enabling the Also, it would be great if you could add a spec test to |
|
Hi @joshcooper, I doubt anyone is using it without specifying the uid. On my test macs I'll add some tests later today. Thanks, Daniel. |
|
@leinaddm Thanks for the contribution, but after some debate we have a few concerns about this approach. The uid selection should be based on the Thanks for the contribution, again. Would you be interested in trying to get the |
uids for normal users should start at 501.
Before this patch, when uid was not specified for the user resource, the
directoryservice provider would choose a low uid for the new user.