Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 30063, Active Directory authentication via LDAP with user@mydomain.com

by Frank Phillips Email: Anonymous


Authenticate a user via an active directory when all the information I have is the user id and the AD name IE: mydomain.com.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 10.0  to 20.0 261 downloads
Copyright: No significant restrictions


Size: 901 bytes
Updated on Tue, 25 Nov 2014 07:06:55 GMT
Originally uploaded on Tue, 25 Nov 2014 07:06:51 GMT
SHA1 Hash: 32817BC8119965842FEA6C2D7C6EF4BF55C5AFAB
MD5 Hash: 367381275A12558F087E549C3B650A7F

    Explore the files in this upload

Description
As you can see from the code snippet that I attached. I am currently gathering the information about the AD from the currently logged on user using adshlp and ActiveDs_TLB. I have a form that allows the user to enter their AD password and I verify that is correct before allowing access to the system. This woks fine. The problem I have now is that the users want to be able to enter any AD and ID in the form mydomain.com\userid and have the code authenticate and bring back the same data the code currently retrieves. I have not been able to find an LDAP call that will do that. I would appreciate any help and suggestions that I can get.
Thanks

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03