Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
mutuskig #1
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
-
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'... -
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"... -
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... -
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... -
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... -
jorgepino #2
Re: CFLDAP modifying badPWDCount
I am having the same problem,
have you been able to get it to work??
thanks
jorgepino Guest
-
-
jorgepino #4
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
-
Unregistered #5
Re: CFLDAP modifying badPWDCount
You need to set userAccountControl=0
This unlocks the account.Unregistered Guest



Reply With Quote

