So if I wanted it just to change the name of the user who entered their
details in the change password form

It would be       dn="uid=sAMAccountName,ou=Users,DC=domain,dc=co,dc=uk"

-----Original Message-----
From: Dave Ross [mailto:[EMAIL PROTECTED] 
Sent: 02 February 2007 13:49
To: CF-Talk
Subject: Re: Resetting Active Directory Password using CFLDAP ?

Basically you are attempting to change the password of your domain
controller. "dn" means "distinguished name". Which means it's the full
name of the account you are trying to modify. So it should be something
like dn="uid=User,ou=Users,DC=domain,dc=co,dc=uk" 



>Am I not getting any value in the password field because I am not using

>SSL or TLS ?  So if I ran the same code over SSL or TLS the code below 
>would work ??
>
>Sorry the dn should be set to dn="DC=domain,dc=co,dc=uk" shown below
>
>
><cfldap
>action="modify"
>modifyType="replace"
>attributes="password=#password1#"
>dn="DC=domain,dc=co,dc=uk"
>server="server"
>port="port"
>username="username"
>password="password">
>
>
>But I am now getting the error shown below ?
>
>An error has occured while trying to execute modify :[LDAP: error code
>16 - 00000057: LdapErr: DSID-0C090A85, comment: Error in attribute 
>conversion operation, data 0, vece].
>
>One or more of the required attributes may be missing/incorrect or you 
>do not have permissions to execute this operation on the server



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268439
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to