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.
Prerequisite:
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
Provide the Connection Details as given below:
Create the payload to Modify User In LDAP
%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
You can see below user has modify in LDAP
Sample application: modifyuserinldap sample application
Soapui project: ModifyUser-soapui-project