Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / July 2007



Tip: Looking for answers? Try searching our database.

LDAP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WebDev - 09 Jul 2007 20:55 GMT
I am attempting to write a <cfldap> to change the password in our Active
Directory. I am getting this error:

An error has occured while trying to execute modifyDN :cn=rhbork,ou=Faculty
and Staff,ou=Email Exchange ADC,dc=avemarialaw,dc=edu: [LDAP: error code
64 - 00000057: LdapErr: DSID-0C09080A, comment: Error in attribute
conversion operation, data 0, v893 ].

Can anyone see what I am doing wrong. Other than the dc and username and
password, all information is how it appears in our directory (as best I
know)

Anything glaring?

<cfldap action="ModifyDN"
    DN="cn=rbork,ou=Faculty and Staff,ou=Email Exchange
ADC,dc=avemarialaw,dc=edu"
    attributes="password='sweet'"
    server="server.avemarialaw.edu"
    username="avemaria\admin"
    password="adminpassword">
garlington@tiscali.co.uk - 25 Jul 2007 16:38 GMT
> I am attempting to write a <cfldap> to change the password in our Active
> Directory. I am getting this error:
[quoted text clipped - 17 lines]
>      username="avemaria\admin"
>      password="adminpassword">

http://www.directory-info.com/LDAP/LDAPErrorCodes.html
Michael - 31 Jul 2007 01:46 GMT
This may not be much help, but the attribute is unicodePwd.  You may need to do
some conversion into a format that the unicodePwd attribute will accept.  Also,
I think you need to use an SSL LDAP connection before AD will allow a password
change.

Regardless, you would use the modify action, not modifyDN.  You are basically
modifying an attribute, not the DN, itself.  You use modifyDN when you want to
rename the account DN or move it to a different OU in AD.

There are a couple easier ways to change a password:  1.  VB COM object,  2.
CFEXECUTE a bat file using the "NET USER" command.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.