No description
Find a file
TheHackdes ea960e5320 feat(main.sh): add functionality to add users to a group
This commit introduces the ability to add one or more users to a group using the main script. The user is prompted to select this option from the menu, and if chosen, the action/add\_user\_to\_group.sh script is sourced to perform the operation. If an unrecognized choice is made, an error message is displayed and the script exits with a status of 1.
2026-05-04 20:41:53 +02:00
actions feat(main.sh): add functionality to add users to a group 2026-05-04 20:41:53 +02:00
sources refactor(sources/functions.sh): add clear command in banner function 2026-05-04 19:42:54 +02:00
fnox.toml refactor(sources/functions.sh): add clear command in banner function 2026-05-04 19:42:54 +02:00
main.sh feat(main.sh): add functionality to add users to a group 2026-05-04 20:41:53 +02:00
mise.toml feat(README.md): add README for Manage OpenLDAP script 2026-05-04 18:33:16 +02:00
README.md refactor(sources/functions.sh): add clear command in banner function 2026-05-04 19:42:54 +02:00

Manage OpenLDAP

Script interactif en Bash pour gérer les utilisateurs OpenLDAP (ajout, suppression).

Prérequis

  • bash
  • fzf (sélecteur interactif)
  • figlet (génération de bannières)
  • lolcat (couleurs arc-en-ciel)
  • mise (gestion des outils, optionnel)

Installation rapide avec mise :

mise install

Utilisation

./main.sh

Variable

  • LDAP_SERVER : exemple.com
  • LDAP_BASE_DN : dc=example,dc=com

Un menu interactif s'affiche via fzf permettant de :

  1. Ajouter un nouvel utilisateur
  2. Supprimer un utilisateur