wheelybird / ldap-user-manager

A PHP web-based interface for LDAP user account management and self-service password change.
MIT License
487 stars 107 forks source link

Can't go past setup #179

Closed foux closed 2 years ago

foux commented 2 years ago

Version Version 1.8

Describe the bug WHen going to https://my.fq.dn/setup, after authenticating, I get the following error :

image

This is on a brand new LDAP server, with the following compose :

services:
  openldap:
    image: osixia/openldap:1.5.0
    restart: unless-stopped
    ports:
      - 636:636
    hostname: my.fq.dn
    volumes:
      - ./ldap/conf:/etc/ldap/slapd.d
      - ./ldap/datas:/var/lib/ldap
      - ./ssl/tfdn.app:/container/service/slapd/assets/certs
    environment:
      - LDAP_ORGANISATION=FQ.DN
      - LDAP_DOMAIN=fq.dn
      - LDAP_TLS_CRT_FILENAME=cert.pem
      - LDAP_TLS_KEY_FILENAME=key.pem
      - LDAP_TLS_CA_CRT_FILENAME=cert.pem
      - LDAP_RFC2307BIS_SCHEMA=true
    networks:
      - ldap
  ldap-user-manager:
    image: wheelybird/ldap-user-manager:v1.8
    restart: unless-stopped
    environment:
      - SERVER_HOSTNAME=my.fq.dn
      - LDAP_URI=ldap://openldap
      - LDAP_DEBUG=true
      - LDAP_VERBOSE_CONNECTION_LOGS=true
      - LDAP_BASE_DN=dc=fq,dc=dn"
      - LDAP_ADMINS_GROUP=admins
      - LDAP_ADMIN_BIND_DN=cn=admin,dc=fq,dc=dn
      - LDAP_ADMIN_BIND_PWD=admin
      - NO_HTTPS=true
    labels:
      - traefik.enable=true
      - traefik.http.routers.ldap.rule=Host(`my.fq.dn`)
    networks:
      - ldap
      - web
networks:
  ldap:
  web:
    name: web
    external: true

I don't seem to see anything relevant in the logs. Any idea where this might come from?

Thanks

foux commented 2 years ago

Nevermind, typo in my compose (extraneous " in the line - LDAP_BASE_DN=dc=fq,dc=dn". Sorry about that!