I am working on basic application for inserting records in apacheds directory studio (LDAP). I have followed this example it is working fine. Now I want to add custom attributes according to my requirements I found this article explaining the procedure to do so but it didn't work for me. I have also tried this using java code but the java code also does not insert custom attributes. Please can any one tell me good tutorial (JNDI or ldif class) for this so I can add my custom attributes.