Follow

LDAP commands allow users listed on an LDAP to successfully login to an InfiniBox.


config.ldap.define 

ROLE: Admin 

Description

Define an LDAP server.

Allow a user that is listed in an LDAP server to access the InfiniBox. 

Syntaxconfig.ldap.define name=NAME username=STR type=LDAP type [domain=STR] [password=STR] [server=STR[,STR,...]] [schema_user_class=STR] [port=PORT] [use_ldaps=YESNO] [schema_username_attribute=STR] [schema_user_basedn=STR] [schema_group_class=STR] [schema_group_attribute=STR] [schema_member_attribute=STR] [schema_group_basedn=STR] 
Argumentsschema_username_attribute Any sequence of characters 
use_ldaps Either yes or no 
portAn integer number between 1 and 65535 (inclusive)
schema_user_classAny sequence of characters
serverAny sequence of characters (multiple values, separated by commas)
passwordAny sequence of characters
domainAny sequence of characters
typeOnly one value: AD
usernameAny sequence of characters
nameA maximum of 65 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped.
schema_group_classAny sequence of characters
schema_user_basednAny sequence of characters
schema_group_basednAny sequence of characters
schema_member_attributeAny sequence of characters
schema_group_attributeAny sequence of characters
Exampleconfig.ldap.define name=ad2k3.local domain=ad2k3.local username=Administrator 
LDAP infinidat.com defined 



config.ldap.flush_cache 

ROLE: Admin 

Description

Flush LDAP authentication cache.

Clear the cache before you define new LDAP users.

Syntaxconfig.ldap.flush_cache 
Exampleconfig.ldap.flush_cache 
LDAP authentication cache flushed 



config.ldap.modify  

ROLE: Admin 

Description

Modify the LDAP server.

Change any of the LDAP server details.

Syntaxconfig.ldap.modify ldap=USERSREPOSITORY [username=STR] [password=STR] [server=LDAPSERVER[,LDAPSERVER,...]] [schema_user_class=STR] [port=PORT] [use_ldaps=YESNO] [schema_username_attribute=STR] [schema_user_basedn=STR] [schema_group_class=STR] [schema_group_attribute=STR] [schema_member_attribute=STR] [schema_group_basedn=STR] 
Argumentsusername Any sequence of characters 
ldap Name of an existing ldap server 
password Any sequence of characters 
schema_group_basedn Any sequence of characters
schema_member_attribute Any sequence of characters
schema_group_attribute Any sequence of characters
schema_group_class Any sequence of characters
schema_user_basedn Any sequence of characters 
schema_username_attribute Any sequence of characters
use_ldaps Either yes or no 
port An integer number between 1 and 65535 (inclusive) 
schema_user_class Any sequence of characters
server Any sequence of characters (multiple values, separated by commas) 
ExampleModifying the user and password 
config.ldap.modify name=ad2k3.local domain=ad2k3.local username=Administrator 
LDAP ad2k3.local modified
ExampleModifying the port
config.ldap.modify name=ad2k3.local domain=ad2k3.local port=626
LDAP ad2k3.local modified



config.ldap.order_query 

ROLE: All Roles

Description

LDAP & Active Directory resolution order.

Syntaxconfig.ldap.order_query 
Exampleconfig.ldap.order_query 
INDEX LDAP 
1     LDAP-1
2     LDAP-2



config.ldap.query  

ROLE: All Roles

Description

List existing LDAP servers.

List the LDAP user along with its attributes. 

Syntaxconfig.ldap.query [ldap=USERSREPOSITORY] [type=LDAP type] 
Argumentsldap Name of an existing ldap server 
type Only one value: AD 
Exampleconfig.ldap.query 
Name                     ad2k3.local
Repository Type          ActiveDirectory
Domain Name              ad2k3.local
Bind Username            Administrator
User Class               user
Username Attribute       sAMAccountName
Users Basedn             -
Group Class              cn
Group Name Attribute     cn
Group Memberof Attribute memberof
Groups Basedn            -



config.ldap.remove 

ROLE: Admin 

Description

Remove the LDAP server definition.

Disconnect the LDAP server from the InfiniBox, so that users listed on this LDAP server can no longer access the InfiniBox.

Syntaxconfig.ldap.remove ldap=USERSREPOSITORY 
ArgumentsldapName of an existing ldap server 
Example
config.ldap.remove name=ACTIVEDIRECTORY 
LDAP infinidat.com removed 



config.ldap.rename 

ROLE: Admin 

Description

Rename the LDAP server.  

Syntaxconfig.ldap.rename ldap=USERSREPOSITORY new_name=NAME 
Argumentsnew_name A maximum of 65 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped.
ldap Name of an existing ldap server 
Exampleconfig.ldap.rename name=ACTIVEDIRECTORY new_name=NAME 
LDAP infinidat.com renamed to customer.com 



config.ldap.set_order 

ROLE: Admin 

Description

Set LDAP servers resolution order. 

Syntaxconfig.ldap.set_order order=USERSREPOSITORY[,USERSREPOSITORY,...]
ArgumentsorderName of an existing ldap server (multiple values, separated by commas) 
Example
config.ldap.set_order order=ACTIVEDIRECTORY 
Order set 



config.ldap.test  

ROLE: Admin 

Description

Test the LDAP server. 

Syntaxconfig.ldap.test ldap=USERSREPOSITORY 
Argumentsldap Name of an existing ldap server 
Example
config.ldap.test name=ACTIVEDIRECTORY 
LDAP tested successfully 
Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Last edited: 2022-08-06 08:34:26 UTC

Comments