FreeBSD 11.4-RELEASE #0 r362094 Samba4.10.15 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
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@freebsd:~ # wbinfo -n chibi
S-1-5-21-1554123357-2737978188-3786944711-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.8
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Tue, 04 Aug 2020 03:17:42 JST
KDC server: 192.168.1.8
Server time offset: -102
Last machine account password change: Tue, 04 Aug 2020 03:17:35 JST
root@freebsd:~ # net ads info
LDAP server: 192.168.1.8
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Tue, 04 Aug 2020 03:20:46 JST
KDC server: 192.168.1.8
Server time offset: 14
Last machine account password change: Tue, 04 Aug 2020 03:17:35 JST
root@freebsd:~ # uname -a
FreeBSD freebsd 11.4-RELEASE FreeBSD 11.4-RELEASE #0 r362094: Fri Jun 12 18:27:15 UTC 2020 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@freebsd:~ # samba -V
Version 4.10.15
root@freebsd:~ # host -4 dc
dc.test.jp has address 192.168.1.8
dc.test.jp has address 192.168.1.13
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b118:a793:93fa:c606
dc.test.jp has IPv6 address 2400:4052:46e0:b700:d479:2a83:efca:e147
root@freebsd:~ # host -4 dc1
dc1.test.jp has address 192.168.1.14
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d:b986:2f3:e1a1
root@freebsd:~ # host -4 dc2
dc2.test.jp has address 192.168.1.15
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:b560:2801:e321:1a41
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.13
test.jp has address 192.168.1.14
test.jp has address 192.168.1.8
test.jp has address 192.168.1.15
root@freebsd:~ # smbclient -L localhost -U%

Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
IPC$ IPC IPC Service (Samba 4.10.15)
Reconnecting with SMB1 for workgroup listing.

Server Comment
——— ——-
DC
FREEBSD Samba 4.10.15

Workgroup Master
——— ——-
TEST DC
root@freebsd:~ # smbclient //192.168.1.8/netlogon -Uadministrator
FreeBSD 11.4-RELEASE #0 r362094 Samba4.10.15 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

FreeBSD 11.4-RELEASE #0 r362094を新規Install してみた

FreeBSD 11.4-RELEASE #0 r362094を新規Install してみました。

root@freebsd:~ # uname -a
FreeBSD freebsd 11.4-RELEASE FreeBSD 11.4-RELEASE #0 r362094: Fri Jun 12 18:27:15 UTC 2020 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@freebsd:~ # php -v
PHP 7.4.8 (cli) (built: Jul 14 2020 01:14:46) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
root@freebsd:~ # curl -V
curl 7.71.0 (amd64-portbld-freebsd11.3) libcurl/7.71.0 OpenSSL/1.0.2u zlib/1.2.11 nghttp2/1.41.0
Release-Date: 2020-06-24
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.10.15
root@freebsd:~ #

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

AMD Ryzen Threadripper 3990X 64-Core Processor FreeBSD 13.0-CURRENT #0 r363681 RTX2080Ti MATE を起動11ac nvidi-smi amdtempを設定してみた


hw.model: AMD Ryzen Threadripper 3990X 64-Core Processor
root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r363681: Thu Jul 30 05:38:25 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # php -v
PHP 7.4.8 (cli) (built: Jul 28 2020 01:48:34) ( 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-freebsd13.0) 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
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 0x2
inet6 2400:4052:46e0:b700:222:cfff:fee2:4690 prefixlen 64 autoconf
inet 192.168.1.3 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 -uapsd wme roaming MANUAL
media: IEEE 802.11 Wireless Ethernet MCS mode 11na
status: associated
nd6 options=23
root@freebsd:~ # nvidia-smi
AMD Ryzen Threadripper 3990X 64-Core Processor FreeBSD 13.0-CURRENT #0 r363681 RTX2080Ti MATE 11ac nvidi-smi amdtemp

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

FreeBSD 13.0-CURRENT #0 r363681 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
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@freebsd:~ # wbinfo -n chibi
S-1-5-21-1554123357-2737978188-3786944711-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.14
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Mon, 03 Aug 2020 17:05:31 JST
KDC server: 192.168.1.14
Server time offset: -102
Last machine account password change: Mon, 03 Aug 2020 17:05:39 JST
root@freebsd:~ # smbclient -L localhost -U%

Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
IPC$ IPC IPC Service (Samba 4.11.11)
SMB1 disabled — no workgroup available
root@freebsd:~ # smbclient //192.168.1.8/netlogon -Uadministrator
FreeBSD 13.0-CURRENT #0 r363681 Samba4.11.11 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Manjaro Linux Kernel5.7.12-1-MANJARO Update

Manjaro Linux Kernelが5.7.12-1-MANJAROにUpdateされました。

[manjaro ~]# uname -r
5.7.12-1-MANJARO
[manjaro ~]# 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
[manjaro ~]# 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
[manjaro ~]# samba -V
Version 4.12.3
[manjaro ~]# cat /etc/os-release
NAME=”Manjaro Linux”
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME=”Manjaro Linux”
ANSI_COLOR=”32;2;24;144;200″
HOME_URL=”https://manjaro.org/”
DOCUMENTATION_URL=”https://wiki.manjaro.org/”
SUPPORT_URL=”https://manjaro.org/”
BUG_REPORT_URL=”https://bugs.manjaro.org/”
LOGO=manjarolinux
[manjaro ~]#

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