This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFECB0.7DAD2844
Content-Type: text/plain;
        charset="iso-8859-1"

I'm grabbing a user's Windows NT Domain username, and I want to use this as
a filter in an LDAP query (see below) to my Exchange server;
 
<cfset sUserName = CGI.AUTH_USER>
<cfldap name="PersonDetails" server="uklnint2" action="query" 
 attributes="uid, givenName, sn"
 scope="onelevel"
 filter="assocNtAccount=#sUserName#"
 start="cn=Recipients, ou=LN, o=UPC">
<cfset sShortUserName = Replace(sUserName, "UPC_UK\", "")>
<cfset sFirstName = #PersonDetails.givenName#>
<cfset sLastName = #PersonDetails.sn#>
<cfset uid = #PersonDetails.uid#>
 
Thing is, the filter doesn't seem to work. It doesn't come up with an error,
just doesn't return any results. I've tried the following variations on
Assoc-NT-Account:
 
assocNtAccount
Assoc-NT-Account
 
But neither works. Has anyone had any success using this method of mapping
from a NT account to an Exchange mailbox?
 
Regards
 
James Page
 
 

   |   james page   |    database developer       | 
   |   UPC TV interactive   |  
   |   w. +44 (2)0 7533 6573 
   |   [EMAIL PROTECTED] 

 

------_=_NextPart_001_01BFECB0.7DAD2844
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=796433509-13072000>I'm grabbing a 
user's Windows NT Domain username, and I want to use this as a filter in an LDAP 
query (see below) to my Exchange server;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=796433509-13072000>&lt;cfset sUserName 
= CGI.AUTH_USER&gt;<BR>&lt;cfldap name="PersonDetails" server="uklnint2" 
action="query" <BR>&nbsp;attributes="uid, givenName, 
sn"<BR>&nbsp;scope="onelevel"<BR>&nbsp;filter="assocNtAccount=#sUserName#"<BR>&nbsp;start="cn=Recipients,
 
ou=LN, o=UPC"&gt;<BR>&lt;cfset sShortUserName = Replace(sUserName, "UPC_UK\", 
"")&gt;<BR>&lt;cfset sFirstName = #PersonDetails.givenName#&gt;<BR>&lt;cfset 
sLastName = #PersonDetails.sn#&gt;<BR>&lt;cfset uid = 
#PersonDetails.uid#&gt;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=796433509-13072000>Thing is, the filter 
doesn't seem to work. It doesn't come up with an error, just doesn't return any 
results. I've tried the following variations on 
Assoc-NT-Account:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000>assocNtAccount</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000>Assoc-NT-Account</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=796433509-13072000>But neither works. 
Has anyone had any success using this method of mapping from a NT account to an 
Exchange mailbox?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000>Regards</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=796433509-13072000>James 
Page</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=796433509-13072000></SPAN></FONT>&nbsp;</DIV>
<P><FONT face="Courier New" size=2>&nbsp;&nbsp; |&nbsp;&nbsp; james 
page&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; database 
developer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</FONT> <BR><FONT 
face="Courier New" size=2>&nbsp;&nbsp; |&nbsp;&nbsp; UPC TV 
interactive&nbsp;&nbsp; |&nbsp; </FONT><BR><FONT face="Courier New" 
size=2>&nbsp;&nbsp; |&nbsp;&nbsp; w. +44 (2)0 7533 6573</FONT> <BR><FONT 
face="Courier New" size=2>&nbsp;&nbsp; |&nbsp;&nbsp; [EMAIL PROTECTED]</FONT> 
</P>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01BFECB0.7DAD2844--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to