CFLDAP modifying badPWDCount

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFLDAP modifying badPWDCount

    I'm new at using LDAP and am having a hard time updating AD. I'm creating an
    web interface that will unlock accounts that have locked due to invalid
    sign-ins. I haven't found anything on setting resetting this but noticed the
    field badPWDCount. I was hoping to set it back to 0. Is this possible or
    should I be looking for an alternative?
    Currently, I'm working with this:
    <CFLDAP SERVER="#server#" ACTION="modify" MODIFYTYPE="replace"
    ATTRIBUTES="badPWDCount=0" DN="cn=#user#" USERNAME="#username#"
    PASSWORD="#password#">

    The error I'm getting is "One or more of the required attributes may be
    missing/incorrect or you do not have permissions to execute this operation on
    the server ". Username and password should be good so I'm thinking I'm missing
    some attribute or just can't do this.

    Any help would be appreciated


    mutuskig Guest

  2. Similar Questions and Discussions

    1. CFLDAP
      Hi, I've never used this tag before and its causing me some problems. (see attached code) Regarding the start attribute what does 'cn' and 'c'...
    2. CFLDAP to ASP
      Does anyone know how to convert the following CFLDAP code to ASP? I have had no luck. <cfldap action="query" name="testldap"...
    3. CFLDAP Error
      Hello All, I am getting the following error and I have no clue why: LDAP: error code 1 - 00000000: LdapErr: DSID-0C0905FF, comment: In order to...
    4. CFLDAP Question
      I am trying to pull back all users in Active Directory that do not contain a $ sign. I can return ALL users that have a dollar sign by the...
    5. CFLDAP errors
      Hello, I have the attached code for testing lookups to my ldap server. The first query works as expected and returns the values that I am...
  3. #2

    Default Re: CFLDAP modifying badPWDCount

    I am having the same problem,
    have you been able to get it to work??
    thanks

    jorgepino Guest

  4. #3

    Default Re: CFLDAP modifying badPWDCount

    Not yet but I haven't given up.
    mutuskig Guest

  5. #4

    Default Re: CFLDAP modifying badPWDCount

    I know that badPWDCount is a system value, what makes me believe that to be able to change it i would need to have Admin Rights

    jorgepino Guest

  6. #5

    Default Re: CFLDAP modifying badPWDCount

    You need to set userAccountControl=0
    This unlocks the account.
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139