Hi,

I am trying to Query LDAP through Coldfusion and Java.

<cfset ctx = createObject("java","javax.naming.ldap.InitialLdap Context")>
....

<cfset enum = ctx.search(MY_SEARCHBASE, MY_FILTER, mySearchControls)>

I am getting "Not an instance of DirContext " error at the above statement. I
have another script which is without Coldfusion and using JNDI alone. It works
fine there. Any ideas please ?

Thanks,
VMRao.