#!/bin/bash

# partages multiples
ad_domain="$(CreoleGet ad_domain)"
if [ "$(CreoleGet ad_additional_share non)" = "oui" ]; then
    for path in $(CreoleGet ad_additional_share_path); do
        chown :"${ad_domain^^}/domain users" $path
    done
fi
exit 0
