Skip to content

"Use of undefined constant LDAP_HOST" and "Undefined variable: allowed_algorithms" #3

@clement-analogue

Description

@clement-analogue

Hello,

I get the following errors in apache when I try to log in:
[Thu Nov 06 23:32:26.589013 2014] [:error] [pid 2158] [client 192.168.1.4:52881] PHP Notice: Use of undefined constant LDAP_HOST - assumed 'LDAP_HOST' in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 227, referer:
[Thu Nov 06 23:32:26.590085 2014] [:error] [pid 2158] [client 192.168.1.4:52881] PHP Notice: Use of undefined constant LDAP_PORT - assumed 'LDAP_PORT' in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 227, referer:
[Thu Nov 06 23:32:26.591020 2014] [:error] [pid 2158] [client 192.168.1.4:52881] PHP Notice: Use of undefined constant LDAP_BASE_DN - assumed 'LDAP_BASE_DN' in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 227, referer:
[Thu Nov 06 23:32:26.591936 2014] [:error] [pid 2158] [client 192.168.1.4:52881] PHP Notice: Use of undefined constant LDAP_HOST - assumed 'LDAP_HOST' in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 233, referer:
[Thu Nov 06 23:32:26.592795 2014] [:error] [pid 2158] [client 192.168.1.4:52881] PHP Notice: Use of undefined constant LDAP_PORT - assumed 'LDAP_PORT' in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 234, referer:
[Thu Nov 06 23:32:26.594240 2014] [:error] [pid 2158] [client 192.168.1.4:52881] PHP Notice: Use of undefined constant LDAP_BASE_DN - assumed 'LDAP_BASE_DN' in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 238, referer:
[Thu Nov 06 23:32:26.594745 2014] [:error] [pid 2158] [client 192.168.1.4:52881] Could not connect to LDAP-server: Could not connect to LDAP_HOST:LDAP_PORT: , referer:

Also an issue with static authentication:
[Thu Nov 06 23:46:41.506569 2014] [:error] [pid 2224] [client 192.168.1.4:53182] PHP Notice: Undefined variable: allowed_algorithms in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 201, referer:
[Thu Nov 06 23:46:41.507648 2014] [:error] [pid 2224] [client 192.168.1.4:53182] PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/share/simpleid/www/ldap-filesystem.store.inc on line 201, referer:

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions