4 Replies Latest reply on Feb 11, 2018 4:04 AM by Sanket Mhatre

    BAO : AD Adapter : Get Attributes : Error

    Sanket Mhatre

      Hi,

       

      We have exact distingushed name for the computer object. Whenever , we are trying to use it in the AD Get Attributes object (:RBA-AD-Active_Directory:Active_Directory:v2003:Computer_Account_Management:Get Attributes) ; we are getting error. Input & Output as below :

       

      Input :

      [TEXT=Adapter Request]

      [adapter request=

      <request-data>

        <active-directory-request>

        <commands>

        <command>

        <active-directory-command>Get Attributes</active-directory-command>

        <object-class>Computer</object-class>

        <object-distinguished-name>CN=XXX,OU=XXX,OU=XX,OU=XXX,OU=XXX,OU=XXX,DC=XXX,DC=XX</object-distinguished-name>

        </command>

        </commands>

        </active-directory-request>

      </request-data>]

       

      Output:

      [TEXT=Adapter Response]

      [adapter response=

      <active-directory-response>

        <metadata>

        <error>Message[summary=Exception occured in adapter 'ADAdapter', detail=Error: 'String index out of range: -4']</error>

        </metadata>

      </active-directory-response>]

       

      FYI.. If I use Search Computer object of AD (RBA-AD-Active_Directory:Active_Directory:v2003:Computer_Account_Management:Search Computer) It's working fine. So I can say the setup is okay, but looks like something not correct with the 'Get Attributes' parameters.

       

      Any hints?

       

      Thanks,

      Sanket Mhatre