Today was big day, we were able to connect ejabberd to LDAP after so much trying but then came another challenge to authenticate without using anonymous method to LDAP.
Plus also worked on client added option to name contacts will creating as else it would be difficult to find contacts using roll numbers and also made domain static and removed need to writ domain name will creating contacts also.