04-13-2019, 09:43 AM
I wrote a proof of concept ldap login. No form. Hard coded credentials in the php file and used it to connect to that second demo server you sent. Can you test it? Feel free to edit the credentials.
By default, when you load this page it should try to authenticate with the demo server and if it's successful, it will log you in as user 2. If you don't have one in your db, change the id on this file or create one. Please let me know what happens.
Put this file in your root directory and call it ldap.php or whatever.
https://pastebin.com/5qNuvtM4
By default, when you load this page it should try to authenticate with the demo server and if it's successful, it will log you in as user 2. If you don't have one in your db, change the id on this file or create one. Please let me know what happens.
Put this file in your root directory and call it ldap.php or whatever.
https://pastebin.com/5qNuvtM4