LDAP Client development
The
Aloaha Key Finder is based on the Aloaha LDAP Client OCX. LDAP is a very old and popular protocol to query addresss or digital certificate information in X.500 directories (for example Active Directory)
The Aloaha Key Finder is included in our
Aloaha PDF Crypter as AloahaKeyFinder.exe.
In case you need your own LDAP Client please contact us.
Usage:
If you leave the first field empty the client will load a pre-defined list of servers from the file ldap.txt. In case you want to use different server please use the following syntax. <server name>/<distinguished name>.
For example you are looking planning to search a user in domain aloaha.com on server domaincontroller you would use the string:
domaincontroller/CN=Users,DC=aloaha,DC=com
The field email can contain an email address, UPN or just a name. The wildcard * is allowed.as first or last character of the searchstring.
Please find below a sample script on how to use our LDAP API
Dim certificates
Dim certificate
Dim ldap
Dim i
Dim output
On Error Resume Next
output=""
Set ldap=CreateObject("aloaha_ldap.lookup")
Set certificates=ldap.ask_server("www.trustcenter.de", "/dc=trustcenter,dc=de", "stefan@engelbert.de")
For i = 0 to certificates.count
If certificates(i).serialnumber<>"" Then
err.clear
Set certificate=certificates(i)
If err.number=0 Then
output=output+certificate.subjectname+": "+certificate.serialnumber+vbcrlf
End If
Set certificate=nothing
End If
output=output+vbcrlf
Next
MsgBox output
LDAP sample VBS script (0,57 KB)Please ask...
Although we really tried hard, there are always questions left open.
Please send us your question.
We would be glad to answer it.
Home / Knowledge Base / LDAP Client