cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
helsby
Ctrl-Alt-Del
Posts: 12
Registered: ‎08-05-2014
Location: US
Views: 783
Message 1 of 8

using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a record

I'm trying to script the creation of a user account in the IMM with the following txt file contents called user.txt

set IMM.LoginId.5 MyAdminUser
set IMM.Password.5 RandomPasswordHere
set IMM.AuthorityLevel.5 Supervisor

 

Running the install with 

asu batch user.txt 

I get the output below.

C:\utils\lenovo>asu batch 3.txt
start to convert cmd.
Lenovo ASU 0.1.5

Lenovo XClarity Essentials OneCLI lxce_onecli02c-2.1.0
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2017 All Rights Reserved
Invoking BATCH command ...
Connected to the node(1) by KCS
[set IMM.LoginId.5 EasyIT]
Invoking SET command ...
IMM.LoginId.5=MyAdminUser
Succeed in running the command: SET.
[set IMM.Password.5 RandomPasswordHere]
Invoking SET command ...
Return message: The setting IMM.Password.5 is part of a record and cannot be created.
To create the entire instance of the record you must
create the record's key setting, IMM.LoginId.5

Failed to set the setting item(s).
Fail in running the command: SET.
[set IMM.AuthorityLevel.5 Supervisor]
Invoking SET command ...
Return message: The setting IMM.AuthorityLevel.5 is part of a record and cannot be created.
To create the entire instance of the record you must
create the record's key setting, IMM.LoginId.5

Failed to set the setting item(s).
Fail in running the command: SET.
Failed to run the command.
Fail in running the command: BATCH.

 

Any clues how to get the user created with ASU - I've got nearly everything else working with this script - just this (and the alerts) are failing.

Gibon
Token Ring
Posts: 98
Registered: ‎08-08-2017
Location: CZ
Views: 755
Message 2 of 8

Re: using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a reco

Hello,

what I see from your message is:

Lenovo ASU 0.1.5

Lenovo XClarity Essentials OneCLI lxce_onecli02c-2.1.0

 

but you posted the topic in System X forum. Either you are using wrong utility or your question is not being said properly.

 

My opinion Smiley Happy

Regards Leos
Thanks to Mark as Solution or granting Kudos if you find my answer helpful
helsby
Ctrl-Alt-Del
Posts: 12
Registered: ‎08-05-2014
Location: US
Views: 749
Message 3 of 8

Re: using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a reco

Well it's a System x 3650 M5 machine and as per https://support.lenovo.com/us/en/solutions/lnvo-tcli this is supported.
Therefore my question still remains.
helsby
Ctrl-Alt-Del
Posts: 12
Registered: ‎08-05-2014
Location: US
Views: 661
Message 4 of 8

Re: using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a reco

*crickets*
Anyone?
Bueller?????
Lenovo Employee vsheu
Lenovo Employee
Posts: 5
Registered: ‎08-03-2017
Location: TW
Views: 501
Message 5 of 8

Re: using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a reco

Looks like the problem is IMM doesn't acknowledge there is "IMM.LoginId.5" created during the batch command perfroming.

I tried the command and there is no problem if you ran it again.

helsby
Ctrl-Alt-Del
Posts: 12
Registered: ‎08-05-2014
Location: US
Views: 486
Message 6 of 8

Re: using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a reco

Thanks vsheu.
I have eventually got this escalated in a PMR with IBM who confirmed this is a problem that they could reproduce in the lab.
As you suggested this morning, running the script twice does successfully set the user password.
The first time round the user account is created but with a blank password. The second time sets the password correctly.
helsby
Ctrl-Alt-Del
Posts: 12
Registered: ‎08-05-2014
Location: US
Views: 485
Message 7 of 8

Re: using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a reco

I can confirm the following works to create the user with admin levels with an obviously fake password.
a.txt contains
set IMM.LoginId.5 MyAdminUser
set IMM.Password.5 RandomPasswordHere
set IMM.AuthorityLevel.5 Supervisor
set IMM.Password.5 RandomPasswordHere

asu batch a.txt
Highlighted
Lenovo Employee vsheu
Lenovo Employee
Posts: 5
Registered: ‎08-03-2017
Location: TW
Views: 469
Message 8 of 8

Re: using asu to create a new account gives "The setting IMM.AuthorityLevel.5 is part of a reco

Glad to hear that works. Smiley Happy

Holiday Deals
HAPPENING NOW!

Get the best deals on PCs and tech now during the Holiday Sale
Shop the sale

ALERT

Windows 2016 Server November Update
Issue on System x M5 and X6
Go to details
.

Top Kudoed Authors