Ver Mensaje Individual
  #5 (permalink)  
Antiguo 27/10/2009, 11:29
abassi
 
Fecha de Ingreso: julio-2009
Mensajes: 53
Antigüedad: 14 años, 9 meses
Puntos: 0
Respuesta: Re: ASP con Active Directory (LDAP)

Cita:
Iniciado por elbolsa Ver Mensaje
Usted esta un poco mas avanzado que yo!... podrias por favor publicar el codigo para realizar el logeo! de verdad me salvarias! me esta costando mucho conseguir la validacion!!! desde ya mucha gracias!!
Set oRootDSE = GetObject("LDAP://RootDSE")
strPath = "LDAP://" & oRootDSE.Get("defaultNamingContext")


strEmail = "dominio\usuario"
strClave = "Pa$$w0rd"

Set objNamespaceLDAP = GetObject("LDAP:")

on error resume next
Set objMyObject = objNamespaceLDAP.OpenDSObject(strPath,strEmail,str Clave,0)

if err.number <> 0 then
response.write "<p>Error ingresando en Password Intentelo de nuevo (verifique las condiciones de su teclado)</p>"
else
response.write "<p>Satisfactorio!!!!!</p>"
end if