{"id":2206,"date":"2022-10-28T09:08:19","date_gmt":"2022-10-28T07:08:19","guid":{"rendered":"http:\/\/clark.tipistrani.it\/?p=2206"},"modified":"2022-10-28T09:08:19","modified_gmt":"2022-10-28T07:08:19","slug":"recuperare-utenti-di-un-gruppo-samba-ad","status":"publish","type":"post","link":"http:\/\/clark.tipistrani.it\/?p=2206","title":{"rendered":"Recuperare utenti di un gruppo samba AD"},"content":{"rendered":"<p>Mi sono trovato poco fa a dover recuperare un elenco di utenti da AD per poterlo comunicare a un fornitore che deve dare accesso a delle risorse su un server separato.<\/p>\n<p>Il comando che restituisce i membri di un gruppo samba \u00e8 il seguente<\/p>\n<p>root@trieste:~# getent \u00a0passwd | grep nome-gruppo nel caso specifico il gruppo si chiama vault-ro e l&#8217;output \u00e8 il seguente<\/p>\n<p>vault-ro:x:33113:cristina,donatella,oldani,simonetta,andreon,xxxx1,tiziana,valentina,xxxxa,bxxxxa,bxxxxi,stefania,xxxxli,luisa,mariella,mxxi,gaxxxi,<br \/>\nclaudia,monica,montaggio<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mi sono trovato poco fa a dover recuperare un elenco di utenti da AD per poterlo comunicare a un fornitore che deve dare accesso a delle risorse su un server separato. Il comando che restituisce i membri di un gruppo samba \u00e8 il seguente root@trieste:~# getent \u00a0passwd | grep nome-gruppo nel caso specifico il gruppo [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11,6],"tags":[115,253,254,149],"class_list":["post-2206","post","type-post","status-publish","format-standard","hentry","category-linux","category-samba","category-work","tag-ad","tag-getent","tag-groups","tag-samba"],"_links":{"self":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2206"}],"version-history":[{"count":1,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2206\/revisions"}],"predecessor-version":[{"id":2207,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2206\/revisions\/2207"}],"wp:attachment":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2206"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}