TechEli
asked on
ASP and Active Directory problem
We have created a page in asp so that users can reset the password. It was working without any problem and now when you enter data the following error:
Active Directory mistake '80070005 '
It does not give any more information.
Someone could help me with this problem
Active Directory mistake '80070005 '
It does not give any more information.
Someone could help me with this problem
The possible cause of this error is insufficient access to use Server.CreateObject Command in your ASP Script.
Please visit http://support.microsoft.com/kb/278013
Hope this helps.
Please visit http://support.microsoft.com/kb/278013
Hope this helps.
ASKER
I can not find the permissions issue.
This line runs smoothly and gives us back the information:
Set objRS = objConn.execute ("SELECT * FROM 'LDAP: / / mydomain' WHERE objectClass = 'user' and sAMAccountName = '" & Request.Form ("User") & "'")
September objProvider = GetObject ("LDAP:")
September objUser = objProvider.OpenDsObject (objRS.Fields ("ADsPath"), sAdmUser, sAdmPass, 0)
But when it comes to this line, we get the error:
objUser.SetPassword "222222"
This line runs smoothly and gives us back the information:
Set objRS = objConn.execute ("SELECT * FROM 'LDAP: / / mydomain' WHERE objectClass = 'user' and sAMAccountName = '" & Request.Form ("User") & "'")
September objProvider = GetObject ("LDAP:")
September objUser = objProvider.OpenDsObject (objRS.Fields ("ADsPath"), sAdmUser, sAdmPass, 0)
But when it comes to this line, we get the error:
objUser.SetPassword "222222"
In this case it appears to be that an ADSI call failed because the user account used for a directory BIND authentication hadn't enough permissions.
Are you facing this problem with all users or with one specific user?
Are you facing this problem with all users or with one specific user?
ASKER
We used to authenticate a user is domain admin.
We have tried several users and we feel the same
We have tried several users and we feel the same
ASKER
We've tested. If we change the home directory it changes correctly, but if we make a SetPassword us the error.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The user also has to be DOMAIN \ user and the option 0
Thank you very much! to all!
Thank you very much! to all!
ASKER
Thank you very much!
You are welcome :)
Cheers!
Cheers!
Even though you said it used to work, review with your local admin to see if there are any configuration changes.