Skip to content

Why does the login keep failing? Also, can we not close it until the problem is solved #338

@pptfz

Description

@pptfz

I specified dn login and uid login, but it still failed. Are there any successful login examples?

docker run --rm -it \
  --name phpldapadmin \
  -e LDAP_HOST=10.0.16.17 \
  -e APP_KEY=base64:IeijsYKXA0Yzs+WZAZCRodb/UIAdTOSeFimwpgHVh3k= \
  -e APP_URL=http://phpldapadmin.mydomain.com \
  -e LDAP_LOGIN_ATTR=uid \
  -p 8080:8080 phpldapadmin/phpldapadmin:2.1.3
docker run --rm -it \
  --name phpldapadmin \
  -e LDAP_HOST=10.0.16.17 \
  -e APP_KEY=base64:IeijsYKXA0Yzs+WZAZCRodb/UIAdTOSeFimwpgHVh3k= \
  -e APP_URL=http://phpldapadmin.mydomain.com \
  -e LDAP_LOGIN_ATTR=dn \
  -p 8080:8080 phpldapadmin/phpldapadmin:2.1.3

Image

The login failed. Why is there no error message in the container at all?

docker logs -f phpldapadmin
* Started with [--config /etc/caddy/Caddyfile --adapter caddyfile]
* Laravel Setup...
  - /app is an external mount point 1
  - Caching configuration...

   INFO  Caching framework bootstrap, configuration, and metadata.  

  config ............................................................................................................................... 8.45ms DONE
  events ............................................................................................................................... 1.16ms DONE
  routes .............................................................................................................................. 11.90ms DONE
  views ............................................................................................................................... 72.97ms DONE

2025/06/09 08:28:51.701	INFO	using config from file	{"file": "/etc/caddy/Caddyfile"}
2025/06/09 08:28:51.702	INFO	adapted config to JSON	{"adapter": "caddyfile"}
2025/06/09 08:28:51.702	WARN	Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies	{"adapter": "caddyfile", "file": "/etc/caddy/Caddyfile", "line": 10}
2025/06/09 08:28:51.703	INFO	admin	admin endpoint started	{"address": "localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//127.0.0.1:2019"]}
2025/06/09 08:28:51.703	INFO	tls.cache.maintenance	started background certificate maintenance	{"cache": "0xc0005e3080"}
2025/06/09 08:28:51.718	INFO	frankenphp	FrankenPHP started 🐘	{"php_version": "8.4.6", "num_threads": 8, "max_threads": 8}
2025/06/09 08:28:51.718	WARN	http	HTTP/2 skipped because it requires TLS	{"network": "tcp", "addr": ":8080"}
2025/06/09 08:28:51.718	WARN	http	HTTP/3 skipped because it requires TLS	{"network": "tcp", "addr": ":8080"}
2025/06/09 08:28:51.718	INFO	http.log	server running	{"name": "srv0", "protocols": ["h1", "h2", "h3"]}
2025/06/09 08:28:51.719	INFO	autosaved config (load with --resume flag)	{"file": "/config/caddy/autosave.json"}
2025/06/09 08:28:51.719	INFO	serving initial configuration
2025/06/09 08:28:51.720	INFO	tls	cleaning storage unit	{"storage": "FileStorage:/data/caddy"}
2025/06/09 08:28:51.721	INFO	tls	finished cleaning storage units

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions