delphi - Connect to Sun LDAP with ADO -


i want connect (and user's group) sun ldap server delphi program. think adsi works microsoft ldap. try ado, can't connect.

can show code how this?

i think this code fit bill.

there more adsi ldap, , experience easier use ldap client connect activedirectory other way around - trying do, unfortunatly.

to started, here fail safe way authenticate user.

  1. establish connection ldap server service account. if possible, use ldap protocol on ssl, ldaps
  2. search username (wich cn=jdoe part) full dn (distinguished name)
  3. if have duplicate result, stop here error
  4. bind ldap dn , password trying validate. make shure using same validation method on both side.
  5. if binds, password valid.
  6. close connection established
  7. depending on needs, either hold on connection made step 1 or tear down, too.

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -