Giter Club home page Giter Club logo

openldap's Introduction

OpenLDAP SLAPD on Alpine Linux

Docker Stars Docker Pulls Image Size Image Layers

The memberOf (with refint) overlay is installed and configured for groupOfUniqueNames.

Usage

docker run -itd -p 389:389 dweomer/openldap

Modifying Init/Runtime Behavior

Environment

declare -x LDAP_DOMAIN

Defaults to example.com if not overridden.

declare -x LDAP_DOMAIN_OBJECTCLASS

Default value is domain. Supports any objectClass or combination thereof that allows for the dc aka domainComponent and o aka organizationName attributes, e.g.

export LDAP_DOMAIN_OBJECTCLASS="organization
objectClass: dcObject"

declare -x LDAP_SUFFIX

By default this is generated from LDAP_DOMAIN, e.g. dc=example,dc=com for the default value of such, but one could as easily pass o=example.com or any other legitimate distinguishedName supported by the objectClass.

declare -x LDAP_ORGANIZATION

Defaults to the value of LDAP_DOMAIN if not overridden.

declare -x LDAP_PASSWORD

If not specified this is the string 'lderp!' concatenated with the first domainComponent from LDAP_DOMAIN. So, lderp!example for the default value of LDAP_DOMAIN. This will be the password for the bind dn of cn=admin,${LDAP_SUFFIX}, e.g. cn=admin,dc=example,dc=com.

Database

The first time the container starts up it will look for any files under the /srv/openldap.d/ hierarchy and process them in lexical order. Right now the only supported file extensions are .sh and .ldif, everything else is ignored.

If not already present, /srv/openldap.d/000-domain.ldif is created prior to such processing so that it will be picked up. This will create an organizationalUnit for user accounts with RDN cn=users and for user groups with RDN cn=groups.

License

See the LICENSE file in this repository.

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.