cancel
Showing results for 
Search instead for 
Did you mean: 

Error while assigning roles to java users

Former Member
0 Kudos

Hi Experts,

I am trying to create a user on a Java system ( databse not LDAP) and assign a role. I am able to create a user successfully but it fails with following error;

Pass: SetJavaRole&GroupForUser.

Error putNextEntry failed storingtestidm123

Exception from Add operation:com.sap.idm.ic.ToPassException: No such objectclass defined

Exception from Modify operation:com.sap.idm.ic.ToPassException: SPML exception: No valid id to modify defined

ACCOUNTD1U testidm123

MXREF_MX_PRIVILEGE 316

MX_ENTRYTYPE MX_PERSON

DISPLAYNAME test user

MX_LASTNAME idm

MX_FIRSTNAME test

ACCOUNTD1E testidm123%

TEMPACCOUNTD1E testidm123

MSKEY 6179

MSKEYVALUE testidm123

The pass reads as follows;

SPMLID : %MSKEYVALUE%

assignedrole : PRIV:ROLE:SID:idm.authenticated

Regards,

Shailesh

Edited by: Shailesh Deshpande on May 3, 2011 6:43 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

I think the error lies in the SPMLID that you are suppliying. Try this instead:

SPML.SAPUSER.%MSKEYVALUE%

Kind regards

Heidi Kronvold

0 Kudos

Hi Shailesh,

Can you please take a look at note 1476301. I hope it helps.

Thanks,

Anderson