Hi James,


I'm glad it worked out! I'll have to make a personal note about that, since I do some freelance work with CFLDAP from time-to-time.


Thanks,


-Dain

-----Original Message-----
From: James Blaha [mailto:[EMAIL PROTECTED]



Dain,

I just wanted to say thank you so much! It turns out that the forward
slash is not a documented special character for SUN however when being
passed to the DN it must be escaped.

-JB

<!---
******************************************************************************
--->
<!--- ***    In order to search properly special characters must be
escaped.     *** --->
<!---
******************************************************************************
--->
    <CFSET variables.URL_StartString     = "ou=#URL.ou#,ou=White
Pages,o=WhitePages">

<!--- Note: When searching the LDAP Server you need to replace all "/"
with "\/" --->
    <CFSET variables.StartString        =
#replace(variables.URL_StartString,"#chr(47)#","#chr(92)##chr(47)#",
"ALL")#>


<!---
******************************************************************************
--->
<!---
******************************************************************************
--->
<!---
******************************************************************************
--->

<CFLDAP ACTION="">     NAME="MyLDAPQuery"
    SERVER="#REQUEST.LDAP_Server#"
    PORT="#REQUEST.LDAP_Server_Port#"
    ATTRIBUTES="#REQUEST.LDAP_Attributes#"
    MAXROWS="#REQUEST.LDAP_Server_MaxRows#"
    TIMEOUT="#REQUEST.LDAP_Server_Timeout#"
    START="#variables.StartString#"
    SCOPE="OneLevel"
    SORT="ou ASC"
    SORTCONTROL="nocase">


<SNIP>


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to