Kali GNU/Linux Rolling PHP 7.4.5 Update

Kali GNU/Linux Rolling PHP が7.4.5にUpdateされました。

chibi@kali:~$ sudo uname -r
[sudo] chibi のパスワード:
5.6.0-kali2-amd64
chibi@kali:~$ sudo php -v
PHP 7.4.5 (cli) (built: Jun 3 2020 20:55:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.5, Copyright (c), by Zend Technologies
chibi@kali:~$ sudo curl -V
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1g zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.8.0 nghttp2/1.41.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
chibi@kali:~$ sudo samba -V
Version 4.11.5-Debian
chibi@kali:~$ cat /etc/os-release
PRETTY_NAME=”Kali GNU/Linux Rolling”
NAME=”Kali GNU/Linux”
ID=kali
VERSION=”2020.2″
VERSION_ID=”2020.2″
VERSION_CODENAME=”kali-rolling”
ID_LIKE=debian
ANSI_COLOR=”1;31″
HOME_URL=”https://www.kali.org/”
SUPPORT_URL=”https://forums.kali.org/”
BUG_REPORT_URL=”https://bugs.kali.org/”
chibi@kali:~$

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

Ubuntu20.10 Samba4.12.2 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた


root@2010:~# kinit administrator
Password for administrator@TEST.JP:
root@2010:~# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘2010’ to dns domain ‘test.jp’
No DNS domain configured for 2010. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@2010:~# systemctl restart winbind
root@2010:~# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@2010:~# wbinfo -n chibi
S-1-5-21-2092985958-4254752361-2950905742-1103 SID_USER (1)
root@2010:~# host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.35
dc.test.jp has IPv6 address 2400:4052:46e0:b700:2d43:e3e4:e912:230
dc.test.jp has IPv6 address 2400:4052:46e0:b700:29c4:a204:545c:3e2c
root@2010:~# host -4 dc1
dc1.test.jp has address 192.168.1.38
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:1f2:fcba:cdb2:933d
root@2010:~# host -4 dc2
dc2.test.jp has address 192.168.1.37
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:606d:e2e1:e8d5:267f
root@2010:~# 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@2010:~# 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 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
root@2010:~# host -t A test.jp
test.jp has address 192.168.1.19
test.jp has address 192.168.1.35
test.jp has address 192.168.1.37
test.jp has address 192.168.1.38
root@2010:~# smbclient -L 192.168.1.19/netlogon -Uadministrator
Enter TEST\administrator’s password:

Sharename Type Comment
——— —- ——-
ADMIN$ Disk Remote Admin
C$ Disk Default share
IPC$ IPC Remote IPC
NETLOGON Disk Logon server share
SYSVOL Disk Logon server share
SMB1 disabled — no workgroup available
root@2010:~# smbclient -L 192.168.1.19 -U%
Ubuntu20.10 Samba4.12.2 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

FreeBSD 13.0-CURRENT #0 r362596 Samba4.11.8 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-2092985958-4254752361-2950905742-1103 SID_USER (1)
root@freebsd:~ # net ads info
LDAP server: 192.168.1.38
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Mon, 06 Jul 2020 03:53:05 JST
KDC server: 192.168.1.38
Server time offset: 0
Last machine account password change: Mon, 06 Jul 2020 03:51:17 JST
root@freebsd:~ # uname -a
FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r362596: Thu Jun 25 05:02:51 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # samba -V
Version 4.11.8
root@freebsd:~ # host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.35
dc.test.jp has IPv6 address 2400:4052:46e0:b700:29c4:a204:545c:3e2c
dc.test.jp has IPv6 address 2400:4052:46e0:b700:2d43:e3e4:e912:230
root@freebsd:~ # host -4 dc1
dc1.test.jp has address 192.168.1.38
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:1f2:fcba:cdb2:933d
root@freebsd:~ # host -4 dc2
dc2.test.jp has address 192.168.1.37
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:606d:e2e1:e8d5:267f
root@freebsd:~ # host t SRV _ldap._tcp.test.jp
host: couldn’t get address for ‘SRV’: Name does not resolve
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 dc2.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 dc.test.jp.
root@freebsd:~ # host -t A test.jp
test.jp has address 192.168.1.37
test.jp has address 192.168.1.35
test.jp has address 192.168.1.38
test.jp has address 192.168.1.19
root@freebsd:~ # smbclient -L 192.168.1.19 -U%

Sharename Type Comment
——— —- ——-
SMB1 disabled — no workgroup available
root@freebsd:~ # smbclient //192.168.1.19/netlogon -Uadministrator
FreeBSD 13.0-CURRENT #0 r362596 Samba4.11.8 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Samba 4.13.0rc2 Available for Download

Samba 4.13.0rc2 が公開されました。ReleaseNoteはこちらです。

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

Fedora release 32 Samba4.12.5 Windows Server 2016 Datacenter Active Directory Domain のメンバーに参加してみた


[root@f32 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f32 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F32’ to dns domain ‘test.jp’
No DNS domain configured for f32. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f32 ~]# systemctl restart winbind
[root@f32 ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@f32 ~]# wbinfo -n chibi
S-1-5-21-2092985958-4254752361-2950905742-1103 SID_USER (1)
[root@f32 ~]# net ads info
LDAP server: 192.168.1.38
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 日, 05 7月 2020 20:42:49 JST
KDC server: 192.168.1.38
Server time offset: -1
Last machine account password change: 日, 05 7月 2020 20:41:32 JST
[root@f32 ~]# host -4 dc
dc.test.jp has address 192.168.1.19
dc.test.jp has address 192.168.1.35
dc.test.jp has IPv6 address 2400:4052:46e0:b700:29c4:a204:545c:3e2c
dc.test.jp has IPv6 address 2400:4052:46e0:b700:2d43:e3e4:e912:230
[root@f32 ~]# host -4 dc
dc.test.jp has address 192.168.1.35
dc.test.jp has address 192.168.1.19
dc.test.jp has IPv6 address 2400:4052:46e0:b700:29c4:a204:545c:3e2c
dc.test.jp has IPv6 address 2400:4052:46e0:b700:2d43:e3e4:e912:230
[root@f32 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.38
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:1f2:fcba:cdb2:933d
[root@f32 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.37
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:606d:e2e1:e8d5:267f
[root@f32 ~]# host -t SRV _ldap._udp.test.jp
Host _ldap._udp.test.jp not found: 3(NXDOMAIN)
[root@f32 ~]# 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@f32 ~]# 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 dc1.test.jp.
_kerberos._udp.test.jp has SRV record 0 100 88 dc.test.jp.
[root@f32 ~]# host -t A test.jp
test.jp has address 192.168.1.35
test.jp has address 192.168.1.19
test.jp has address 192.168.1.37
test.jp has address 192.168.1.38
[root@f32 ~]# smbclient //192.168.1.19/netlogon -Uadministrator
Fedora release 32 Samba4.12.5 Windows Server 2016 Datacenter Active Directory Domain のメンバーに参加してみた

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