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> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=796433509-13072000><cfset sUserName
= CGI.AUTH_USER><BR><cfldap name="PersonDetails" server="uklnint2"
action="query" <BR> attributes="uid, givenName,
sn"<BR> scope="onelevel"<BR> filter="assocNtAccount=#sUserName#"<BR> start="cn=Recipients,
ou=LN, o=UPC"><BR><cfset sShortUserName = Replace(sUserName, "UPC_UK\",
"")><BR><cfset sFirstName = #PersonDetails.givenName#><BR><cfset
sLastName = #PersonDetails.sn#><BR><cfset uid =
#PersonDetails.uid#></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=796433509-13072000></SPAN></FONT> </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> </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> </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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=796433509-13072000></SPAN></FONT> </DIV>
<P><FONT face="Courier New" size=2> | james
page | database
developer |</FONT> <BR><FONT
face="Courier New" size=2> | UPC TV
interactive | </FONT><BR><FONT face="Courier New"
size=2> | w. +44 (2)0 7533 6573</FONT> <BR><FONT
face="Courier New" size=2> | [EMAIL PROTECTED]</FONT>
</P>
<DIV> </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.