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

Hard-coded 'enableBy' attribute in profile templates #1780

Open
pki-bot opened this issue Oct 3, 2020 · 3 comments
Open

Hard-coded 'enableBy' attribute in profile templates #1780

pki-bot opened this issue Oct 3, 2020 · 3 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 3, 2020

This issue was migrated from Pagure Issue #1218. Originally filed by edewata (@edewata) on 2014-12-03 03:25:17:

  • Assigned to nobody

Currently the profile templates in base/ca/shared/profiles/ca/ have the following attributes:

enable=true
enableBy=admin

When an instance is created, the templates will be imported into the instance (by copying into /ca/profiles/ca/ or adding into LDAP). If the instance was created using a non-standard admin name (e.g. caadmin) the profiles will contain an invalid 'enableBy' value. An invalid 'enableBy' may not cause any error, but the audit log may become incorrect.

One option is to remove the 'enableBy' attributes from the templates, then during import if the profile has enable=true it will be enabled by invoking the normal profile enable operation. This way the enableBy will be set properly.

Another option is to replace the value in the the templates with a slot variable (e.g. enableBy=${pki_admin_uid}) and substitute it with the actual value during instance creation.

Proposed milestone: 10.2.x

@pki-bot pki-bot added this to the UNTRIAGED milestone Oct 3, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-01-15 01:08:11

Per Dogtag 10.2.X meeting of 01/14/2015: Milestone 10.2.2

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from mharmsen (@mharmsen) at 2015-02-24 23:55:56

Per 10.2.2 Triage meeting of 02/24/2015: 10.3

@pki-bot
Copy link
Author

pki-bot commented Oct 3, 2020

Comment from edewata (@edewata) at 2017-02-27 13:59:29

Metadata Update from @edewata:

  • Issue set to the milestone: UNTRIAGED

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

No branches or pull requests

1 participant