Ciao a tutti,
sto cercando di connettermi ad un server LDAP con il codice VBSCRIPT scritto sotto, ma non funziona.
Le righe commentate sono mie prove che non risolvono il problema
dim usernameuserName="myusr"
dim ldapserver
ldapServer = "ldap.server"
dim sDN
' sDN = "uid=" & userName & ",ou=People, dc=mycompany, dc=com"
sDN = "cn=" & userName & ""
dim sRoot
' sRoot = "LDAP://" & ldapServer & "/dc=mycompany, dc=com"
sRoot = "LDAP://" & ldapServer
Const ADS_SECURE_AUTHENTICATION = 1
Set xResult = dso.OpenDSObject(sRoot, sDN, "mypwd", ADS_SECURE_AUTHENTICATION)
All riga di lancio connessione ottengo l'errore:
Active Directory
error '8007052e'
The user name or password is incorrect.
ovviamente utente e pwd sono corretti.
IIS Windows Server 2012
Qualcuno può aiutarmi?
Grazie 1000
Paolo


Rispondi quotando
