iLO 2 Scripting and Command Line Guide
GET_DIR_CONFIG
The GET_DIR_CONFIG command requests the respective iLO 2 directory settings. For this command
to parse correctly, the GET_DIR_CONFIG command must appear within a DIR_INFO command
block, and DIR_INFO MODE can be set to read or write.
Example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<DIR_INFO MODE="read">
<GET_DIR_CONFIG/>
</DIR_INFO>
</LOGIN>
</RIBCL>
GET_DIR_CONFIG parameters
None
GET_DIR_CONFIG runtime errors
None
GET_DIR_CONFIG return messages
Starting with iLO 2 1.80, directory integration can work with HP Lights-Out schema with or without
extensions (schema-free). Depending on your directory configuration, the response to
GET_DIR_CONFIG contains different data.
Possible GET_DIR_CONFIG return messages are:
• Example of a directory services (with schema extension) return message:
<GET_DIR_CONFIG>
<DIR_AUTHENTICATION_ENABLED VALUE="Y"/>
<DIR_LOCAL_USER_ACCT VALUE="Y"/>
<DIR_SERVER_ADDRESS VALUE="adserv.demo.com"/>
<DIR_SERVER_PORT VALUE="636"/>
<DIR_OBJECT_DN VALUE="CN=SERVER1_RIB,OU=RIB,DC=HPRIB, DC=LABS"/>
<DIR_USER_CONTEXT1 VALUE="CN=Users0,DC=HPRIB0, DC=LABS"/>
<DIR_USER_CONTEXT2 VALUE="CN=Users1,DC=HPRIB1, DC=LABS"/>
<DIR_USER_CONTEXT3 VALUE=""/>
<DIR_ENABLE_GRP_ACCT VALUE="N"/>
</GET_DIR_CONFIG>
• Example of a schema-free directory (without schema extension) return message:
<GET_DIR_CONFIG>
<DIR_AUTHENTICATION_ENABLED VALUE="Y"/>
<DIR_LOCAL_USER_ACCT VALUE="Y"/>
<DIR_SERVER_ADDRESS VALUE="adserv.demo.com"/>
<DIR_SERVER_PORT VALUE="636"/>
<DIR_OBJECT_DN VALUE=""/>
<DIR_USER_CONTEXT1 VALUE="CN=Users,DC=demo,DC=com"/>
<DIR_USER_CONTEXT2 VALUE=""/>
<DIR_USER_CONTEXT3 VALUE=""/>
<DIR_ENABLE_GRP_ACCT VALUE="Y"/>
<DIR_GRPACCT1_NAME VALUE="CN=iLOAdmins,CN=Users,DC=demo,DC=com"/>
120 Using RIBCL










