Manjaro Linux Kernel5.4.16-1-MANJARO Update

Manjaro Linux Kernel5.4.16-1-MANJARO Update

[manjaro ~]# uname -r
5.4.16-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 | コメントする

CentOS Linux release 8.1 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domainのメンバー に参加してみた

[root@centos8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@centos8 ~]# smbclient //192.168.1.10/netlogon -Uadministrator
Enter TEST\administrator’s password:
Try “help” to get a list of possible commands.
smb: \> ls
. D 0 Fri Aug 9 18:32:51 2019
.. D 0 Fri Aug 9 18:32:51 2019

62356991 blocks of size 4096. 42865878 blocks available
smb: \> exit
[root@centos8 ~]# smbclient //192.168.1.10/sysvol -Uadministrator
Enter TEST\administrator’s password:
Try “help” to get a list of possible commands.
smb: \> ls
. D 0 Fri Aug 9 18:32:51 2019
.. D 0 Fri Aug 9 18:32:51 2019
test.jp D 0 Fri Aug 9 18:32:51 2019

62356991 blocks of size 4096. 42865878 blocks available
smb: \> exit
[root@centos8 ~]# host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.7
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4f:d564:2171:d644
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b965:55ce:a6fa:cbe
[root@centos8 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘CENTOS8’ to dns domain ‘test.jp’
No DNS domain configured for centos8. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@centos8 ~]# systemctl enable winbind
[root@centos8 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@centos8 ~]# host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.7
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b965:55ce:a6fa:cbe
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4f:d564:2171:d644
[root@centos8 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.11
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:85f5:d25e:c529:278a
[root@centos8 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.12
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:309e:ebe1:748c:e149
[root@centos8 ~]# 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 dc1.test.jp.
_ldap._tcp.test.jp has SRV record 0 100 389 dc.test.jp.
[root@centos8 ~]# host -t SRV _kerberos._udp.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.
_kerberos._udp.test.jp has SRV record 0 100 88 dc1.test.jp.
[root@centos8 ~]# host -t A test.jp
test.jp has address 192.168.1.7
test.jp has address 192.168.1.12
test.jp has address 192.168.1.11
test.jp has address 192.168.1.10
[root@centos8 ~]# smbclient -L 192.168.1.10 -U%

CentOS Linux release 8.1 Samba4.10.4 Windows Server 2019 Datacenter Active Directory Domainのメンバー に参加してみた

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

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

root@freebsd:~ # kinit administrator
administrator@TEST.JP’s Password:
root@freebsd:~ # host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.7
dc.test.jp has IPv6 address 2400:4052:46e0:b700:4f:d564:2171:d644
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b965:55ce:a6fa:cbe
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
nmbd already running? (pid=1000).
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-3288142828-1890802880-3761831349-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.10
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Fri, 31 Jan 2020 04:52:36 JST
KDC server: 192.168.1.10
Server time offset: -6
Last machine account password change: Fri, 31 Jan 2020 04:52:16 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
FREEBSD Samba 4.10.13

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

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

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

Fedora release 31 Samba4.11.4 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\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@f31 ~]# wbinfo -n chibi
S-1-5-21-3288142828-1890802880-3761831349-1103 SID_USER (1)
[root@f31 ~]# net ads info
LDAP server: 192.168.1.10
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 金, 31 1月 2020 03:19:12 JST
KDC server: 192.168.1.10
Server time offset: -5
Last machine account password change: 金, 31 1月 2020 03:18:41 JST
[root@f31 ~]# smbclient -L localhost -U%
do_connect: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
[root@f31 ~]# smbclient -L 192.168.1.10 -U%

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

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

FreeBSD 13.0-CURRENT Samba4.10.13 Update

FreeBSD 13.0-CURRENT Sambaが4.10.13にUpdateされました。

root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r357002: Thu Jan 23 04:35:00 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # php -v
PHP 7.4.2 (cli) (built: Jan 25 2020 01:34:48) ( 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-freebsd13.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 | コメントする