Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
349 views
in Technique[技术] by (71.8m points)

docker - Why is the base DN incorrect?

I tried setting up this nextcloud services with an ldap AD (using openldap over docker also ) all this services are in a docker-compose file like so :

 ldap:
    image: osixia/openldap:latest
    networks:
      - ldap_network
    ports:
      - "389:389"
    environment:
      - 'LDAP_ORGANISATION=$ORG'
      - 'LDAP_DOMAIN=$LDAP_DOMAIN'
      - 'LDAP_ADMIN_PASSWORD=$LDAP_PWD'
      - 'LDAP_TLS=false'
    volumes:
      - ${LDAP_HOME}/volumes-ldap/data:/var/lib/ldap
      - ${LDAP_HOME}/volumes-ldap/config:/etc/ldap/slapd.d
      
  ldap_ADMIN:
    image: osixia/phpldapadmin:latest
    ports:
      - 8083:80
    networks:
      - ldap_network
    environment:
      - PHPLDAPADMIN_LDAP_HOSTS=ldap
      - PHPLDAPADMIN_HTTPS=false

 nextcloud:
     image: nextcloud:latest
     ports:
         - 8080:80
     networks:
       - ldap_network
     volumes:
         - 'volumes-data:/var/www/html/data'
         - 'volumes-config:/var/www/html/config'
         - 'volumes-apps:/var/www/html/apps'

i get the following error : can't find the base dn

in my openldap i've the following : OPEN LDAP ENTRIES

question from:https://stackoverflow.com/questions/65647076/why-is-the-base-dn-incorrect

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...