Does default UNIX adapter delete unix account on resource
When I tried to delete user Solaris account from IDM, IDM only remove the unix account in IDM but no in resource side. I did not see realDelete() in the adapter code. Any idea?
When I tried to delete user Solaris account from IDM, IDM only remove the unix account in IDM but no in resource side. I did not see realDelete() in the adapter code. Any idea?
Hi janex,
Even I was unable to delete the account on UNIX resource. I don't think the adapter supports delete functionality. I guess using one of the workflowservices would help,
Thanks,
Swatz.
Message was edited by:
Swatz
Works fine in IDM 5.4 / 5.5 What version are you using?
Ankush
I tried doing this,
<Action id='0' application='com.waveset.provision.WorkflowServices'>
<Argument name='op' value='deProvision'/>
<Argument name='accountId'>
<ref>accountId</ref>
</Argument>
<Argument name='targetResources'>
<List>
<String>Red Hat Linux</String>
</List>
</Argument>
</Action>
Didn't work for me, could you pl let me know whats the problem?
Thanks,
Swatz
We are using IDM 6 sp2. But other adapters we are using, like AD, RACF and os400, do delete the resource accounts. In the adapter, I can see realdelete().
kind of in-efficient, but works for us. This is for IDM 5.4 Am not sure if some of this code may break under 6.2 thanks to deprecated APIs etc.
<Activity id='4' name='Deprovision'>
<Variable name='usr'/>
<Action id='0' name='Get View' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='getView'/>
<Argument name='type' value='User'/>
<Argument name='id'>
<ref>WF_CASE_OWNER</ref>
</Argument>
<Return from='view' to='usr'/>
</Action>
<Action id='1' name='Edit View'>
<expression>
<block trace='true'>
<set name='usr.waveset.resources'>
<remove>
<ref>usr.waveset.resources</ref>
<ref>Resource</ref>
</remove>
</set>
</block>
</expression>
</Action>
<Action id='2' name='RefreshView' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='refreshView'/>
<Argument name='view'>
<ref>usr</ref>
</Argument>
</Action>
<Action id='3' name='Delete Resource Account' application='com.waveset.provision.WorkflowServices'>
<Argument name='op' value='deleteResourceAccount'/>
<Argument name='resource'>
<ref>Resource</ref>
</Argument>
<Argument name='accountId'>
<ref>WF_CASE_OWNER</ref>
</Argument>
</Action>
<Action id='4' name='Check In View' application='com.waveset.session.WorkflowServices'>
<Argument name='op' value='checkinView'/>
<Argument name='view'>
<ref>usr</ref>
</Argument>
</Action>
<Transition to='Notification'/>
<WorkflowEditor x='263' y='165'/>
</Activity>
Ankush