{"id":12178,"date":"2020-01-05T03:52:53","date_gmt":"2020-01-04T18:52:53","guid":{"rendered":"https:\/\/wp.study3.biz\/?p=12178"},"modified":"2022-08-10T10:04:59","modified_gmt":"2022-08-10T01:04:59","slug":"centos7-6-%e3%82%bd%e3%83%bc%e3%82%b9%e3%81%8b%e3%82%89%e3%83%93%e3%83%ab%e3%83%89%e3%81%97%e3%81%9fsamba4-10-5%e3%81%ae%e6%a7%8b%e7%af%89%e3%81%a8%e5%8b%95%e4%bd%9c%e7%a2%ba%e8%aa%8d","status":"publish","type":"post","link":"https:\/\/wp.study3.biz\/?p=12178","title":{"rendered":"CentOS7.6 \u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u305fSamba4.10.5\u306e\u69cb\u7bc9\u3068\u52d5\u4f5c\u78ba\u8a8d"},"content":{"rendered":"<p><a href=\"https:\/\/www.rem-system.com\/samba-410-ad\/\">\u3053\u3053<\/a>\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n[root@centos7 ~]# cat \/etc\/redhat-release<br \/>\nCentOS Linux release 7.6.1810 (Core)<br \/>\n[root@centos7 ~]#<br \/>\n[root@centos7 ~]# cat \/etc\/redhat-release<br \/>\nCentOS Linux release 7.6.1810 (Core)<br \/>\n[root@centos7 ~]# \/usr\/local\/samba\/bin\/samba-tool domain provision<br \/>\nRealm:  TEST.JP<br \/>\nDomain [TEST]:<br \/>\nServer Role (dc, member, standalone) [dc]:<br \/>\nDNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:<br \/>\nDNS forwarder IP address (write &#8216;none&#8217; to disable forwarding) [192.168.1.8]:<br \/>\nAdministrator password:<br \/>\nRetype password:<br \/>\n Looking up IPv4 addresses<br \/>\n More than one IPv4 address found. Using 192.168.1.8<br \/>\n Looking up IPv6 addresses<br \/>\n Setting up share.ldb<br \/>\n Setting up secrets.ldb<br \/>\n Setting up the registry<br \/>\n Setting up the privileges database<br \/>\n Setting up idmap db<br \/>\n Setting up SAM db<br \/>\n Setting up sam.ldb partitions and settings<br \/>\n Setting up sam.ldb rootDSE<br \/>\n Pre-loading the Samba 4 and AD schema<br \/>\nUnable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs<br \/>\n<a href=\"http:\/\/wp.study3.biz\/wp-content\/uploads\/2019\/07\/dfaf03b1e94e9c55accdfb09a6b6ebe6.txt\">CentOS7.6 \u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u305fSamba4.10.5\u306e\u69cb\u7bc9\u3068\u8d77\u52d5 2<\/a><br \/>\n[root@centos7 ~]# cat \/etc\/redhat-release<br \/>\nCentOS Linux release 7.6.1810 (Core)<br \/>\n[root@centos7 ~]# kinit administrator<br \/>\nPassword for administrator@TEST.JP:<br \/>\nWarning: Your password will expire in 41 days on 2019\u5e7408\u670814\u65e5 11\u664212\u520629\u79d2<br \/>\n[root@centos7 ~]# \/usr\/local\/samba\/bin\/samba-tool user add chibi<br \/>\nNote: samba-tool user add is deprecated.  Please use samba-tool user create for the same function.<br \/>\nNew Password:<br \/>\nRetype Password:<br \/>\nUser &#8216;chibi&#8217; created successfully<br \/>\n[root@centos7 ~]# \/usr\/local\/samba\/bin\/samba-tool user list<br \/>\nGuest<br \/>\nkrbtgt<br \/>\nchibi<br \/>\nAdministrator<br \/>\n[root@centos7 ~]# \/usr\/local\/samba\/bin\/samba-tool domain level show<br \/>\nDomain and forest function level for domain &#8216;DC=test,DC=jp&#8217;<\/p>\n<p>Forest function level: (Windows) 2008 R2<br \/>\nDomain function level: (Windows) 2008 R2<br \/>\nLowest function level of a DC: (Windows) 2008 R2<br \/>\n[root@centos7 ~]# \/usr\/local\/samba\/bin\/samba-tool fsmo show<br \/>\n<a href=\"http:\/\/wp.study3.biz\/wp-content\/uploads\/2019\/07\/b5efb3cf85580a54765fcca1f2a6e91c.txt\">CentOS7.6 \u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u305fSamba4.10.5\u306e\u52d5\u4f5c\u78ba\u8a8d<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3053\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002 [root@centos7 ~]# cat \/etc\/redhat-release CentOS Linux release 7.6.1810 (Core) [root@centos7 ~]# [ &hellip; <a href=\"https:\/\/wp.study3.biz\/?p=12178\">\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":[19,9],"tags":[],"class_list":["post-12178","post","type-post","status-publish","format-standard","hentry","category-centos7","category-samba4"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/12178","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=12178"}],"version-history":[{"count":2,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/12178\/revisions"}],"predecessor-version":[{"id":12182,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=\/wp\/v2\/posts\/12178\/revisions\/12182"}],"wp:attachment":[{"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.study3.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}