Fedora29 Samba4.9.8 Active Directory Domainの構築と動作確認

[root@f29 ~]# samba-tool domain provision
Realm: TEST.JP
Domain [TEST]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write ‘none’ to disable forwarding) [192.168.1.7]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs
Fedora28 Samba4.9.8 Active Directory Domainの構築
[root@f29 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f29 ~]# samba-tool user add chibi
Note: samba-tool user add is deprecated. Please use samba-tool user create for the same function.
New Password:
Retype Password:
User ‘chibi’ created successfully
[root@f29 ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@f29 ~]# wbinfo -n chibi
S-1-5-21-1241336019-1914047146-3476861537-1103 SID_USER (1)
[root@f29 ~]# net ads info
LDAP server: 192.168.1.7
LDAP server name: f29.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 月, 03 6月 2019 17:48:20 JST
KDC server: 192.168.1.7
Server time offset: 0
Last machine account password change: 月, 03 6月 2019 17:43:44 JST
[root@f29 ~]# host -4 f29
f29.test.jp has address 192.168.1.7
f29.test.jp has IPv6 address 2400:4052:46e0:b700:98e0:fa65:8f0:f13
[root@f29 ~]# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 f29.test.jp.
[root@f29 ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 f29.test.jp.
[root@f29 ~]# host -t A f29.test.jp.
f29.test.jp has address 192.168.1.7
[root@f29 ~]# smbclient -L localhost -U%
Fedora28 Samba4.9.8 Active Directory Domainの動作確認

カテゴリー: fedora, samba4 パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です