From b7d5c65902df78f4f7454c3246bbc04347140e58 Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 7 Jan 2021 14:45:50 +0100 Subject: [PATCH] --- Ninegate-AD.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Ninegate-AD.md b/Ninegate-AD.md index b105660..8da7ef9 100644 --- a/Ninegate-AD.md +++ b/Ninegate-AD.md @@ -13,7 +13,8 @@ Ninegate a besoin du compte writer afin d'offrir la modification du password via Il est donc nécessaire de générer son propre compte writer Pour cela -'' + +``` user_exists() { local username="${1}" $CONTAINER_EXEC samba-tool user show "${username}" > /dev/null 2>&1 @@ -42,8 +43,9 @@ then fi $CONTAINER_EXEC samba-tool user setpassword eole-workstation-manager --newpassword="${MANAGER_PASSWORD}" fi +``` + -'' #### Serveur Ninegate