Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Registers a new Active Directory or OpenLDAP authentication directory on an HPE OneView appliance.Syntax
Active Directory:Description
New-OVLdapDirectory adds an Active Directory or OpenLDAP directory to the appliance’s authentication configuration, enabling users from that directory to log in to HPE OneView with their existing credentials.
Use the -AD switch for Microsoft Active Directory and -OpenLDAP for an OpenLDAP-compatible directory service.
Directory server entries are created using New-OVLdapServer and passed as an array to -Servers.
The
-Username and -Password parameters are deprecated. Use -Credential with a PSCredential object instead.Parameters
A friendly name for this directory configuration, displayed in the HPE OneView UI.
Specifies that this is a Microsoft Active Directory configuration. Mutually exclusive with
-OpenLDAP.Specifies that this is an OpenLDAP directory configuration. Aliased as
LDAP. Mutually exclusive with -AD.The base distinguished name (DN) for the directory, for example
DC=corp,DC=example,DC=com. This defines the root of all directory searches. Aliased as root and rootdn.One or more organizational unit (OU) distinguished names to search for user accounts. Required for OpenLDAP only.
An array of directory server objects created with
New-OVLdapServer. Each entry specifies the hostname, port, and certificate for one LDAP/AD domain controller.The LDAP attribute used as the login username for OpenLDAP directories. Accepted values are
CN and UID. Defaults to CN. Not applicable for Active Directory.A service account username for querying the directory. Deprecated — use
-Credential instead. Aliased as u and user.The password for the service account specified by
-Username. Deprecated — use -Credential instead. Aliased as p and pass.A
PSCredential object containing the service account credentials used to query the directory. Preferred over -Username and -Password.Specifies that the supplied credentials are a dedicated service account, which changes how the appliance authenticates to the directory.
The appliance connection object or name. Defaults to the default connected session. Accepts an array of connections to register the directory on multiple appliances. Aliased as
Appliance.Examples
Register an Active Directory domain
corp.example.com Active Directory domain with a single domain controller at dc1.corp.example.com using LDAPS on port 636.
Register an Active Directory domain with multiple domain controllers
Register an OpenLDAP directory
HPEUsers OU using UID as the login attribute.
Output
HPEOneview.Appliance.AuthDirectory
Returns the newly created authentication directory configuration object.