Modify Entry in LDAP Using LDAP connector


This tutorial explains and lists all the steps to modify entry in LDAP using the Mulesoft LDAP connector.


To use the LDAP Connector, you must have the following:

  • Access to either an OpenLDAP, Apache Directory, or MicroSoft Active Directory Instance.
  • Anypoint Studio version 7.0 (or higher) or Anypoint Design Center.

To use the LDAP Connector in a production environment, you must have either:

  • An Enterprise license to use Mule.
  • A CloudHub Starter, Professional, or Enterprise account.


Modify Entry

Updates an existing LDAP entry using the steps below. Create sample project in anypoint studio

Drag and drop LDAP Modify entry operation from mule palette if you can not find LDAP operation in mule palette please add LDAP module using Exchange visit this url for more information

Modify Entry in LDAP Using LDAP connector


Provide the Connection Details as given below:

Modify Entry in LDAP Using LDAP connector


Create the payload to Modify User In LDAP

Modify Entry in LDAP Using LDAP connector


%dw 2.0
output application/java
  dn : "cn=David Mortier,ou=Users," ++ "dc=example,dc=com",
  "description":"User Description Changed",
  "mail":"[email protected]"


Send the Success Message as “User Updated Successfully”

Deploy the project and test from soapui

Modify Entry in LDAP Using LDAP connector


You can see below user has modify in LDAP

Sample application: modifyuserinldap sample application

Soapui project: ModifyUser-soapui-project


Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.

Share this:
Notify of
Inline Feedbacks
View all comments