OpenSUSE Tumbleweed Samba4.12.2 Update

OpenSUSE Tumbleweed Sambaが4.12.2にUpdateされました。

opensuse:~ # uname -r
5.6.8-1-default
opensuse:~ # php -v
PHP 7.4.5 (cli) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
opensuse:~ # curl -V
curl 7.69.1 (x86_64-suse-linux-gnu) libcurl/7.69.1 OpenSSL/1.1.1g-fips zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0
Release-Date: 2020-03-11
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 GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
opensuse:~ # samba -V
Version 4.12.2-git.149.16ff41ef1f4SUSE-oS15.5-x86_64
opensuse:~ # cat /etc/os-release
NAME=”openSUSE Tumbleweed”
# VERSION=”20200506″
ID=”opensuse-tumbleweed”
ID_LIKE=”opensuse suse”
VERSION_ID=”20200506″
PRETTY_NAME=”openSUSE Tumbleweed”
ANSI_COLOR=”0;32″
CPE_NAME=”cpe:/o:opensuse:tumbleweed:20200506″
BUG_REPORT_URL=”https://bugs.opensuse.org”
HOME_URL=”https://www.opensuse.org/”
LOGO=”distributor-logo”
opensuse:~ #

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

FreeBSD 12.1-STABLE r360472 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\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@freebsd:~ # wbinfo -n aministrator
failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup name aministrator
root@freebsd:~ # wbinfo -n administrator
S-1-5-21-3153889836-307192526-2969236381-500 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.54
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Thu, 07 May 2020 02:37:24 JST
KDC server: 192.168.1.54
Server time offset: 1
Last machine account password change: Thu, 07 May 2020 02:34:16 JST
root@freebsd:~ # host -4 dc
dc.test.jp has address 192.168.1.53
dc.test.jp has address 192.168.1.51
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4c26:f2b1:4718:16d
dc.test.jp has IPv6 address 2400:4052:46e0:b700:e53c:ed66:5a3c:b8cc
root@freebsd:~ # host -4 dc1
dc1.test.jp has address 192.168.1.55
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:999c:ad75:5ee:8fce
root@freebsd:~ # host -4 dc2
dc2.test.jp has address 192.168.1.54
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:a519:f5f9:1261:1480
root@freebsd:~ # 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 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
root@freebsd:~ # 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@freebsd:~ # host -t A test.jp
test.jp has address 192.168.1.54
test.jp has address 192.168.1.51
test.jp has address 192.168.1.53
test.jp has address 192.168.1.55
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
——— ——-
DC1
FREEBSD Samba 4.10.15

Workgroup Master
——— ——-
TEST FREEBSD
root@freebsd:~ # smbclient -L localhost -U%
FreeBSD 12.1-STABLE r360472 Samba4.10.15 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

PHP 7.4.7 が公開

PHP 7.4.7が公開されました。関連記事はこちらこちらです。PHP 7.4.7のChangeLogはこちらです。

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

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


root@debian:~# kinit administrator
Password for administrator@TEST.JP:
root@debian:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘DEBIAN’ to dns domain ‘test.jp’
No DNS domain configured for debian. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@debian:~# systemctl restart winbind
root@debian:~# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@debian:~# wbinfo -n chibi
S-1-5-21-3153889836-307192526-2969236381-1103 SID_USER (1)
root@debian:~# net ads info
LDAP server: 192.168.1.53
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 06 5月 2020 22:15:07 JST
KDC server: 192.168.1.53
Server time offset: 0
Last machine account password change: 水, 06 5月 2020 22:14:35 JST
root@debian:~# host -4 dc
dc.test.jp has address 192.168.1.51
dc.test.jp has address 192.168.1.53
dc.test.jp has IPv6 address 2400:4052:46e0:b700:e53c:ed66:5a3c:b8cc
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4c26:f2b1:4718:16d
root@debian:~# host -4 dc1
dc1.test.jp has address 192.168.1.55
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:999c:ad75:5ee:8fce
root@debian:~# host -4 dc2
dc2.test.jp has address 192.168.1.54
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:a519:f5f9:1261:1480
root@debian:~# 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 dc2.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
root@debian:~# 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@debian:~# host -t A test.jp
test.jp has address 13.113.45.174
root@debian:~# host -t A dc.test.jp
dc.test.jp has address 192.168.1.53
dc.test.jp has address 192.168.1.51
root@debian:~# host -t A dc1.test.jp
dc1.test.jp has address 192.168.1.55
root@debian:~# host -t A dc2.test.jp
dc2.test.jp has address 192.168.1.54
root@debian:~# smbclient -L localhost -%
Enter administrator@TEST.JP’s password:
Anonymous login successful

Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.9.5-Debian)
Reconnecting with SMB1 for workgroup listing.
Anonymous login successful

Server Comment
——— ——-
DC
DC1
DC2
DEBIAN Samba 4.9.5-Debian

Workgroup Master
——— ——-
TEST DEBIAN
root@debian:~# cat /etc/os-release
Debian10.3 Samba4.9.5 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Oracle Linux Server release 8.1→8.2 Update

Oracle Linux Server release 8.1→8.2 Updateされました。

[root@oracle8 ~]# uname -r
4.18.0-193.el8.x86_64
[root@oracle8 ~]# php -v
PHP 7.4.5 (cli) (built: Apr 14 2020 12:54:33) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
[root@oracle8 ~]# curl -V
curl 7.61.1 (x86_64-redhat-linux-gnu) libcurl/7.61.1 OpenSSL/1.1.1c zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.33.0
Release-Date: 2018-09-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 IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz brotli TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL Metalink
[root@oracle8 ~]# smbd -V
Version 4.11.2
[root@oracle8 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@oracle8 ~]# cat /etc/oracle-release
Oracle Linux Server release 8.2
[root@oracle8 ~]#

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