Feren OS Classic Samba4.7.6 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

root@feren:~# cat /etc/os-release
NAME=”Feren OS Classic”
VERSION=”2020.01″
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Feren OS Classic”
VERSION_ID=”18.04″
HOME_URL=”https://ferenos.weebly.com/”
SUPPORT_URL=”https://ferenos.weebly.com/feren-os-on-social-media.html”
BUG_REPORT_URL=”https://github.com/feren-OS/Bug-Reporting-Center/issues/new”
PRIVACY_POLICY_URL=”https://ferenos.weebly.com/privacy-policy.html”
VERSION_CODENAME=bionic
FEREN_CODENAME=zinc
root@feren:~# samba -V
Version 4.7.6-Ubuntu
root@feren:~# kinit administrator
Password for administrator@TEST.JP:
root@feren:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FEREN’ to dns domain ‘test.jp’
kerberos_kinit_password FEREN$@TEST.JP failed: Client not found in Kerberos database
DNS update failed: kinit failed: Client not found in Kerberos database
root@feren:~# systemctl restart winbind
root@feren:~# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@feren:~# wbinfo -n chibi
S-1-5-21-1678940183-1404043644-1380363875-1103 SID_USER (1)
root@feren:~# net ads info
LDAP server: 192.168.1.157
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 日, 16 2月 2020 06:17:38 JST
KDC server: 192.168.1.157
Server time offset: -6
Last machine account password change: 日, 16 2月 2020 06:16:59 JST
root@feren:~# host -4 dc
dc.test.jp has address 192.168.1.39
dc.test.jp has address 192.168.1.45
dc.test.jp has IPv6 address 2400:4052:46e0:b700:1911:c150:a1a4:ec24
dc.test.jp has IPv6 address 2400:4052:46e0:b700:f0b6:ef83:7301:d109
root@feren:~# host -4 dc1
dc1.test.jp has address 192.168.1.156
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:ad7c:4cdc:822b:97d1
root@feren:~# host -4 dc2
dc2.test.jp has address 192.168.1.157
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:98c3:a37e:341c:8589
root@feren:~# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
root@feren:~# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.test.jp.
root@feren:~# host -t A test.jp
test.jp has address 192.168.1.39
test.jp has address 192.168.1.45
test.jp has address 192.168.1.156
test.jp has address 192.168.1.157
root@feren:~# root@feren:~# smbclient -L localhost -U%

Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.7.6-Ubuntu)
Reconnecting with SMB1 for workgroup listing.

Server Comment
——— ——-

Workgroup Master
——— ——-
TEST FEREN
root@feren:~# smbclient //192.168.1.39/netlogon -Uadministrator

Feren OS Classic Samba4.7.6 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

コメントを残す

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