Closed DisasteR closed 2 years ago
Hi DisasteR, Feel free to contribute the fix that you've applied locally.
Hi @kamennikolov,
Just added a PR with the change i have made locally.
Also i think the parameter DomainServerType
in function Add-ExternalDomainIdentitySource can be removed as the function is dedicated to ActiveDirectory source type.
Why not hardcoding the type here ?
Hi @DisasteR, Thanks for the fix. I've merged it. I can see that the DomainServerType parameter is also available in the API that is used. My guess is that it may be there as a possible extension point in the future, but I'm not sure about that.
Describe the bug
Function Add-LDAPIdentitySource should allow OpenLdap as ServerType but it's not present in parameter ValidateSet. It's fully working if we add OpenLdap in ValidateSet.
https://github.com/vmware/PowerCLI-Example-Scripts/blob/829307318f9de88094579c9f95822d65a7f46c1d/Modules/VMware.vSphere.SsoAdmin/IdentitySource.ps1#L366
Reproduction steps
Expected behavior
LDAP Identity Source should be created.
Additional context
No response