Skip to main content
Participant
February 20, 2011
Question

How add/update record in Active Directory(AD) through form in CF 8.

  • February 20, 2011
  • 2 replies
  • 917 views

Hi,

I want to made one form to add/update record in Active Directory through form in CF 8. (CFLDAP)

FORM.cfm

Name:

IPPhone:

Email:

Username:

Password:

Actionpage.cfm

Thanks

    This topic has been closed for replies.

    2 replies

    12Robots
    Participating Frequently
    February 20, 2011

    Most of the values are easy to update via CFLDAP, but password is not.

    I have tried and tried and tried and tried to change passwords via CFLDAP on Active Directory and I just cannot make it work.

    Other LDAP systems seem to have no issue with it, but the way you need to pass the password value to AD seems unreproducable with CFLDAP. It involves encoding the password in a special way while peforming ancient satanic rituals, sacrficing a goat, and swining a dead cat over your head.  It's not pretty.

    If you can figure it out, I would love to here it. But I have consulted with many of the best minds in CF and spent hours on it and I could not figure it out.  I have submitted a bug report (Go vote for it).

    http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=85266

    I ended up using JLDAP for my solution.

    Inspiring
    February 20, 2011

    What's the part you are finding difficult?

    imadnanAuthor
    Participant
    February 20, 2011

    Hi DAN,

    I have get the records from AD , now I want to update any record from reterived records.

    Thanks,

    Inspiring
    February 20, 2011

    I checked the adobe docs and they do not provide an example for what you want to do.  However, when I googled "cfldap action=modify" I found the answer lickety split.