Coder Social home page Coder Social logo

ldap-docker-compose's Introduction

使用说明

利用此docker-compose配置, 迅速的在本地搭建起ldap服务。

有几点是一定要注意的,mysql的配置需要修改, 设置成使用utf-8的编码格式。

docker-compose up

执行 docker-compose exec ldap /bin/bash

执行 ldapsearch -x -h localhost -b dc=ldap,dc=dingfudata,dc=com -D "cn=admin,dc=ldap,dc=dingfudata,dc=com" -w XXXXXXXX

来验证ldap服务是不是已经起来了。

输出:

# extended LDIF
#
# LDAPv3
# base  with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

[...]

# numResponses: 3
# numEntries: 2

就说明成功了, 然后访问: https://localhost:6443

输入: cn=admin,dc=ldap,dc=dingfudata,dc=com XXXXXXXX

登录进Web端的控制台

ldapsearch -x -h localhost -b dc=ldap,dc=dingfudata,dc=com -D "cn=screwyou,dc=ldap,dc=dingfudata,dc=com" -w screwyou "(&(objectClass=posixAccount)(uid=testldap))"

ldap-docker-compose's People

Contributors

materliu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.