ldap_manager

Shell tool for openLDAP management

View the Project on GitHub vroncevic/ldap_manager

Shell script for openLDAP management

ldap_manager is shell tool for control/operating ldap server.

Developed in bash code: 100%.

ldap_manager_shell_checker

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

GitHub issues open GitHub contributors

Table of Contents

Installation

Debian Linux OS

Navigate to release page download and extract release archive.

To install ldap_manager type the following

tar xvzf ldap_manager-x.y.tar.gz
cd ldap_manager-x.y
cp -R ~/sh_tool/bin/   /root/scripts/ldap_manager/ver.x.y/
cp -R ~/sh_tool/conf/  /root/scripts/ldap_manager/ver.x.y/
cp -R ~/sh_tool/log/   /root/scripts/ldap_manager/ver.x.y/

Self generated setup script and execution

./ldap_manager_setup.sh

[setup] installing App/Tool/Script ldap_manager
	Tue 30 Nov 2021 08:46:52 PM CET
[setup] clean up App/Tool/Script structure
[setup] copy App/Tool/Script structure
[setup] remove github editor configuration files
[setup] set App/Tool/Script permission
[setup] create symbolic link of App/Tool/Script
[setup] done

/root/scripts/ldap_manager/ver.2.0/
├── bin/
│   ├── center.sh
│   ├── display_logo.sh
│   ├── ldap_manager.sh
│   ├── openldap_operation.sh
│   └── openldap_version.sh
├── conf/
│   ├── ldap_manager.cfg
│   ├── ldap_manager.logo
│   └── ldap_manager_util.cfg
└── log/
    └── ldap_manager.log

3 directories, 9 files
lrwxrwxrwx 1 root root 54 Nov 30 20:46 /root/bin/ldap_manager -> /root/scripts/ldap_manager/ver.2.0/bin/ldap_manager.sh

Or You can use docker to create image/container.

Usage

# Create symlink for shell tool
ln -s /root/scripts/ldap_manager/ver.x.y/bin/ldap_manager.sh /root/bin/ldap_manager

# Setting PATH
export PATH=${PATH}:/root/bin/

# Control/operating ldap server
ldap_manager

ldap_manager ver.2.0
Tue 30 Nov 2021 08:48:16 PM CET

[check_root] Check permission for current session? [ok]
[check_root] Done

                                                                                                        
    ██      ██                                                                                          
   ░██     ░██                                                                                          
   ░██     ░██  ██████   ██████        ██████████   ██████   ███████   ██████    █████   █████  ██████  
   ░██  ██████ ░░░░░░██ ░██░░░██      ░░██░░██░░██ ░░░░░░██ ░░██░░░██ ░░░░░░██  ██░░░██ ██░░░██░░██░░█  
   ░██ ██░░░██  ███████ ░██  ░██       ░██ ░██ ░██  ███████  ░██  ░██  ███████ ░██  ░██░███████ ░██ ░   
   ░██░██  ░██ ██░░░░██ ░██████        ░██ ░██ ░██ ██░░░░██  ░██  ░██ ██░░░░██ ░░██████░██░░░░  ░██     
   ███░░██████░░████████░██░░░   █████ ███ ░██ ░██░░████████ ███  ░██░░████████ ░░░░░██░░██████░███     
  ░░░  ░░░░░░  ░░░░░░░░ ░██     ░░░░░ ░░░  ░░  ░░  ░░░░░░░░ ░░░   ░░  ░░░░░░░░   █████  ░░░░░░ ░░░      
                        ░░                                                      ░░░░░                   
                                                                                                        
	                                                                   
		Info   github.io/ldap_manager ver.2.0 
		Issue  github.io/issue
		Author vroncevic.github.io

  [USAGE] ldap_manager [OPTIONS]
  [OPTIONS]
  [OPERATION] start | stop | restart | status | version
  # Restart openLDAP Server
  ldap_manager restart
  [help | h] print this option

Dependencies

ldap_manager requires next modules and libraries

Shell tool structure

ldap_manager is based on MOP.

Shell tool structure

sh_tool/
├── bin/
│   ├── center.sh
│   ├── display_logo.sh
│   ├── ldap_manager.sh
│   ├── openldap_operation.sh
│   └── openldap_version.sh
├── conf/
│   ├── ldap_manager.cfg
│   ├── ldap_manager.logo
│   └── ldap_manager_util.cfg
└── log/
    └── ldap_manager.log

Docs

Documentation Status

More documentation and info at

License: GPL v3 License

Copyright (C) 2016 - 2024 by vroncevic.github.io/ldap_manager

ldap_manager is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.

Lets help and support FSF.

Free Software Foundation

Donate