Was wondering if someone would be willing to share the how to to get LDAP users working. What steps are required, etc.
From system information:
Code: Select all
phpMyFAQ Version 2.9.13 phpMyFAQ API Version 1.1 Server Software Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.40 mod_wsgi/3.4 Python/2.7.5 Server Document Root /var/www/html phpMyFAQ Installation Path /var/www/html/faq PHP Version 5.6.40 Webserver Interface APACHE2HANDLER PHP Extensions Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, intl, json, ldap, exif, mcrypt, mysql, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, shmop, SimpleXML, snmp, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, apc PHP Session path /var/lib/php/session Database Server mysqli Database Server Version 5.5.64-MariaDB Database Client Version 5.5.64-MariaDB Elasticsearch n/a
I've enable the LDAP Support in Configuration > Edit Configuration > Security.
I've verified that the ldap account configured is hitting the domain controller from the host running phpMyFAQ. I see the ldapfaq account logging in and off.
SELinux is in play, but for the time being currently disabled for testing.
I've not changed constants_ldap.php as various threads here mentioned that generally isn't necessary.
ldap.php was built with the following information from the setup page:
Code: Select all
$PMF_LDAP['ldap_server'] = 'ldap-ad.company.pri'; $PMF_LDAP['ldap_port'] = '389'; $PMF_LDAP['ldap_user'] = 'COMPANY\ldapfaq'; $PMF_LDAP['ldap_password'] = '<passwordgoeshere>'; $PMF_LDAP['ldap_base'] = 'CN=IS,OU=FS,OU=Groups,DC=COMPANY,DC=PRI';
Any help would be greatly appreciated!