0

Trying to develop a program that can only grant access to legitimate LDAP users. PHP has been compiled without LDAP support, so this will have to be effected through the a command line tool.

Is there a way to use standard tools available in HP UX to verify whether a user is entering the right credentials for LDAP authentication?

  • Why not simply compile PHP with LDAP support? – Michael Ströder Aug 16 '19 at 12:49
  • no rights unfortunately :( – bluppfisk Aug 17 '19 at 13:30
  • Do not invoke command-line tools from a web application. While this is possible it's a mess. If your task is to develop a PHP application with LDAP access then someone has to provide php-ldap on that system. – Michael Ströder Aug 20 '19 at 10:04
  • agreed, but that wasn't the question. I'm trying to figure out the syntax for the standard ldap tools so I can throw a user's username and password at the system and get an "OK" or "NOT OK" back :) – bluppfisk Aug 20 '19 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.