SANtricity 11.8 Commands ( CA08871-194 ~ 196 )

Set storage Array directory server

The set storageArray directoryServer command updates the directory server configuration.

Supported Series

This command applies to an individual HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 or AB3100 storage system.

Roles

To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, or AB3100 storage system, you must have the Security Admin role.

Syntax

set storageArray directoryServer ["domainId"]
    (domainNames=("domainName1"..."domainNameN") |
     addDomainNames=("domainName1"..."domainNameN") |
     serverUrl="serverUrl" |
     bindAccount="username" bindPassword="password" |
     searchBaseDN="distinguishedName" |
     usernameAttribute="attributeName" |
     groupAttributes=("attrName1"..."attrNameN") |
     addGroupAttributes=("attrName1"..."attrNameN"))
    [skipConfigurationTest={true | false}]

Parameters

Parameter Description

directoryServer

Allows you to specify the domain ID to update the settings.

domainNames

Allows you to set one or more valid domain names for the directory server. If you enter more than one name, separate the values with a space. Using this set option will clear out existing domain names.

addDomainNames

Allows you to add one or more valid domain names for the directory server. If you enter more than one name, separate the values with a space.

serverUrl

Allows you to specify the server URL.

bindAccount

Allows you to specify the username to be used as the binding account.

bindPassword

Allows you to specify the password to be used as the binding password.

searchBaseDN

Allows you to specify the search base distinguished name to search for LDAP user objects for determining group membership.

usernameAttribute

Allows you to specify the attribute to be used to search for user objects for determining group membership. If specified, the string must contain the variable {uid} that will be replaced with the username used during login. Example: sAMAccountName={uid}

groupAttributes

Allows you to set one or more group attributes to be used to look for group Distinguished Names. Distinguished names are used to determine group membership for role mapping.

If you enter more than one group, separate the values with a space.

Using this parameter will clear out existing groups.

addGroupAttributes

Allows you to add one or more group attributes to be used to look for group Distinguished Names. Distinguished names are used to determine group membership for the purposes of role mapping.

If you enter more than one group, separate the values with a space.

skipConfigurationTest

Allows you to skip the configuration test before the configuration is saved. The default is false.

Examples

SMcli -n Array1 -c "set storageArray directoryServer ["domain1"]
     serverUrl="ldaps://hqldap.eng.mycompany.com:636";"

SMcli -n Array1 -c "set storageArray directoryServer ["domain1"]
                    bindAccount="bindDN2" bindPassword="thePassword2"
                    searchBaseDN="OU=_Users,DC=hq,DC=mycompany,DC=com"
                    usernameAttribute="sAMAccountName" groupAttributes=("memberOf");"

SMcli completed successfully.
Top of Page