Piler ldap authentication

Issue #1002 closed
Yousif Alkhateeb created an issue

Hello ,

I’m trying to bind piler to my freeipa server using ldap , i’m using this configuration

$config['ENABLE_LDAP_AUTH'] = 1;
$config['LDAP_HOST'] = 'myip';
$config['LDAP_PORT'] = 389;
$config['LDAP_HELPER_DN'] = 'uid=admin,cn=users,cn=accounts,dc=mydomain,dc=com';
$config['LDAP_HELPER_PASSWORD'] = 'mypassword';
$config['LDAP_MAIL_ATTR'] = 'mail';
$config['LDAP_AUDITOR_MEMBER_DN'] = '';
$config['LDAP_ADMIN_MEMBER_DN'] = '';
$config['LDAP_BASE_DN'] = 'cn=users,cn=accounts,dc=mydomain,dc=com';

but the problem is when i try to login in using a user in my ldap server an HTTP 500 code page appears without any log to /var/log/maillog , there is no firewall and I've disabled selinux and I've checked mod_rewrite in apache and it’s enabled , so can you help me solve this issue ?

Thanks in advance .

Comments (7)

  1. Janos SUTO repo owner

    I don’t think so. An 500 error definitely should be in the error log. Also check if you have the php ldap module enabled.

  2. Yousif Alkhateeb reporter

    this is what in the error log

    [Sun Aug 04 03:19:01.512642 2019] [auth_digest:notice] [pid 6657] AH01757: generating secret for digest authentication ...
    [Sun Aug 04 03:19:01.513391 2019] [lbmethod_heartbeat:notice] [pid 6657] AH02282: No slotmem from mod_heartmonitor
    [Sun Aug 04 03:19:01.537897 2019] [mpm_prefork:notice] [pid 6657] AH00163: Apache/2.4.6 (CentOS) PHP/7.2.20 configured -- resuming normal operations
    [Sun Aug 04 03:19:01.537915 2019] [core:notice] [pid 6657] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

    and php-ldap module in installed

  3. Janos SUTO repo owner

    Check out the mail log as well as any php related logs. If you don’t give me something, I can’t act on it.

    Also check if selinux is disabled. If not, then try to disable and see if it helps.

  4. Log in to comment