The good thing about Dell Boomi platform is that it has a native LDAP connector out of the box, which gives us a great opportunity to save time and investments in developing integration scenarios with MS Active Directory, for example.
The standard LDAP connector can Create and Update– User, Group and/or Assign a user to a group objects in Active Directory.
What it cannot do is to Modify operation.
This limitation becomes obvious if you want to change CN (common name) for User or for any other object like group, org. structure, etc.
Fortunately, we can use JNDI LDAP to overcome this disadvantage.
Both, Dell Boomi and SAP HСI contains custom script step where we can embed the logic and execute necessary commands.
I will show the example for renaming CN in AD using Dell Boomi platform –
1. Create simple Process with 3 steps –
2. In Data Process step, adjust java code according to your needs and requirements.
In our example, we gonna change the CN for organizational structure from CN=ru-gldev to CN=ru-gltest.
The original Org Structure name in Active Directory:
The script in middleware, which renames the CN:
The result after execution.
The source code can be find here http://www.java2s.com/Code/Java/JNDI-LDAP/howtorenameanobject.htm and adjusted according to your needs and requirements.
This article was written in collaboration with my collegue Denis Mokrushin.