Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/09/2008, 11:42
Avatar de JuanRAPerez
JuanRAPerez
Colaborador
 
Fecha de Ingreso: octubre-2003
Mensajes: 2.393
Antigüedad: 20 años, 6 meses
Puntos: 27
Respuesta: ADSI problema con 2003

prueba este

Código asp:
Ver original
  1. strPath = "LDAP://XXX/DC=XXX,DC=XXX,DC=XX"
  2. strEmail = strCuenta & "@tudominio.xxx.xx"
  3.    
  4. Set objNamespaceLDAP = GetObject("LDAP:")
  5.  
  6. on error resume next
  7.     Set objMyObject = objNamespaceLDAP.OpenDSObject(strPath,strEmail,strClave,0)
  8.  
  9. if err.number <> 0 then
  10.     response.write "<p>Error ingresando en Password Intentelo de nuevo (verifique las condiciones de su teclado)</p>"
  11. else
  12.     response.write "<p>Satisfactorio!!!!!</p>"
  13. end if

suerte
__________________
JuanRa Pérez
San Salvador, El Salvador