Discussion:
Failure to massload external member/user information
(too old to reply)
Mick@Salmon
2007-08-02 15:09:56 UTC
Permalink
I am trying to load user account information from an external system
into WC 6.0.2 using the idresgen -> massload utilities.

Can anyone shed any light on the failure to resolve the internal alias
for users_id? I have succesfully used the utilities in other areas and
am wondering if the MEMBER entity hierarchy is somehow screwing up the
idresgen.

To simplify the unresolved XML is:
<users
users_id="@member_id_0"
DN="uid=12345,o=default organization,o=root organization"
registertype="R"
profiletype="C"
language_id="-1"
setccurr="GBP">
<isa>
<member type="U" state="1" member_id="@member_id_0"/>
</isa>
</users>
<userreg
users_id="@member_id_0"
status="1"
logonid="12345"
logonpassword=""
passwordexpired="1"
timeout="-1"
plcyacct_id="-1"
passwordcreation=""
/>
2007-08-02 15:57:53.609, <Thread-0>, com.ibm.wca.IdResGen.Parser.RecordAttributes::updateValue, S1
The attribute "USERS_ID" is unresolved.

error.xml:
<?xml version="1.0" encoding="UTF-8"?>
<import>
<userreg logonid="12345" logonpassword="" passwordcreation=""
passwordexpired="1" plcyacct_id="-1" status="1" timeout="-1"
users_id="">
<error id="UnresolvedID"
locus="com.ibm.wca.IdResGen.Handler.Foreign">
<message>The attribute "USERS_ID" is unresolved. </
message>
</error>
</userreg>
</import>
r***@gmail.com
2007-08-24 20:02:08 UTC
Permalink
Post by ***@Salmon
I am trying to load user account information from an external system
into WC 6.0.2 using the idresgen -> massload utilities.
Can anyone shed any light on the failure to resolve the internal alias
for users_id? I have succesfully used the utilities in other areas and
am wondering if the MEMBER entity hierarchy is somehow screwing up the
idresgen.
<users
DN="uid=12345,o=default organization,o=root organization"
registertype="R"
profiletype="C"
language_id="-1"
setccurr="GBP">
<isa>
</isa>
</users>
<userreg
status="1"
logonid="12345"
logonpassword=""
passwordexpired="1"
timeout="-1"
plcyacct_id="-1"
passwordcreation=""
/>
messages.xml:> 2007-08-02 15:57:53.609, <Thread-0>, com.ibm.wca.IdResGen.Parser.RecordAttributes::updateValue, S1
The attribute "USERS_ID" is unresolved.
<?xml version="1.0" encoding="UTF-8"?>
<import>
<userreg logonid="12345" logonpassword="" passwordcreation=""
passwordexpired="1" plcyacct_id="-1" status="1" timeout="-1"
users_id="">
<error id="UnresolvedID"
locus="com.ibm.wca.IdResGen.Handler.Foreign">
<message>The attribute "USERS_ID" is unresolved. </
message>
</error>
</userreg>
</import>
Hi

I think the problem could be that you have used the same alias for
both users_id and member_id ( @member_id_0 ). Try using different
aliases. The value will be the same even though the aliases are
different. This is because of the special construction they have that
the MEMBER table is a super table for ORGENTITY, USERS, MBRGRP tables.
The <isa> will make sure they have the same id.

Loading...