FreeBSD 12.1-STABLE r357277 Samba4.10.3 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

root@freebsd:~ # uname -a
FreeBSD freebsd 12.1-STABLE FreeBSD 12.1-STABLE r357277 GENERIC amd64
root@freebsd:~ # samba -V
Version 4.10.13
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-1678940183-1404043644-1380363875-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.156
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Thu, 06 Feb 2020 11:42:21 JST
KDC server: 192.168.1.156
Server time offset: -3
Last machine account password change: Thu, 06 Feb 2020 11:40:48 JST
root@freebsd:~ # smbclient -L localhost -U%

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

Server Comment
——— ——-
DC
DC1
DC2
FREEBSD Samba 4.10.13

Workgroup Master
——— ——-
TEST FREEBSD
root@freebsd:~ # smbclient -L localhost -U%

FreeBSD 12.1-STABLE r357277 Samba4.10.3 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

FreeBSD 12.1-STABLE r357277 GENERIC PHP 7.4.2 Update

FreeBSD 12.1-STABLE r357277 GENERIC PHPが7.4.2にUpdateされました。

root@freebsd:~ # uname -a
FreeBSD freebsd 12.1-STABLE FreeBSD 12.1-STABLE r357277 GENERIC amd64
root@freebsd:~ # php -v
PHP 7.4.2 (cli) (built: Jan 30 2020 01:30:26) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
root@freebsd:~ # curl -V
curl 7.68.0 (amd64-portbld-freebsd12.0) libcurl/7.68.0 OpenSSL/1.1.1d zlib/1.2.11 nghttp2/1.40.0
Release-Date: 2020-01-08
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.13
root@freebsd:~ #

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

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

root@1904:~# cat /etc/os-release
NAME=”Ubuntu”
VERSION=”19.04 (Disco Dingo)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 19.04″
VERSION_ID=”19.04″
HOME_URL=”https://www.ubuntu.com/”
SUPPORT_URL=”https://help.ubuntu.com/”
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/”
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy”
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco
root@1904:~# kinit administrator
Password for administrator@TEST.JP:
root@1904:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘1904’ to dns domain ‘test.jp’
No DNS domain configured for 1904. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@1904:~# systemctl restart winbind
root@1904:~# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@1904:~# wbinfo -n chibi
S-1-5-21-1678940183-1404043644-1380363875-1103 SID_USER (1)
root@1904:~# net ads info
LDAP server: 192.168.1.156
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 木, 06 2月 2020 06:38:33 JST
KDC server: 192.168.1.156
Server time offset: -3
Last machine account password change: 木, 06 2月 2020 06:38:00 JST
root@1904:~# smbclient -L localhost -U%

Sharename Type Comment
——— —- ——-
netlogon Disk
sysvol Disk
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.10.0-Ubuntu)
Reconnecting with SMB1 for workgroup listing.

Server Comment
——— ——-
1904 Samba 4.10.0-Ubuntu

Workgroup Master
——— ——-
TEST 1904
root@1904:~# host -4 dc

Ubuntu19.04 Samba4.10.0 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加

 

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

Manjaro Linux Kernel5.5.2-1-MANJARO Update

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

[manjaro ~]# uname -r
5.5.2-1-MANJARO
[manjaro ~]# php -v
PHP 7.4.2 (cli) (built: Jan 21 2020 18:16:58) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
[manjaro ~]# curl -V
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.9.0 nghttp2/1.39.2
Release-Date: 2020-01-08
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.10.10
[manjaro ~]# 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/”
LOGO=manjarolinux
[manjaro ~]#

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

Red Hat Enterprise Linux release 8.1 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加

[root@rhel8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@rhel8 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘RHEL8’ to dns domain ‘test.jp’
No DNS domain configured for rhel8. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@rhel8 ~]# systemctl restart winbind
[root@rhel8 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@rhel8 ~]# wbinfo -n chibi
S-1-5-21-1678940183-1404043644-1380363875-1103 SID_USER (1)
[root@rhel8 ~]# net ads info
LDAP server: 192.168.1.156
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 水, 05 2月 2020 17:10:23 JST
KDC server: 192.168.1.156
Server time offset: -3
Last machine account password change: 水, 05 2月 2020 17:09:45 JST
[root@rhel8 ~]# smbclient -L localhost -U%
do_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
[root@rhel8 ~]# smbclient -L 192.168.1.39 -U%

Red Hat Enterprise Linux release 8.1 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加

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