P.S.
> I'm running davical on debian jessie with ldap authentication without problems.
> I installed some updates over time and I'm running version 1.1.3.1-1 now.
> After a long time I would like to login as admin again - but without success.
>
> From apache error log:
> davical: ***: ERROR:drivers_ldap: Unable to find the user with filter (&(objectClass=inetOrgPerson))(uid=admin))
The error log shows more:
davical: ***: ERROR:drivers_ldap : Unable to find the user with filter (&(&(objectClass=inetOrgPerson)(uidNumber>=49999))(uid=admin)), ...
davical: LOG: Session::check_temporary_passwords: Query: QF: SQL error "42883" - ERROR: operator does not exist: text = integer LINE 1: ... FROM tmp_password WHERE user_no = 1 AND password = mypassword... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit ty, ...
davical: LOG: Session::check_temporary_passwords: Query: QF: pe casts.", ...
davical: LOG: Session::check_temporary_passwords: Query: QF: SELECT 1 AS ok FROM tmp_password WHERE user_no = ? AND password = ? AND valid_until > current_timestamp, ...
davical: LOG: Session::check_temporary_passwords: Query: QF: "0" => "1", ...
davical: LOG: Session::check_temporary_passwords: Query: QF: "1" => "mypassword", ...
davical: Login failure: WARN: Invalid username or password., ...
> admin doesn't exist in the ldap database, but in the postgresql database. I checked this.
>
> In the caldav config I have
>
> $c->authenticate_hook['optional'] = true;
> $c->do_not_sync_from_ldap = array( 'admin' => true );
> $c->authenticate_hook['call'] = 'LDAP_check';
> $c->authenticate_hook['config'] = array(
> …
> );
> include('drivers_ldap.php');
>
> How I can login as admin again?
> I'm running davical on debian jessie with ldap authentication without problems.
> I installed some updates over time and I'm running version 1.1.3.1-1 now.
> After a long time I would like to login as admin again - but without success.
>
> From apache error log:
> davical: ***: ERROR:drivers_ldap: Unable to find the user with filter (&(objectClass=inetOrgPerson))(uid=admin))
The error log shows more:
davical: ***: ERROR:drivers_ldap : Unable to find the user with filter (&(&(objectClass=inetOrgPerson)(uidNumber>=49999))(uid=admin)), ...
davical: LOG: Session::check_temporary_passwords: Query: QF: SQL error "42883" - ERROR: operator does not exist: text = integer LINE 1: ... FROM tmp_password WHERE user_no = 1 AND password = mypassword... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit ty, ...
davical: LOG: Session::check_temporary_passwords: Query: QF: pe casts.", ...
davical: LOG: Session::check_temporary_passwords: Query: QF: SELECT 1 AS ok FROM tmp_password WHERE user_no = ? AND password = ? AND valid_until > current_timestamp, ...
davical: LOG: Session::check_temporary_passwords: Query: QF: "0" => "1", ...
davical: LOG: Session::check_temporary_passwords: Query: QF: "1" => "mypassword", ...
davical: Login failure: WARN: Invalid username or password., ...
> admin doesn't exist in the ldap database, but in the postgresql database. I checked this.
>
> In the caldav config I have
>
> $c->authenticate_hook['optional'] = true;
> $c->do_not_sync_from_ldap = array( 'admin' => true );
> $c->authenticate_hook['call'] = 'LDAP_check';
> $c->authenticate_hook['config'] = array(
> …
> );
> include('drivers_ldap.php');
>
> How I can login as admin again?