{"id":13122,"date":"2016-05-04T03:32:12","date_gmt":"2016-05-03T18:32:12","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=13122"},"modified":"2022-08-26T14:17:55","modified_gmt":"2022-08-26T05:17:55","slug":"debian8-4-samba4-4-2-%e3%81%a7activedirectory%e3%83%89%e3%83%a1%e3%82%a4%e3%83%b3%e3%83%b3%e6%a7%8b%e7%af%89%e3%80%80","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=13122","title":{"rendered":"Debian8.4 Samba4.4.2 \u3067ActiveDirectory\u30c9\u30e1\u30a4\u30f3\u30f3\u69cb\u7bc9\u3000"},"content":{"rendered":"<p>\u6700\u521d\u306bwaf\u306einstall<br \/>\n#apt-get install build-essential libacl1-dev libattr1-dev libblkid-dev libreadline-dev python-dev python-dnspython gdb pkg-config libpopt-dev libldap2-dev dnsutils libbsd-dev attr krb5-user docbook-xsl gnutls-dev<br \/>\n\u305d\u3057\u3066 samba-4.4.2.tar.gz\u3092\u89e3\u51cd\u3057\u3066<br \/>\n$.\/configure<br \/>\n$make<br \/>\n#make install<br \/>\n#\/usr\/local\/samba\/bin\/samba-tool domain provision<br \/>\nRealm: TEST.JP<br \/>\n Domain [TEST]:<br \/>\n Server Role (dc, member, standalone) [dc]:<br \/>\n DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:<br \/>\n DNS forwarder IP address (write &#8216;none&#8217; to disable forwarding) [192.168.1.24]:<br \/>\nAdministrator password:<br \/>\nRetype password:<br \/>\nLooking up IPv4 addresses<br \/>\nLooking up IPv6 addresses<br \/>\nMore than one IPv6 address found. Using 2400:7800:47e0:1700:20c:29ff:febe:decd<br \/>\nSetting up share.ldb<br \/>\nSetting up secrets.ldb<br \/>\nSetting up the registry<br \/>\nSetting up the privileges database<br \/>\nSetting up idmap db<br \/>\nSetting up SAM db<br \/>\nSetting up sam.ldb partitions and settings<br \/>\nSetting up sam.ldb rootDSE<br \/>\nPre-loading the Samba 4 and AD schema<br \/>\nAdding DomainDN: DC=test,DC=jp<br \/>\nAdding configuration container<br \/>\nSetting up sam.ldb schema<br \/>\nSetting up sam.ldb configuration data<br \/>\nSetting up display specifiers<br \/>\nModifying display specifiers<br \/>\nAdding users container<br \/>\nModifying users container<br \/>\nAdding computers container<br \/>\nModifying computers container<br \/>\nSetting up sam.ldb data<br \/>\nSetting up well known security principals<br \/>\nSetting up sam.ldb users and groups<br \/>\nSetting up self join<br \/>\nAdding DNS accounts<br \/>\nCreating CN=MicrosoftDNS,CN=System,DC=test,DC=jp<br \/>\nCreating DomainDnsZones and ForestDnsZones partitions<br \/>\nPopulating DomainDnsZones and ForestDnsZones partitions<br \/>\nSetting up sam.ldb rootDSE marking as synchronized<br \/>\nFixing provision GUIDs<br \/>\nA Kerberos configuration suitable for Samba 4 has been generated at \/usr\/local\/samba\/private\/krb5.conf<br \/>\nOnce the above files are installed, your Samba4 server will be ready to use<br \/>\nServer Role:           active directory domain controller<br \/>\nHostname:              debian<br \/>\nNetBIOS Domain:        TEST<br \/>\nDNS Domain:            test.jp<br \/>\nDOMAIN SID:            S-1-5-21-2546902484-874818940-1315468139<br \/>\n#cp \/usr\/local\/samba\/private\/krb5.conf \/etc\/krb5.conf<br \/>\n\u8a73\u7d30\u30c7\u30fc\u30bf<br \/>\n<a href=\"https:\/\/wp.study3.biz\/wp-content\/uploads\/2016\/05\/samba.txt\">samba<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u521d\u306bwaf\u306einstall #apt-get install build-essential libacl1-dev libattr1-dev libblkid-dev libreadline-dev python-d &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=13122\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13,9],"tags":[],"class_list":["post-13122","post","type-post","status-publish","format-standard","hentry","category-debian","category-samba4"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13122"}],"version-history":[{"count":4,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13122\/revisions"}],"predecessor-version":[{"id":13129,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/13122\/revisions\/13129"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}