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


opensuse:~ # kinit administrator
kinit: Credential cache directory /run/user/0/krb5cc does not exist while getting default ccache
opensuse:~ # mkdir /run/user/0/
opensuse:~ # kinit administrator
Password for administrator@TEST.JP:
opensuse:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘OPENSUSE’ to dns domain ‘test.jp’
No DNS domain configured for opensuse. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
opensuse:~ # systemctl restart winbind
opensuse:~ # wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
opensuse:~ # wbinfo -n chibi
S-1-5-21-549501848-3507064458-2843809997-1103 SID_USER (1)
opensuse:~ # net ads info
LDAP server: 192.168.1.22
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Sat, 25 Jul 2020 16:07:55 JST
KDC server: 192.168.1.22
Server time offset: -2
Last machine account password change: Sat, 25 Jul 2020 16:04:43 JST
opensuse:~ # smbclient -L localhost -U%
do_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
opensuse:~ # smbclient -L 192.168.1.22 -U%

Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
opensuse:~ # smbclient //192.168.1.22/netlogon -Uadministrator
OpenSUSE Tumbleweed Samba4.12.5 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

AMD EPYC 7502P 32-Core Processor FreeBSD 12.1-STABLE r363433 MATE を起動11ac 無線LAN nvidia-450.57で nvidia-smi 、amdtempを設定してみた


root@freebsd:~ # sysctl hw.model
hw.model: AMD EPYC 7502P 32-Core Processor
root@freebsd:~ # uname -a
FreeBSD freebsd 12.1-STABLE FreeBSD 12.1-STABLE r363433 GENERIC amd64
root@freebsd:~ # php -v
PHP 7.4.8 (cli) (built: Jul 11 2020 01:35:27) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
root@freebsd:~ # curl -V
curl 7.71.1 (amd64-portbld-freebsd12.1) libcurl/7.71.1 OpenSSL/1.1.1g zlib/1.2.11 nghttp2/1.41.0
Release-Date: 2020-07-01
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets
root@freebsd:~ # samba -V
Version 4.11.11
root@freebsd:~ # ifconfig wlan0
ifconfig: interface welan0 does not exist
root@freebsd:~ # ifconfig
wlan0: flags=8843 metric 0 mtu 1500
options=200001
ether 00:22:cf:e2:46:90
inet6 fe80::222:cfff:fee2:4690%wlan0 prefixlen 64 scopeid 0x4
inet6 2400:4052:46e0:b700:222:cfff:fee2:4690 prefixlen 64 autoconf
inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255
groups: wlan
ssid Planex_5-E5DE07 channel 36 (5180 MHz 11a ht/20) bssid 00:22:cf:e5:de:0a
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 17 bmiss 7 mcastrate 6
mgmtrate 6 scanvalid 60 ht20 ampdulimit 64k ampdudensity 16 shortgi
-stbc wme roaming MANUAL
media: IEEE 802.11 Wireless Ethernet MCS mode 11na
status: associated
nd6 options=23
root@freebsd:~ # sysctl dev.cpu | grep temperature
dev.cpu.63.temperature: 37.5C
dev.cpu.62.temperature: 37.5C
dev.cpu.61.temperature: 37.5C
dev.cpu.60.temperature: 37.5C
dev.cpu.59.temperature: 37.5C
dev.cpu.58.temperature: 37.5C
dev.cpu.57.temperature: 37.5C
dev.cpu.56.temperature: 37.5C
dev.cpu.55.temperature: 37.5C
dev.cpu.54.temperature: 37.5C
dev.cpu.53.temperature: 37.5C
dev.cpu.52.temperature: 37.5C
dev.cpu.51.temperature: 37.5C
dev.cpu.50.temperature: 37.5C
dev.cpu.49.temperature: 37.5C
dev.cpu.48.temperature: 37.5C
dev.cpu.47.temperature: 37.5C
dev.cpu.46.temperature: 37.5C
dev.cpu.45.temperature: 37.5C
dev.cpu.44.temperature: 37.5C
dev.cpu.43.temperature: 37.5C
dev.cpu.42.temperature: 37.5C
dev.cpu.41.temperature: 37.5C
dev.cpu.40.temperature: 37.5C
dev.cpu.39.temperature: 37.5C
dev.cpu.38.temperature: 37.5C
dev.cpu.37.temperature: 37.5C
dev.cpu.36.temperature: 37.5C
dev.cpu.35.temperature: 37.5C
dev.cpu.34.temperature: 37.5C
dev.cpu.33.temperature: 37.5C
dev.cpu.32.temperature: 37.5C
dev.cpu.31.temperature: 37.5C
dev.cpu.30.temperature: 37.5C
dev.cpu.29.temperature: 37.5C
dev.cpu.28.temperature: 37.5C
dev.cpu.27.temperature: 37.5C
dev.cpu.26.temperature: 37.5C
dev.cpu.25.temperature: 37.5C
dev.cpu.24.temperature: 37.5C
dev.cpu.23.temperature: 37.5C
dev.cpu.22.temperature: 37.5C
dev.cpu.21.temperature: 37.5C
dev.cpu.20.temperature: 37.5C
dev.cpu.19.temperature: 37.5C
dev.cpu.18.temperature: 37.5C
dev.cpu.17.temperature: 37.5C
dev.cpu.16.temperature: 37.5C
dev.cpu.15.temperature: 37.5C
dev.cpu.14.temperature: 37.5C
dev.cpu.13.temperature: 37.5C
dev.cpu.12.temperature: 37.5C
dev.cpu.11.temperature: 37.5C
dev.cpu.10.temperature: 37.5C
dev.cpu.9.temperature: 37.5C
dev.cpu.8.temperature: 37.5C
dev.cpu.7.temperature: 37.5C
dev.cpu.6.temperature: 37.5C
dev.cpu.5.temperature: 37.5C
dev.cpu.4.temperature: 37.5C
dev.cpu.3.temperature: 37.5C
dev.cpu.2.temperature: 37.5C
dev.cpu.1.temperature: 37.5C
dev.cpu.0.temperature: 37.5C
root@freebsd:~ #
AMD EPYC 7502P 32-Core Processor FreeBSD 12.1-STABLE r363433 MATE 11ac 無線LAN nvidia-450.57 nvidia-smi amdtemp

カテゴリー: 11ac無線LAN, freebsd, nvidia | コメントする

Arch Linux Kernel5.7.10-arch1-1 Update

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

[root@arch ~]# uname -r
5.7.10-arch1-1
[root@arch ~]# php -v
PHP 7.4.8 (cli) (built: Jul 10 2020 09:59:22) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
[root@arch ~]# curl -V
curl 7.71.1 (x86_64-pc-linux-gnu) libcurl/7.71.1 OpenSSL/1.1.1g zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-07-01
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.12.3
[root@arch ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”38;2;23;147;209″
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 | コメントする

FreeBSD 13.0-CURRENT #0 r363439 Samba4.11.11 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


root@freebsd:~ # kinit administrator
administrator@TEST.JP’s Password:
root@freebsd:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FREEBSD’ to dns domain ‘test.jp’
No DNS domain configured for freebsd. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@freebsd:~ # service samba_server start

Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
root@freebsd:~ # wbinfo -u
guest
administrator
krbtgt
chibi
root@freebsd:~ # wbinfo -n chibi
S-1-5-21-549501848-3507064458-2843809997-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.17
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Fri, 24 Jul 2020 12:08:16 JST
KDC server: 192.168.1.17
Server time offset: -6
Last machine account password change: Fri, 24 Jul 2020 12:05:35 JST
root@freebsd:~ # host -4 dc
dc.test.jp has address 192.168.1.50
dc.test.jp has address 192.168.1.22
dc.test.jp has IPv6 address 2400:4052:46e0:b700:9c9c:a51f:dc93:fcf7
dc.test.jp has IPv6 address 2400:4052:46e0:b700:11da:1b94:a11e:dfcc
root@freebsd:~ # host -4 dc1
dc1.test.jp has address 192.168.1.17
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:31b7:cee1:e187:f05e
root@freebsd:~ # host -4 dc2
dc2.test.jp has address 192.168.1.18
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:f86a:6beb:dbb1:f54d
root@freebsd:~ # 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@freebsd:~ # 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@freebsd:~ # host -t A test.jp
test.jp has address 192.168.1.17
test.jp has address 192.168.1.50
test.jp has address 192.168.1.22
test.jp has address 192.168.1.18
root@freebsd:~ # smbclient -L 192.168.1.22 -U%

Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r363439: Thu Jul 23 04:59:20 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # samba -V
Version 4.11.11
root@freebsd:~ #
FreeBSD 13.0-CURRENT #0 r363439 Samba4.11.11 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Fedora release 31 Samba4.11.11 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


[root@f31 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f31 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F31’ to dns domain ‘test.jp’
No DNS domain configured for f31. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f31 ~]# systemctl restart winbind
[root@f31 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f31 ~]# wbinfo -n chibi
S-1-5-21-549501848-3507064458-2843809997-1103 SID_USER (1)
[root@f31 ~]# smbclient -L 192.168.1.22 -U%

Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
[root@f31 ~]# smbclient //192.168.1.22/netlogon -Uadministrator
Fedora release 31 Samba4.11.11 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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