Home

Results 1 to 3 of 3

Thread: Remove Active Directory Association from Loop Back driver

  1. #1
    Join Date
    Nov 2009
    Posts
    49

    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\C N=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\C N=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\C N=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


  2. #2
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    6,213

    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\C N=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\C N=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\C N=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']


  3. #3
    Will Schneider NNTP User

    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\C N=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\C N=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\C N=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']
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •