Giter Club home page Giter Club logo

meta-ldap's Introduction

This Vagrant configuration shows how to use the the meta-ldap server to combine two or more ldap servers
(some of which could be WindowADs) into a single setup.

It creates an environment with the following servers:

- ldap1: an Openldap server using olc configuration, dc=backend1,dc=example
- ldap2: an Openldap server using olc configuration, dc=backend2,dc=example
- ldapmeta: a meta-ldap implementation of Openldap, to proxy both ldap1 and ldap2
- ldapclient: a basic Linux server configured to use ldapmeta as its OpenLDAP server, to demonstrate how you
    login using accounts proxied by ldapmeta

The architecture is illustrated below

ldap1 --\
         >---ldapmeta---ldapclient
ldap2---/

To install the environment, run the following:
vagrant up 

To verify that ldapclient can access both accounts on the 2 proxied OpenLDAP servers, run 
$ sh test.sh

This should display both b1user1 and b2user1 UIDs, indicating that ldapclient is retrieving content
from both OpenLDAP servers (ldap1 and ldap2)


== Connecting to a WindowsAD Server

The /etc/openldap/slapd-frontend.conf contains an entry for connecting to a Windows AD server. You
need to update this entry to reflect your current WindowsAD (domain, readonly account and password
for non-anonymous access) for it to work correctly. For license reasons there is no WindowsAD server 
provided as part of this Vagrant setup.

== Acknowledgements

Most of the scripts used in this setup are based on other contributions available on the internet. The time and effort spent on ensuring a complete setup was part of a project at the European Spallation Source - ERIC. 

meta-ldap's People

Contributors

kgalal avatar

Stargazers

 avatar  avatar  avatar  avatar

meta-ldap's Issues

install-vagrant5.sh

There are errors in the configuration of this machine. Please fix
the following errors and try again:

shell provisioner:

  • path for shell provisioner does not exist on the host system: meta-ldap/install/install-vagrant5.sh

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.