{"id":142,"date":"2014-03-26T13:57:35","date_gmt":"2014-03-26T12:57:35","guid":{"rendered":"http:\/\/blog.prolin.pl\/?p=142"},"modified":"2015-10-15T07:46:49","modified_gmt":"2015-10-15T06:46:49","slug":"samba4-jako-kontroler-ad","status":"publish","type":"post","link":"https:\/\/blog.prolin.pl\/?p=142","title":{"rendered":"Samba4 jako kontroler AD"},"content":{"rendered":"<ol>\n<li>Do \/etc\/resolv.conf:\n<pre class=\"brush: bash; gutter: true\">domain mojadomena.local\r\nnameserver moje.i.p<\/pre>\n<\/li>\n<li>Do zainstalowania\n<pre>rpcbind<\/pre>\n<\/li>\n<li>Filesystem musi by\u0107 zamontowany z opcj\u0105 acl (najlepiej w fstab)<\/li>\n<li>\n<pre>service rpcbind start\r\nrm \/etc\/samba\/smb.conf\r\nsamba-tool domain provision --use-rfc2307 --interactive\r\nsamba-tool user setexpiry administrator --noexpiry\r\nmkdir \/var\/run\/samba\r\npoldek -i cups\r\nservice cups start\r\nservice samba start<\/pre>\n<\/li>\n<\/ol>\n<p>I wszystko &#8211; dzia\u0142a \ud83d\ude42<\/p>\n<p>Jeszcze mo\u017cna wy\u0142\u0105czy\u0107 wymaganie skomplikowanych hase\u0142:<\/p>\n<pre>samba-tool domain passwordsettings set --complexity=off<\/pre>\n<p>Szczeg\u0142\u00f3y w:<\/p>\n<pre>samba-tool domain passwordsettings --help<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Do \/etc\/resolv.conf: domain mojadomena.local nameserver moje.i.p Do zainstalowania rpcbind Filesystem musi by\u0107 zamontowany z opcj\u0105 acl (najlepiej w fstab) service rpcbind start rm \/etc\/samba\/smb.conf samba-tool domain provision &#8211;use-rfc2307 &#8211;interactive samba-tool user setexpiry administrator &#8211;noexpiry mkdir \/var\/run\/samba poldek -i cups service cups start service samba start I wszystko &#8211; dzia\u0142a \ud83d\ude42 Jeszcze mo\u017cna wy\u0142\u0105czy\u0107 wymaganie skomplikowanych [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,33],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-linux","category-samba"],"_links":{"self":[{"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=142"}],"version-history":[{"count":4,"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":146,"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions\/146"}],"wp:attachment":[{"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.prolin.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}