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">
Dain Anderson wrote:
> Hi James,
>
> This is a wild shot, but try adding quotes around the value:
>
> START="ou=""Newly Enrolled U/G Students"",ou=Center For Academic
> Excellence,ou=White Pages,o=WhitePages"
>
> Eventhough the / character isn't considered to be "special" according
> to RFC 1485, your LDAP server may have a special meaning for it. Just
> for kicks, I'd also add the DELIMITER="," attribute to your CFLDAP tag.
>
> If neither of those work, try doing a \/ or \\ in the value, just in
> case your server recognizes two of the more common delimiting methods.
>
> Hope it works!
>
> -Dain
>
> -----Original Message-----
> From: James Blaha [mailto:[EMAIL PROTECTED]
>
> I would like to update my post. I've ruled out the URL encoding issue.
> For some odd reason my issue now seems to be when the forward slash is
> passed through the START attribute.
>
> Are there any CFLDAP coders here.. help please..
>
> We are running a Sun One Directory Server 5.2 on a Win2K Server and CFMX
> on Win2k with IIS.
>
> <CFLDAP ACTION=""> > NAME="MyLDAPQuery"
> SERVER="#REQUEST.LDAP_Server#"
> PORT="#REQUEST.LDAP_Server_Port#"
> username = "xxx"
> password = "xxx"
> ATTRIBUTES="#REQUEST.LDAP_Attributes#,wppayclass"
> MAXROWS="#REQUEST.LDAP_Server_MaxRows#"
> TIMEOUT="#REQUEST.LDAP_Server_Timeout#"
>
> START="ou=Newly Enrolled U/G Students,ou=Center For Academic
> Excellence,ou=White Pages,o=WhitePages"
>
> SCOPE="subtree"
> SORT="sn,givenname"
> SORTCONTROL="nocase">
>
> Regards,
> James Blaha
>
> <SNIP>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

