Closed Elbullazul closed 3 months ago
We found the issue and will work on a PR to resolve this. Sorry for the inconvenience.
hi, can you please test with lspipepr/kimai:2.7.0-pkg-50d3f1f3-dev-fcbf5317184ca7c7df263ed16d787b9eb41d932f-pr-9
(just change your image to this) and let me know if this resolves the issue
hold off, i typo'd :)
k, sorry, it's ready now lspipepr/kimai:2.7.0-pkg-50d3f1f3-dev-604418a6d23a40cb2156a2736f73f084d5569b33-pr-9
it does make the file editable, thanks!
unfortunately, LDAP auth doesn't actually work. On login, I see 'invalid credentials':
and no LDAP queries reached my lldap server. It seems like kimai isn't actually sending requests, even though it loads the local.yaml
. I tried setting APP_ENV=dev
, but didn't find anything that could help solve this error.
unfortunately, no one on the team is using ldap or sso or anything similar. I suspect there is a necessary package missing to support this, but we would need end-user assistance to determine what is missing.
Hello,
I recently came across the same problem as you, and found out, that the required composer package (laminas/laminas-ldap
) mentioned in the documentation (https://www.kimai.org/documentation/ldap.html) isn't installed inside the container, as the Dockerfile
did not contain it.
To install it, you could easily just run the following command:
COMPOSER_MEMORY_LIMIT=-1 php -d memory_limit=-1 /usr/bin/composer require laminas/laminas-ldap -d /app/www/ --optimize-autoloader --no-interaction
(The package also needs the php-ldap
extension, but it is already installed inside the container.)
Is there an existing issue for this?
Current Behavior
Based on Kimai's documentation, adding a
local.yaml
with the appropriate LDAP settings should allow users to authenticate with their LDAP credentials.Since this container's mappings are different than kimai's official container, I tried adding the
local.yaml
to/app/www/config/packages
, but it does not do anything, and no related messages are found in the logs.Expected Behavior
LDAP auth should work.
Steps To Reproduce
Follow kimai's guide to enable LDAP auth: https://www.kimai.org/documentation/ldap.html
Environment
CPU architecture
x86-64
Docker creation
Container logs