Fedora30 Samba4.10.4 Windows Server 2016 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 ~]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@TEST.JP

Valid starting Expires Service principal
2019-06-22T11:17:01 2019-06-22T21:17:01 krbtgt/TEST.JP@TEST.JP
renew until 2019-06-23T11:16:57
[root@f30 ~]# systemctl restart winbind
[root@f30 ~]# wbinfo -u
TEST\guest
TEST\defaultaccount
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f30 ~]# wbinfo -n chibi
S-1-5-21-3866720368-3273965808-1478398572-1103 SID_USER (1)
[root@f30 ~]# net ads info
LDAP server: 192.168.1.52
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 土, 22 6月 2019 11:18:59 JST
KDC server: 192.168.1.52
Server time offset: -6
Last machine account password change: 土, 22 6月 2019 11:17:47 JST
[root@f30 ~]# host -4 dc
dc.test.jp has address 192.168.1.43
dc.test.jp has address 192.168.1.41
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@f30 ~]# 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@f30 ~]# 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@f30 ~]# 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@f30 ~]# 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@f30 ~]# host -t A test.jp
test.jp has address 192.168.1.32
test.jp has address 192.168.1.41
test.jp has address 192.168.1.52
test.jp has address 192.168.1.43
[root@f30 ~]# cat /etc/redhat-release
Fedora release 30 (Thirty)
[root@f30 ~]# samba -V
Version 4.10.4
[root@f30 ~]# smbclient //192.168.1.41/netlogon -Uadministrator
Fedora30 Samba4.10.4 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた

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

Arch Linux Samba4.10.5 Windows Server 2016 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 enable winbind
[root@arch ~]# systemctl start winbind
[root@arch ~]# wbinfo -u
[root@arch ~]# systemctl restart winbind
[root@arch ~]# wbinfo -u
TEST\guest
TEST\defaultaccount
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@arch ~]# wbinfo -n chibi
S-1-5-21-3866720368-3273965808-1478398572-1103 SID_USER (1)
[root@arch ~]# net ads info
LDAP server: 192.168.1.52
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 土, 22 6月 2019 07:28:23 JST
KDC server: 192.168.1.52
Server time offset: 18
Last machine account password change: 土, 22 6月 2019 07:26:58 JST
[root@arch ~]# host -4 dc
dc.test.jp has address 192.168.1.43
dc.test.jp has address 192.168.1.41
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d0cb:a843:f2ba:fd28
dc.test.jp has IPv6 address 2400:4052:46e0:b700:9c17:70c2:f128:4f74
[root@arch ~]# 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@arch ~]# 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@arch ~]# 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@arch ~]# 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@arch ~]# host -t A test.jp
test.jp has address 192.168.1.43
test.jp has address 192.168.1.52
test.jp has address 192.168.1.41
test.jp has address 192.168.1.32
[root@arch ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”0;36″
HOME_URL=”https://www.archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux
[root@arch ~]# samba -V
Version 4.10.5
[root@arch ~]# smbclient //192.168.1.41/netlogon -Uadministrator
Arch Linux Samba4.10..5 Windows Server 2016 Datacenter Active Directory Domainのメンバーに参加してみた

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

Fedora31 PHP 7.3.7RC3 Samba4.10.5 Update

Fedora31 PHP 7.3.7RC3とSamba4.10.5がUpdateされました。

[root@f31 ~]# uname -r
5.2.0-0.rc5.git2.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 Update

Arch Linux Sambaが4.10.5にUpdateされました。

[root@arch ~]# uname -r
5.1.12-arch1-1-ARCH
[root@arch ~]# php -v
PHP 7.3.6 (cli) (built: May 28 2019 16:47:07) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies
[root@arch ~]# curl -V
curl 7.65.1 (x86_64-pc-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.8.2 nghttp2/1.36.0
Release-Date: 2019-06-05
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
[root@arch ~]# samba -V
Version 4.10.5
[root@arch ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”0;36″
HOME_URL=”https://www.archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux
[root@arch ~]#

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

Arch Linux Kernel5.1.12-arch1-1-ARCH Update

Arch Linux Kernelが5.1.12-arch1-1-ARCHにUpdateされました。

[root@archlinux ~]# uname -r
5.1.12-arch1-1-ARCH
[root@archlinux ~]# php -v
PHP 7.3.6 (cli) (built: May 28 2019 16:47:07) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies
[root@archlinux ~]# curl -V
curl 7.65.1 (x86_64-pc-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.8.2 nghttp2/1.36.0
Release-Date: 2019-06-05
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
[root@archlinux ~]# samba -V
Version 4.10.4
[root@archlinux ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”0;36″
HOME_URL=”https://www.archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux
[root@archlinux ~]#

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