Skip to content
New issue

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

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

Already on GitHub? # to your account

ocfletsencrypt user can get created as a local user #1263

Open
ethanwu10 opened this issue Feb 23, 2022 · 0 comments
Open

ocfletsencrypt user can get created as a local user #1263

ethanwu10 opened this issue Feb 23, 2022 · 0 comments
Labels

Comments

@ethanwu10
Copy link
Member

On a Puppet run on a clean Debian install it seems that Puppet will create the ocfletsencrypt user as a local system user (since presumably LDAP NSS isn't up yet)

user { 'ocfletsencrypt':
groups => ['ssl-cert', 'sys'],
forcelocal => false,
}

This is a problem because the uid fo ocfletsencrypt must match the uid in LDAP, as the ocfletsencrypt user is used for updating certificates stored over NFS in a directory owned by the LDAP ocfletsencrypt user/uid.

It seems in 80d294b, forcelocal => false was added to try to stop this from happening, but evidently it doesn't forbid creating a local user.

@ethanwu10 ethanwu10 added the bug label Feb 23, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant