Workflow Soluiton

 View Only

Adding Entry into Active Directory using LDAP Add Entry

  • 1.  Adding Entry into Active Directory using LDAP Add Entry

    Posted Mar 19, 2015 07:05 PM
      |   view attached

    Hi all

    I am fairly new to workflow, and I am trying to add a computer Object into AD using LDAP Add Entry method from the LDAP generator.

    But the component is asking me for a DN Prefix, which I am not sure what to give.

    I tried giving varous strings like CN or DN info via input variable, but this is the error i am getting for what evver string I give in.

    DNPrefix = "CN="
    ExceptionVariable = "System.DirectoryServices.Protocols.DirectoryOperationException: The syntax is invalid.
       at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)
       at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)
       at Generated.ADLDAPIntegration.AbstractLDAPAttributesMultiPathComponent.Run(IData data)"
    Log Error: Failed to initialize process report. logProcess is null.

    P.S: I was able to connect and get computer objects from the Search. I also attached the below error image incase the below picture is not visible.

     

    ldap_error.jpg