https://github.com/vroncevic/ldap_manager
Shell tool for openLDAP management
https://github.com/vroncevic/ldap_manager
administration bash linux manager openldap shell
Last synced: about 2 months ago
JSON representation
Shell tool for openLDAP management
- Host: GitHub
- URL: https://github.com/vroncevic/ldap_manager
- Owner: vroncevic
- License: gpl-3.0
- Created: 2016-05-06T18:02:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T18:56:09.000Z (about 2 years ago)
- Last Synced: 2025-07-19T12:40:44.287Z (12 months ago)
- Topics: administration, bash, linux, manager, openldap, shell
- Language: Shell
- Homepage: https://vroncevic.github.io/ldap_manager
- Size: 6.83 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shell script for openLDAP management

**ldap_manager** is shell tool for control/operating ldap server.
Developed in **[bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell))** code: **100%**.
[](https://github.com/vroncevic/ldap_manager/actions/workflows/ldap_manager_shell_checker.yml)
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.
[](https://github.com/vroncevic/ldap_manager/issues) [](https://github.com/vroncevic/ldap_manager/graphs/contributors)
**Table of Contents**
- [Installation](#installation)
- [Usage](#usage)
- [Dependencies](#dependencies)
- [Shell tool structure](#shell-tool-structure)
- [Docs](#docs)
- [Copyright and licence](#copyright-and-licence)
### Installation

Navigate to release **[page](https://github.com/vroncevic/ldap_manager/releases)** download and extract release archive.
To install **ldap_manager** type the following
```bash
tar xvzf ldap_manager-3.0.tar.gz
cd ldap_manager-3.0
cp -R ~/sh_tool/bin/ /root/scripts/ldap_manager/ver.3.0/
cp -R ~/sh_tool/conf/ /root/scripts/ldap_manager/ver.3.0/
cp -R ~/sh_tool/log/ /root/scripts/ldap_manager/ver.3.0/
```
Self generated setup script and execution
```bash
./ldap_manager_setup.sh
[setup] installing App/Tool/Script ldap_manager
Sat Dec 13 08:27:42 AM CET 2025
[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.3.0/
├── bin/
│ ├── ldap_manager.sh
│ ├── openldap_operation.sh
│ └── openldap_version.sh
├── conf/
│ ├── ldap_manager.cfg
│ ├── ldap_manager.logo
│ └── ldap_manager_util.cfg
└── log/
└── ldap_manager.log
4 directories, 7 files
lrwxrwxrwx 1 root root 54 Dec 13 08:27 /root/bin/ldap_manager -> /root/scripts/ldap_manager/ver.3.0/bin/ldap_manager.sh
```
Or You can use docker to create image/container.
### Usage
```bash
# Create symlink for shell tool
ln -s /root/scripts/ldap_manager/ver.3.0/bin/ldap_manager.sh /root/bin/ldap_manager
# Setting PATH
export PATH=${PATH}:/root/bin/
# Control/operating ldap server
ldap_manager
ldap_manager ver.3.0
Sat Dec 13 08:27:52 AM CET 2025
[check_root] Check permission for current session? [ok]
[check_root] Done
██ ██
░██ ░██
░██ ░██ ██████ ██████ ██████████ ██████ ███████ ██████ █████ █████ ██████
░██ ██████ ░░░░░░██ ░██░░░██ ░░██░░██░░██ ░░░░░░██ ░░██░░░██ ░░░░░░██ ██░░░██ ██░░░██░░██░░█
░██ ██░░░██ ███████ ░██ ░██ ░██ ░██ ░██ ███████ ░██ ░██ ███████ ░██ ░██░███████ ░██ ░
░██░██ ░██ ██░░░░██ ░██████ ░██ ░██ ░██ ██░░░░██ ░██ ░██ ██░░░░██ ░░██████░██░░░░ ░██
███░░██████░░████████░██░░░ █████ ███ ░██ ░██░░████████ ███ ░██░░████████ ░░░░░██░░██████░███
░░░ ░░░░░░ ░░░░░░░░ ░██ ░░░░░ ░░░ ░░ ░░ ░░░░░░░░ ░░░ ░░ ░░░░░░░░ █████ ░░░░░░ ░░░
░░ ░░░░░
Info github.io/ldap_manager ver.3.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
* sh_util [https://github.com/vroncevic/sh_util](https://github.com/vroncevic/sh_util)
### Shell tool structure
**ldap_manager** is based on MOP.
Shell tool structure
```bash
sh_tool/
├── bin/
│ ├── 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
[](https://ldap-manager.readthedocs.io/projects/ldap_manager/en/latest/?badge=latest)
More documentation and info at
* [https://ldap_manager.readthedocs.io/en/latest/](https://ldap-manager.readthedocs.io/en/latest/)
* [https://www.gnu.org/software/bash/manual/](https://www.gnu.org/software/bash/manual/)
### Copyright and licence
[](https://www.gnu.org/licenses/gpl-3.0) [](https://opensource.org/licenses/Apache-2.0)
Copyright (C) 2016 - 2026 by [vroncevic.github.io/ldap_manager](https://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.
[](https://my.fsf.org/)
[](https://my.fsf.org/donate/)