-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi,
1º Problem :
-> These fields are correct ?
ldapsearch -H <Hostname for LDAP Server (ldap://x.y.z for non-SSL, ldaps://x.y.x for SSL)> -D -w -x -b <Base DN for AD (Usually default user OU in the Active Directory, otherwise top of the tree)>
-> How should I leave these fields?
LDAP filter ; LDAP Firstname field ; LDAP Surname field ; LDAP Email field
2º Problem :
The logs when I try to log in with the "active" ldap plugin
(AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.13. Set the 'ServerName' directive globally to suppress this message [Tue May 28 16:09:26.768945 2019] [mpm_prefork:notice] [pid 11] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Tue May 28 16:09:26.769004 2019] [core:notice] [pid 11] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND' [Tue May 28 16:10:48.136493 2019] [php7:error] [pid 12] [client 10.155.33.47:54380] PHP Fatal error: Uncaught Error: Call to undefined function ldap_connect() in /var/www/html/qa-plugin/qa-ldap-login/LDAPServer.php:10\nStack trace:\n#0 /var/www/html/qa-plugin/qa-ldap-login/qa-ldap-process.php(36): LDAPServer->connectWithServer()\n#1 /var/www/html/qa-plugin/qa-ldap-login/qa-ldap-process.php(58): ldap_process('user', 'pass')\n#2 /var/www/html/qa-include/pages/login.php(60): require_once('/var/www/html/q...')\n#3 /var/www/html/qa-include/app/page.php(183): require('/var/www/html/q...')\n#4 /var/www/html/qa-include/qa-page.php(47): qa_get_request_content()\n#5 /var/www/html/qa-include/qa-index.php(188): require('/var/www/html/q...')\n#6 /var/www/html/index.php(27): require('/var/www/html/q...')\n#7 {main}\n thrown in /var/www/html/qa-plugin/qa-ldap-login/LDAPServer.php on line 10, referer: http://10.217.113.1:3344/index.php?qa=login&to=index.php)
[Tue May 28 16:10:54.351147 2019] [php7:error] [pid 14] [client 10.155.33.47:54382] PHP Fatal error: Uncaught Error: Call to undefined function ldap_connect() in /var/www/html/qa-plugin/qa-ldap-login/LDAPServer.php:10\nStack trace:\n#0 /var/www/html/qa-plugin/qa-ldap-login/qa-ldap-process.php(36): LDAPServer->connectWithServer()\n#1 /var/www/html/qa-plugin/qa-ldap-login/qa-ldap-process.php(58): ldap_process('question2answer', 'question2answer')\n#2 /var/www/html/qa-include/pages/login.php(60): require_once('/var/www/html/q...')\n#3 /var/www/html/qa-include/app/page.php(183): require('/var/www/html/q...')\n#4 /var/www/html/qa-include/qa-page.php(47): qa_get_request_content()\n#5 /var/www/html/qa-include/qa-index.php(188): require('/var/www/html/q...')\n#6 /var/www/html/index.php(27): require('/var/www/html/q...')\n#7 {main}\n thrown in /var/www/html/qa-plugin/qa-ldap-login/LDAPServer.php on line 10, referer: http://10.217.113.1:3344/