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

Register-ObjectIdentifier #223

Open
madburg opened this issue Oct 28, 2024 · 1 comment
Open

Register-ObjectIdentifier #223

madburg opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement This is a new feature request. Not a bug really.
Milestone

Comments

@madburg
Copy link

madburg commented Oct 28, 2024

Small bug, but clarity required, also critical in multi domain infra.

When calling Register-ObjectIdentifier function with or without the argument '-UseActiveDirectory' the confirmation dialog states that the change is targeted for the local host.

e.g. using argument '-UseActiveDirectory'

Performing the operation "Register object identifier with name: "<what was specified on cmdline>" and value:
"<What was specified on cmdline>" $${\color{red} on \space target \space "\color{white}&lt;Hostname&gt;\color{red}" }$$

image

However this should not be the case when specifying the '-UseActiveDirectory' argument it should display something AD based not local host, thus confirming the change will be attempted against AD.

so either a simple "target: AD", however I would suggest confirming that domain in which the change will be attempted in "target: %Domain Name%"; as domain can be sourced from local asset or the user executing the function. In a single forest multi domain model as an example this would matter, as the asset could be domain join to one domain and the user could be logging into another domain..
More detailed, then including DN path which would contain domain that is being targeted for the change "target: CN=OID,CN=Public Key Services,CN=..."

Same would have to be adjusted on: Unregister-ObjectIdentifier, however I could not get that function to work at all.
Opening separate issue for it.

@Crypt32 Crypt32 added the enhancement This is a new feature request. Not a bug really. label Oct 28, 2024
@Crypt32 Crypt32 added this to the v4.3 milestone Oct 28, 2024
@Crypt32
Copy link
Collaborator

Crypt32 commented Oct 28, 2024

Fair enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is a new feature request. Not a bug really.
Projects
None yet
Development

No branches or pull requests

2 participants