Skip to Content
Author's profile photo Alexey Dmitriev

Workaround to rename Org Structure in Active Directory using Dell Boomi middleware without LDAP connector

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 –

/wp-content/uploads/2016/09/1_1015497.png

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:

 

/wp-content/uploads/2016/09/2_1015498.png

 

The script in middleware, which renames the CN:

/wp-content/uploads/2016/09/3_1015502.png

 

The result after execution.

 

/wp-content/uploads/2016/09/4_1015503.png

 

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.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.