Well..

This will never work.

;$LDAP="LDAP://ou=users,ou=kpdk,dc=q8int,dc=com"

Is rana a DC? If so, you need entries for your dc too.

Like - dc=rana,dc=q8int,dc=com on the end of your LDAP String.


You need to uncomment this line.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's