{"id":1448,"date":"2022-05-25T18:05:21","date_gmt":"2022-05-25T18:05:21","guid":{"rendered":"\/blog\/?p=1448"},"modified":"2022-05-25T18:05:21","modified_gmt":"2022-05-25T18:05:21","slug":"restrict-pam_winbind-user-login-in-solaris-11","status":"publish","type":"post","link":"\/blog\/index.php\/restrict-pam_winbind-user-login-in-solaris-11\/","title":{"rendered":"Restrict pam_winbind user login in Solaris  11"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>&nbsp;Create a \/etc\/security\/pam_winbind.conf file with the following contents:<\/li><\/ul>\n\n\n\n<p>[global]<\/p>\n\n\n\n<p>require_membership_of = [SID or NAME]<\/p>\n\n\n\n<p>try_first_pass = yes<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Restart the winbind SMF service:<\/li><\/ul>\n\n\n\n<p># svcadm restart winbind<\/p>\n\n\n\n<p>[SID or NAME] is a comma separated list of SID&#8217;s and\/or AD users and\/or AD groups<\/p>\n\n\n\n<p>Example: the AD user jack and the members of the AD group IT-ADMIN are allowed to login in.<br><\/p>\n\n\n\n<p>[global]<\/p>\n\n\n\n<p>require_membership_of = jack,IT-ADMIN<\/p>\n\n\n\n<p>try_first_pass = yes<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Create a \/etc\/security\/pam_winbind.conf file with the following contents: [global] require_membership_of = [SID or NAME] try_first_pass = yes Restart the winbind SMF service: # svcadm restart winbind [SID or NAME] is a comma separated list of SID&#8217;s and\/or AD users and\/or AD groups Example: the AD user jack and the members of the AD group IT-ADMIN [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1448","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1448"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1448\/revisions"}],"predecessor-version":[{"id":1449,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1448\/revisions\/1449"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1448"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}