1. Miguel Alzate
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 13 August 2020 22:26 PM UTC

Hello, everyone

My web application is multi-tenant and each client requires that its users log in to the application with authentication of their respective LDAP (Windows Active Directory) servers. How to programmatically connect to a remote LDAP server and extract information from that server?

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 13 August 2020 22:37 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Miguel;

 This is how I did it ...

https://sourceforge.net/projects/stdfndclass/files/Presentations/Active%20Directory

HTH

Regards... Chris

Comment
  1. Miguel Alzate
  2. Thursday, 13 August 2020 23:19 PM UTC
Hi, Chris. You're very kind in responding promptly.



Just a question: Where in the code are the connection parameters to the LDAP server (such as host, port, credentials, etc.) obtained and processed?

  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 17 August 2020 18:17 PM UTC
Hi Miguel. Sorry for the slow response as I was on vacation last week & missed your reply. In my implementation. Those aspects were all handled from the Web Service as IIS required "elevated" privileges to access the AD. Something that normal EXE's would not normally be allowed to do when enhanced AD security is being used. The PB and/or PowerServer Web App's provided the local MS-Windows AD settings (using the MS-Windows built-in AD's API0 and then that base AD information was then passed to the WS for further processing.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.