Fedora31 Kernel5.2.0-0.rc6 Update

Fedora31 Kernelが5.2.0-0.rc6にUpdateされました。

[root@f31 ~]# uname -r
5.2.0-0.rc6.git0.1.fc31.x86_64
[root@f31 ~]# php -v
PHP 7.3.7RC3 (cli) (built: Jun 20 2019 14:11:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7RC3, Copyright (c) 1998-2018 Zend Technologies
[root@f31 ~]# curl -V
curl 7.65.1 (x86_64-redhat-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) libssh/0.8.91/openssl/zlib nghttp2/1.39.1
Release-Date: 2019-06-05
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
[root@f31 ~]# samba -V
Version 4.10.5
[root@f31 ~]# cat /etc/redhat-release
Fedora release 31 (Rawhide)
[root@f31 ~]#

カテゴリー: fedora | コメントする

Arch Linux Samba4.10.5 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


[root@arch ~]# kinit administrator
Password for administrator@TEST.JP:
[root@arch ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘ARCH’ to dns domain ‘test.jp’
No DNS domain configured for arch. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@arch ~]# systemctl restart winbind
[root@arch ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@arch ~]# wbinfo -n chibi
S-1-5-21-4283025733-908519724-3295402948-1103 SID_USER (1)
[root@arch ~]# net ads info
LDAP server: 192.168.1.60
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 火, 25 6月 2019 15:43:55 JST
KDC server: 192.168.1.60
Server time offset: 25
Last machine account password change: 火, 25 6月 2019 15:43:01 JST
[root@arch ~]# host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.58
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b03b:d3b7:8519:54be
dc.test.jp has IPv6 address 2400:4052:46e0:b700:cc6c:3df7:45e4:e985
[root@arch ~]# host -4 dc1
dc1.test.jp has address 192.168.1.60
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d2:83b4:4031:14cf
[root@arch ~]# host -4 dc2
dc2.test.jp has address 192.168.1.61
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:f0b7:1338:1a03:19fd
[root@arch ~]# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.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 dc2.test.jp.
[root@arch ~]# 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@arch ~]# host -t A test.jp
test.jp has address 192.168.1.10
test.jp has address 192.168.1.60
test.jp has address 192.168.1.58
test.jp has address 192.168.1.61
[root@arch ~]# smbclient //192.168.1.10/netlogon -Uadministrator
Arch Linux Samba4.10..5 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

カテゴリー: archlinux, samba4, windows | コメントする

Fedora30 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


[root@f30 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f30 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F30’ to dns domain ‘test.jp’
No DNS domain configured for f30. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f30 ~]# systemctl restart winbind
[root@f30 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f30 ~]# wbinfo -n chibi
S-1-5-21-4283025733-908519724-3295402948-1103 SID_USER (1)
[root@f30 ~]# net ads info
LDAP server: 192.168.1.61
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 火, 25 6月 2019 16:02:57 JST
KDC server: 192.168.1.61
Server time offset: 0
Last machine account password change: 火, 25 6月 2019 16:02:29 JST
[root@f30 ~]# host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.58
dc.test.jp has IPv6 address 2400:4052:46e0:b700:cc6c:3df7:45e4:e985
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b03b:d3b7:8519:54be
[root@f30 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.60
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d2:83b4:4031:14cf
[root@f30 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.61
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:f0b7:1338:1a03:19fd
[root@f30 ~]# host -t SRV _ldap._tcp.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 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc1.test.jp.
[root@f30 ~]# host -t SRV _kerberos_udp.test.jp
Host _kerberos_udp.test.jp not found: 3(NXDOMAIN)
[root@f30 ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.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.
[root@f30 ~]# host -t A test.jp
test.jp has address 192.168.1.10
test.jp has address 192.168.1.60
test.jp has address 192.168.1.58
test.jp has address 192.168.1.61
[root@f30 ~]# cat /etc/redhat-release
Fedora release 30 (Thirty)
[root@f30 ~]# samba -V
Version 4.10.4
[root@f30 ~]# smbclient //192.168.1.10/netlogon -Uadministrator
Fedora30 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

カテゴリー: fedora, samba4, windows | コメントする

Fedora31 Samba4.10.5 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた


[root@f31 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f31 ~]# net ads join -U administrator
Enter administrator’s password:
secrets_domain_info_kerberos_keys: generation of a des-cbc-md5 key failed: Bad encryption type
secrets_store_JoinCtx: secrets_domain_info_password_create(pw) failed for TEST – NT_STATUS_UNSUCCESSFUL
libnet_join_joindomain_store_secrets: secrets_store_JoinCtx() failed NT_STATUS_UNSUCCESSFUL
Failed to join domain: This machine is not currently joined to a domain.
[root@f31 ~]# net ads info
LDAP server: 192.168.1.41
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 火, 25 6月 2019 06:19:09 JST
KDC server: 192.168.1.41
Server time offset: -7
Last machine account password change: 木, 01 1月 1970 09:00:00 JST
[root@f31 ~]# host -4 dc
dc.test.jp has address 192.168.1.41
dc.test.jp has address 192.168.1.43
dc.test.jp has IPv6 address 2400:4052:46e0:b700:9c17:70c2:f128:4f74
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d0cb:a843:f2ba:fd28
[root@f31 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.52
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:a555:f9b5:10f3:2a15
[root@f31 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.32
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d908:2730:71f3:20c
[root@f31 ~]# 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@f31 ~]# host -t SRV _kerberos._udp.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.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
[root@f31 ~]# host -t A test.jp
test.jp has address 192.168.1.32
test.jp has address 192.168.1.52
test.jp has address 192.168.1.41
test.jp has address 192.168.1.43
[root@f31 ~]# smbclient //192.168.1.41/netlogon -Uadministrator
Fedora31 Samba4.10.5 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた

カテゴリー: fedora, samba4, windows | コメントする

Manjaro Linux Samba4.10.5 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた


[man ~]# kinit administrator
Password for administrator@TEST.JP:
[man ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘MAN’ to dns domain ‘test.jp’
No DNS domain configured for man. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[man ~]# systemctl restart winbind
[man ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\defaultaccount
TEST\krbtgt
TEST\chibi
[man ~]# wbinfo -n chibi
S-1-5-21-3866720368-3273965808-1478398572-1103 SID_USER (1)
[man ~]# net ads info
LDAP server: 192.168.1.43
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 火, 25 6月 2019 04:52:16 JST
KDC server: 192.168.1.43
Server time offset: -11
Last machine account password change: 火, 25 6月 2019 04:51:47 JST
[man ~]# host -4 dc
dc.test.jp has address 192.168.1.41
dc.test.jp has address 192.168.1.43
dc.test.jp has IPv6 address 2400:4052:46e0:b700:9c17:70c2:f128:4f74
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d0cb:a843:f2ba:fd28
[man ~]# host -4 dc1
dc1.test.jp has address 192.168.1.52
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:a555:f9b5:10f3:2a15
[man ~]# host -4 dc2
dc2.test.jp has address 192.168.1.32
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:d908:2730:71f3:20c
[man ~]# 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.
[man ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 dc2.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.
[man ~]# host -t A test.jp
test.jp has address 192.168.1.32
test.jp has address 192.168.1.52
test.jp has address 192.168.1.41
test.jp has address 192.168.1.43
[man ~]# cat /etc/os-release
NAME=”Manjaro Linux”
ID=manjaro
ID_LIKE=arch
PRETTY_NAME=”Manjaro Linux”
ANSI_COLOR=”1;32″
HOME_URL=”https://www.manjaro.org/”
SUPPORT_URL=”https://www.manjaro.org/”
BUG_REPORT_URL=”https://bugs.manjaro.org/”
[man ~]# samba -V
Version 4.10.5
[man ~]# smbclient //192.168.1.41/netlogon -Uadministrator
Manjaro Linux Samba4.10.5 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた

カテゴリー: manjaro, samba4, windows | コメントする