Coder Social home page Coder Social logo

knowitop-multi-ldap-auth's Introduction

Multiple LDAP Server Authentication for Combodo iTop

This module allows you to define multiple LDAP servers for user authentication.

Installation

Install like any other extension.

  • If you have ZIP downloaded extract and rename folder "knowitop-multi-ldap-auth-master" to "knowitop-multi-ldap-auth".
  • Copy "knowitop-multi-ldap-auth" folder to itop/extensions folder and go to http://localhost/setup/.
  • Select "Upgrade an existing iTop instance" and follow the wizard.

Configuration

  1. Define the LDAP settings in the iTop configuration file.
// other params

$MyModuleSettings = array(

    // other params
    
    'knowitop-multi-ldap-auth' => array(
        'ldap_settings' => array(
            'your_ldap_config_name' => // <-- Settings defined by default, you are free to change, rename or remove it
                array(
                    'host' => 'localhost',
                    'port' => 389,
                    'default_user' => '',
                    'default_pwd' => '',
                    'base_dn' => 'dc=yourcompany,dc=com',
                    'user_query' => '(&(uid=%1$s)(inetuserstatus=ACTIVE))',
                    'options' =>
                        array(
                            17 => 3,
                            8 => 0,
                        ),
                    'start_tls' => false,
                ),
            'other_config' => // <-- Add your second LDAP settings named 'other_config' for example
                array(
                    'host' => 'my-ldap-host',
                    'port' => 10389,
                    'default_user' => '',
                    'default_pwd' => '',
                    'base_dn' => 'dc=yourcompany,dc=com',
                    'user_query' => '(&(uid=%1$s)(inetuserstatus=ACTIVE))',
                    'options' =>
                        array(
                            17 => 3,
                            8 => 0,
                        ),
                    'start_tls' => false,
                ),
              // <-- Add your third and others LDAP settings here if needed
        ),
    ),
);

// other params
  1. Create a new Multiple LDAP user account and select its LDAP config name from the settings defined in the previous step (e.g. 'your_ldap_config_name' or 'other_config') or use LDAP settings from the standard authent-ldap module.

Note: use the debug directive from the standard authent-ldap module to debug this module.

Links

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.