Bonjour Antony,
Le 23/10/2020 à 10:38, Anthony RUIZ a écrit :
Je viens de voir qu'il y a deja un paquet tis-audit-local-admins qui permet de faire le gros du travail mais j'ai quelques erreur de retour : Audit aborted due to exception: Fatal error : Domain SID is not available
le paquet utilise les nom utilisateurs et non les SID, ce qu'il fait qu'il a besoin de la dispo du contrôleur de domaine pour faire la correspondance. La dernière version du paquet doit géré du cache local des correspondances SID/nom en cas d'indisponibilité du DC, par contre si le poste n'a pas vu le contrôleur de domaine lors d'un audit précédent, ça ne marchera pas. Sinon il faut se baser uniquement sur les SID.
Denis
Le Vendredi 23 Octobre 2020 10:28 CEST, Florent Lagoda florent.lagoda@univ-rennes2.fr a écrit:
Essayer d'écrire dans c:\Windows ou ProgramFiles et récupérer le code de retour ? 0 = admin , autres = pas admin
Le 23/10/2020 à 10:18, ruiz a écrit :
Bonjour à tous,
Y a t il un moyen (paquet ou requête) qui permettrait de savoir si l'utilisateur qui a ouvert une session fait parti du groupe Administrateur Local / Admins. du domaine de son poste ?
Merci d'avance
Anthony Ruiz
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Florent LAGODA - Université Rennes 2 Direction du Système d'Information (DSI) - Pôle Proximité ☎ 13.68 --
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt