{"id":272,"date":"2016-07-04T09:20:50","date_gmt":"2016-07-04T08:20:50","guid":{"rendered":"http:\/\/darko-keric.from.hr\/?p=272"},"modified":"2016-07-05T09:39:01","modified_gmt":"2016-07-05T08:39:01","slug":"join-linux-to-ad","status":"publish","type":"post","link":"http:\/\/darko-keric.from.hr\/?p=272","title":{"rendered":"Join Linux to AD"},"content":{"rendered":"<ul>\n<li>\n<h1>Linux stroj:<\/h1>\n<\/li>\n<\/ul>\n<p>yum -y install adcli<\/p>\n<ul>\n<li><strong>Windows stroj<\/strong><\/li>\n<\/ul>\n<p>namjestiti mre\u017eu &#8211; IP adresa, DNS (192.168.20.253, sam na sebe), disable IPv6<br \/>\nPromijeniti ime stroja<br \/>\nu hosts file dodati ip adresu linuxa i ip adresu windows stroja<\/p>\n<ul>\n<li><strong>Linux stroj<\/strong><\/li>\n<\/ul>\n<p>service iptables stop<br \/>\nchkconfig iptables off<br \/>\nsetenforce 0<br \/>\nservice NetworkManager stop<br \/>\nchkconfig NetworkManager off<\/p>\n<p>vim \/etc\/sysconfig\/network-scripts\/ifcfg-eth0<br \/>\n<em>(paziti koji eth je za internu mre\u017eu, koji za van)<\/em><\/p>\n<pre>DEVICE=\"eth0\"\r\nBOOTPROTO=\"static\"\r\nHWADDR=\"xxxx\"\r\nIPADDR=192.168.20.250\r\nNETMASK=255.255.255.0\r\nONBOOT=\"yes\"\r\nTYPE=\"Ethernet\"\r\nUUID=\"xxxx\"<\/pre>\n<p>vim \/etc\/hosts<br \/>\ndodati linx i win ma\u0161inu<br \/>\nvim \/etc\/resolf.conf<br \/>\nnameserver 192.168.20.253<br \/>\nservice network restart<\/p>\n<p>ping 192.168.20.253<\/p>\n<ul>\n<li><strong>Windows stroj<\/strong><\/li>\n<\/ul>\n<p>Firewall off<br \/>\nInstalirati AD -&gt; promote<\/p>\n<ul>\n<li><strong>Linux stroj<\/strong><\/li>\n<\/ul>\n<p>adcli info example.com<br \/>\nadcli join example.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux stroj: yum -y install adcli Windows stroj namjestiti mre\u017eu &#8211; IP adresa, DNS (192.168.20.253, sam na sebe), disable IPv6 Promijeniti ime stroja u hosts file dodati ip adresu linuxa i ip adresu windows stroja Linux stroj service iptables stop &hellip; <a href=\"http:\/\/darko-keric.from.hr\/?p=272\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":348,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[6],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/darko-keric.from.hr\/?p=272\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Join Linux to AD - Sistemski in\u017eenjer\" \/>\n<meta property=\"og:description\" content=\"Linux stroj: yum -y install adcli Windows stroj namjestiti mre\u017eu &#8211; IP adresa, DNS (192.168.20.253, sam na sebe), disable IPv6 Promijeniti ime stroja u hosts file dodati ip adresu linuxa i ip adresu windows stroja Linux stroj service iptables stop &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/darko-keric.from.hr\/?p=272\" \/>\n<meta property=\"og:site_name\" content=\"Sistemski in\u017eenjer\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-04T08:20:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-05T08:39:01+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"darko-keric\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/darko-keric.from.hr\/#website\",\"url\":\"https:\/\/darko-keric.from.hr\/\",\"name\":\"Sistemski in\\u017eenjer\",\"description\":\"System administrator\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/darko-keric.from.hr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/darko-keric.from.hr\/?p=272#webpage\",\"url\":\"http:\/\/darko-keric.from.hr\/?p=272\",\"name\":\"Join Linux to AD - Sistemski in\\u017eenjer\",\"isPartOf\":{\"@id\":\"https:\/\/darko-keric.from.hr\/#website\"},\"datePublished\":\"2016-07-04T08:20:50+00:00\",\"dateModified\":\"2016-07-05T08:39:01+00:00\",\"author\":{\"@id\":\"https:\/\/darko-keric.from.hr\/#\/schema\/person\/5e2f76737b07a700e0e2a108d173e612\"},\"breadcrumb\":{\"@id\":\"http:\/\/darko-keric.from.hr\/?p=272#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/darko-keric.from.hr\/?p=272\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/darko-keric.from.hr\/?p=272#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/darko-keric.from.hr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Join Linux to AD\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/darko-keric.from.hr\/#\/schema\/person\/5e2f76737b07a700e0e2a108d173e612\",\"name\":\"darko-keric\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/darko-keric.from.hr\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/0.gravatar.com\/avatar\/0400800f6ebec266fcb39a1cb31b0b0e?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/0.gravatar.com\/avatar\/0400800f6ebec266fcb39a1cb31b0b0e?s=96&d=mm&r=g\",\"caption\":\"darko-keric\"},\"url\":\"http:\/\/darko-keric.from.hr\/?author=348\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/darko-keric.from.hr\/?p=272","og_locale":"en_US","og_type":"article","og_title":"Join Linux to AD - Sistemski in\u017eenjer","og_description":"Linux stroj: yum -y install adcli Windows stroj namjestiti mre\u017eu &#8211; IP adresa, DNS (192.168.20.253, sam na sebe), disable IPv6 Promijeniti ime stroja u hosts file dodati ip adresu linuxa i ip adresu windows stroja Linux stroj service iptables stop &hellip; Continue reading &rarr;","og_url":"http:\/\/darko-keric.from.hr\/?p=272","og_site_name":"Sistemski in\u017eenjer","article_published_time":"2016-07-04T08:20:50+00:00","article_modified_time":"2016-07-05T08:39:01+00:00","twitter_card":"summary","twitter_misc":{"Written by":"darko-keric","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/darko-keric.from.hr\/#website","url":"https:\/\/darko-keric.from.hr\/","name":"Sistemski in\u017eenjer","description":"System administrator","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/darko-keric.from.hr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/darko-keric.from.hr\/?p=272#webpage","url":"http:\/\/darko-keric.from.hr\/?p=272","name":"Join Linux to AD - Sistemski in\u017eenjer","isPartOf":{"@id":"https:\/\/darko-keric.from.hr\/#website"},"datePublished":"2016-07-04T08:20:50+00:00","dateModified":"2016-07-05T08:39:01+00:00","author":{"@id":"https:\/\/darko-keric.from.hr\/#\/schema\/person\/5e2f76737b07a700e0e2a108d173e612"},"breadcrumb":{"@id":"http:\/\/darko-keric.from.hr\/?p=272#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/darko-keric.from.hr\/?p=272"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/darko-keric.from.hr\/?p=272#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/darko-keric.from.hr\/"},{"@type":"ListItem","position":2,"name":"Join Linux to AD"}]},{"@type":"Person","@id":"https:\/\/darko-keric.from.hr\/#\/schema\/person\/5e2f76737b07a700e0e2a108d173e612","name":"darko-keric","image":{"@type":"ImageObject","@id":"https:\/\/darko-keric.from.hr\/#personlogo","inLanguage":"en-US","url":"http:\/\/0.gravatar.com\/avatar\/0400800f6ebec266fcb39a1cb31b0b0e?s=96&d=mm&r=g","contentUrl":"http:\/\/0.gravatar.com\/avatar\/0400800f6ebec266fcb39a1cb31b0b0e?s=96&d=mm&r=g","caption":"darko-keric"},"url":"http:\/\/darko-keric.from.hr\/?author=348"}]}},"_links":{"self":[{"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=\/wp\/v2\/posts\/272"}],"collection":[{"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=\/wp\/v2\/users\/348"}],"replies":[{"embeddable":true,"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272"}],"version-history":[{"count":5,"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":288,"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions\/288"}],"wp:attachment":[{"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darko-keric.from.hr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}