iammi Absent Member.
Absent Member.
239 views

Remove Active Directory Association from Loop Back driver


Hello,

The scenario is the following

For all the users that 'leaveDate' in ID Vaut is equal to today, remove
all Active Directory Associations

I am trying to trigger a job on Loop Back driver to query all the users
that must be prossessed , but I am not able to remove associations to
Active Directory

Any Idea to fulfil this scenario ???

My associations look like this


Code:
--------------------
<attr attr-name="DirXML-Associations">
<value timestamp="1325254901#13" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=Entitlements Service</component>
<component name="path">{8EC87B34-D3AA-4A62-81FF-740EB1E95280}</component>
</value>
<value timestamp="1325255604#2" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=ActiveDirectory</component>
<component name="path">0eb20c2e757e0145ad1d470c288bb908</component>
</value>
<value timestamp="1325254903#7" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=ADScripting</component>
<component name="path">d1-int.cougar-int.ms.lvmh/ammiim</component>
</value>
--------------------


Regards


--
iammi
------------------------------------------------------------------------
iammi's Profile: http://forums.novell.com/member.php?userid=71308
View this thread: http://forums.novell.com/showthread.php?t=450134

Labels (1)
0 Likes
2 Replies
Knowledge Partner
Knowledge Partner

Re: Remove Active Directory Association from Loop Back driver

On 12/30/2011 10:36 AM, iammi wrote:
>
> Hello,
>
> The scenario is the following
>
> For all the users that 'leaveDate' in ID Vaut is equal to today, remove
> all Active Directory Associations
>
> I am trying to trigger a job on Loop Back driver to query all the users
> that must be prossessed , but I am not able to remove associations to
> Active Directory
>
> Any Idea to fulfil this scenario ???
>
> My associations look like this
>
>
> Code:
> --------------------
> <attr attr-name="DirXML-Associations">
> <value timestamp="1325254901#13" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=Entitlements Service</component>
> <component name="path">{8EC87B34-D3AA-4A62-81FF-740EB1E95280}</component>
> </value>
> <value timestamp="1325255604#2" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=ActiveDirectory</component>
> <component name="path">0eb20c2e757e0145ad1d470c288bb908</component>
> </value>
> <value timestamp="1325254903#7" type="structured">
> <component name="nameSpace">1</component>
> <component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=ADScripting</component>
> <component name="path">d1-int.cougar-int.ms.lvmh/ammiim</component>
> </value>
> --------------------


What have you tried? WHat has the failure look like?

If you have figured out how to detect the name of the driver, via XPATH,
then you are basically done.

If your values are in a nodeset variable from a Src-Attr token, then I
would probably loop over the variable, so we could examine each value.

Once you detect it with XPATH of something like:
$current-node/component[@name='volume']=$AD-DriverDN-Variable

Remove source attr, DirXML-Associations, set the type to Structured,
specify three components. volume, nameSpace, path. The values for each
should be the XPATH that selects the values.


Then the XPATH for each of those three fields is something like:
$current-node/component[@name='nameSpace']
$current-node/component[@name='volume']
$current-node/component[@name='path']

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Remove Active Directory Association from Loop Back driver

Or just put the job in the AD driver and use the remove association token 🙂


On 12/30/2011 9:44 AM, Geoffrey Carman wrote:
> On 12/30/2011 10:36 AM, iammi wrote:
>>
>> Hello,
>>
>> The scenario is the following
>>
>> For all the users that 'leaveDate' in ID Vaut is equal to today, remove
>> all Active Directory Associations
>>
>> I am trying to trigger a job on Loop Back driver to query all the users
>> that must be prossessed , but I am not able to remove associations to
>> Active Directory
>>
>> Any Idea to fulfil this scenario ???
>>
>> My associations look like this
>>
>>
>> Code:
>> --------------------
>> <attr attr-name="DirXML-Associations">
>> <value timestamp="1325254901#13" type="structured">
>> <component name="nameSpace">1</component>
>> <component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=Entitlements Service</component>
>> <component name="path">{8EC87B34-D3AA-4A62-81FF-740EB1E95280}</component>
>> </value>
>> <value timestamp="1325255604#2" type="structured">
>> <component name="nameSpace">1</component>
>> <component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=ActiveDirectory</component>
>> <component name="path">0eb20c2e757e0145ad1d470c288bb908</component>
>> </value>
>> <value timestamp="1325254903#7" type="structured">
>> <component name="nameSpace">1</component>
>> <component name="volume">\T=IDV\O=LVM\OU=Services\CN=DrvSet\CN=ADScripting</component>
>> <component name="path">d1-int.cougar-int.ms.lvmh/ammiim</component>
>> </value>
>> --------------------

>
> What have you tried? WHat has the failure look like?
>
> If you have figured out how to detect the name of the driver, via XPATH, then you are basically done.
>
> If your values are in a nodeset variable from a Src-Attr token, then I would probably loop over the variable, so we could examine each value.
>
> Once you detect it with XPATH of something like:
> $current-node/component[@name='volume']=$AD-DriverDN-Variable
>
> Remove source attr, DirXML-Associations, set the type to Structured, specify three components. volume, nameSpace, path. The values for each should be
> the XPATH that selects the values.
>
>
> Then the XPATH for each of those three fields is something like:
> $current-node/component[@name='nameSpace']
> $current-node/component[@name='volume']
> $current-node/component[@name='path']
>


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.