- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: Granting AD groups access to iLO using cpqlocf...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2012 10:17 PM
03-06-2012 10:17 PM
Granting AD groups access to iLO using cpqlocfg.exe
Hi,
I'm tring to write an XML file to configure iLO on a number of our servers. I would like to have some properties defined from the command line, rather than from within the xml file. One thing that I can not get working is granting an AD group access to iLO. I've stripped down my XML file so it only does this task. However I simply cannot get the namevalueproperties thing to work. My XML file is:
<RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="Administrator" PASSWORD="Password"> <DIR_INFO MODE="write"> <MOD_DIR_CONFIG> <DIR_GRPACCT1_NAME value=%AdministratorsGroup%/> <DIR_GRPACCT1_PRIV VALUE="1,2,3,4,5"/> </MOD_DIR_CONFIG> </DIR_INFO> </LOGIN> </RIBCL>
The command line I'm using to execute is:
cpqlocfg -s ilo-hostname -u Administrator -p Password -f test.xml -t AdministratorsGroup='"CN=ILO_Group,OU=test,DC=my,DC=domain"'
The error I get is:
1 - Syntax error: Line #7: syntax error near "=" in the line: "<DIR_GRPACCT1_NAME value=%AdministratorsGroup%/>"
What I've done looks like it is straight out of the iLO guide on page 15 (http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02774508/c02774508.pdf).
Can anyone tell me what I'm doing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012 07:51 AM
03-07-2012 07:51 AM
Re: Granting AD groups access to iLO using cpqlocfg.exe
I believe you stripped down your XML way too much. iLO might be requiring some of the tags you removed to be able to process the script.
Try adding back
<DIR_AUTHENTICATION_ENABLED value="Yes"/>
and if you still get the error, add back
<DIR_ENABLE_GRP_ACCT value = "yes"/>
__________________________________________________
If you feel this was helpful please click the KUDOS! thumb below!