Hi.
I want the user to be able to change his/hers password trough LDAP. But I`m having trouble to bind the user to objUser. I`ve tried this:
Set objUser = GetObject("LDAP://cn=USERS NAME,ou=OU, dc=DOMAIN,dc=COM")
but how can I get the USERS NAME of a logged user? I can get the sAMAccountName trough request.servervariables("auth_user") but I dont think I can bind a user to objUser with sAMAccountName.
Any suggestions?
I want the user to be able to change his/hers password trough LDAP. But I`m having trouble to bind the user to objUser. I`ve tried this:
Set objUser = GetObject("LDAP://cn=USERS NAME,ou=OU, dc=DOMAIN,dc=COM")
but how can I get the USERS NAME of a logged user? I can get the sAMAccountName trough request.servervariables("auth_user") but I dont think I can bind a user to objUser with sAMAccountName.
Any suggestions?