I have a question relating to updating the Exchange 5.5 directory (Build
2650.24, SP3).
Currently I have a page that uses the Cold Fusion CFLDAP tag to retrieve a
details about a recipient from the Exchange folder for a phone list. Here is
the tag:
<CFLDAP NAME="PhoneListDetails" SERVER="uklnint2" ACTION="query"
ATTRIBUTES="uid, givenName, sn, title, telephoneNumber, mobile,
mail, cn, dn, Company, department, physicalDeliveryOfficeName,
employeeNumber, employeeType"
SCOPE="onelevel"
FILTER="cn=Page , James"
START="cn=Recipients, ou=LN, o=UPC">
This works fine when I pass in a valid common name (cn), returning all the
details provided by the ATTRIBUTES element.
However, whenever I try to update the attributes by using the CFLDAP tag, I
get this error:
Error Diagnostic Information
CFLDAP
Invalid credentials
And here is the LDAP tag I'm using:
<CFLDAP SERVER="uklnint2" ACTION="modify"
USERNAME="uid=jpage, ou=LN, o=UPC" PASSWORD="123456" DN="uid=jpage,
cn=Recipients, ou=LN, o=UPC" ATTRIBUTES="department=Development">
>From the error it looks like a security problem, but the username and
password this is similar to the example shown on page 258 of the book
Developing Web Applications with ColdFusion. The uid part of USERNAME
corresponds to my Windows NT domain username, and PASSWORD corresponds to my
domain password (I use Basic Authentication on the web server to get hold of
these). This is the Primary Windows NT account (mapped to in Exchange Admin
tool) for the recipient in question.
I am just wondering if there is a slightly different syntax that I need in
order to update an Exchange recipient, or is there some extra step that I
need to take in configuring the Exchange server? I am able to use the
Exchange Admin application to update my (and anyone else's) recipient
details, logged on as the same user (ie. jpage).
If anyone has had any experience of trying to do this, or has any idea where
I could be going wrong, I'd be very interested to find out.
TIA
James Page
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.