Hi, Can you please attach LDIF as well? I am not able to create exact directory structure described in above example. I am using Apache Directory Studio for LDAP server. It will be a great help if you can post the LDIF, I can import it in my server and will try running this python script. Thanks in advance for your help.