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


root@fbsd13:~ # kinit administrator
administrator@TEST.JP’s Password:
root@fbsd13:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FBSD13’ to dns domain ‘test.jp’
No DNS domain configured for fbsd13. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@fbsd13:~ # service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
root@fbsd13:~ # wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@fbsd13:~ # wbinfo -n administrator
S-1-5-21-4283025733-908519724-3295402948-500 SID_USER (1)
root@fbsd13:~ # wbinfo -n chibi
S-1-5-21-4283025733-908519724-3295402948-1103 SID_USER (1)
root@fbsd13:~ # smbclient -L localhost -U%

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

Server Comment
——— ——-
FBSD13 Samba 4.10.5

Workgroup Master
——— ——-
TEST
root@fbsd13:~ # 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: Sat, 13 Jul 2019 08:45:23 JST
KDC server: 192.168.1.10
Server time offset: -8
Last machine account password change: Sat, 13 Jul 2019 17:42:47 JST
root@fbsd13:~ # host -4 dc
dc.test.jp has address 192.168.1.10
dc.test.jp has address 192.168.1.58
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b03b:d3b7:8519:54be
dc.test.jp has IPv6 address 2400:4052:46e0:b700:cc6c:3df7:45e4:e985
root@fbsd13:~ # host -4 dc1
dc1.test.jp has address 192.168.1.60
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d2:83b4:4031:14cf
root@fbsd13:~ # host -4 dc2
dc2.test.jp has address 192.168.1.61
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:f0b7:1338:1a03:19fd
root@fbsd13:~ # 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@fbsd13:~ # 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@fbsd13:~ # host -t A test.jp
test.jp has address 192.168.1.10
test.jp has address 192.168.1.58
test.jp has address 192.168.1.60
test.jp has address 192.168.1.61
root@fbsd13:~ # uname -a
FreeBSD fbsd13 13.0-CURRENT FreeBSD 13.0-CURRENT r349909 GENERIC amd64
root@fbsd13:~ # samba -V
Version 4.10.5
root@fbsd13:~ # smbclient -L localhost -U%
FreeBSD 13.0-CURRENT r349909 Samba4.10.5 Windows Server 2019 Datacenter Active Directory Domain のメンバーに参加してみた

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

Arch Linux Samba4.10.6 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


[root@arch ~]# kinit administrator
Password for administrator@TEST.JP:
[root@arch ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘ARCH’ to dns domain ‘test.jp’
No DNS domain configured for arch. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@arch ~]# systemctl enable winbind
[root@arch ~]# systemctl tart winbind
Unknown operation tart.
[root@arch ~]# systemctl start winbind
[root@arch ~]# wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
[root@arch ~]# wbinfo -n administrator
S-1-5-21-4283025733-908519724-3295402948-500 SID_USER (1)
[root@arch ~]# net ads info
LDAP server: 192.168.1.60
LDAP server name: dc1.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 土, 13 7月 2019 05:45:33 JST
KDC server: 192.168.1.60
Server time offset: 14
Last machine account password change: 土, 13 7月 2019 05:44:23 JST
[root@arch ~]# host -4 dc
dc.test.jp has address 192.168.1.58
dc.test.jp has address 192.168.1.10
dc.test.jp has IPv6 address 2400:4052:46e0:b700:cc6c:3df7:45e4:e985
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b03b:d3b7:8519:54be
[root@arch ~]# host -4 dc1
dc1.test.jp has address 192.168.1.60
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d2:83b4:4031:14cf
[root@arch ~]# host -4 dc2
dc2.test.jp has address 192.168.1.61
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:f0b7:1338:1a03:19fd
[root@arch ~]# 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@arch ~]# 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@arch ~]# host -t A test.jp
test.jp has address 192.168.1.58
test.jp has address 192.168.1.61
test.jp has address 192.168.1.10
test.jp has address 192.168.1.60
[root@arch ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”0;36″
HOME_URL=”https://www.archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux
[root@arch ~]# samba -V
Version 4.10.6
[root@arch ~]# smbclient //192.168.1.10/netlogon -Uadministrator
Arch Linux Samba4.10.6 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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

Arch Linux Samba4.10.6 Update

Arch Linux Sambaが4.10.6にUpdateされました。

[root@arch ~]# uname -r
5.2.0-arch2-1-ARCH
[root@arch ~]# php -v
PHP 7.3.7 (cli) (built: Jul 3 2019 13:55:48) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
[root@arch ~]# curl -V
curl 7.65.1 (x86_64-pc-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.8.2 nghttp2/1.36.0
Release-Date: 2019-06-05
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
[root@arch ~]# samba -V
Version 4.10.6
[root@arch ~]# cat /etc/os-release
NAME=”Arch Linux”
PRETTY_NAME=”Arch Linux”
ID=arch
BUILD_ID=rolling
ANSI_COLOR=”0;36″
HOME_URL=”https://www.archlinux.org/”
DOCUMENTATION_URL=”https://wiki.archlinux.org/”
SUPPORT_URL=”https://bbs.archlinux.org/”
BUG_REPORT_URL=”https://bugs.archlinux.org/”
LOGO=archlinux
[root@arch ~]#Arch

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

Fedora30 Samba4.11.0rc1 Samba4.10.5 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


[root@f30 ~]# kinit administrator
Password for administrator@TEST.JP:
[root@f30 ~]# net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘F30’ to dns domain ‘test.jp’
No DNS domain configured for f30. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
[root@f30 ~]# systemctl restart winbind
[root@f30 ~]# wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
[root@f30 ~]# wbinfo -n administrator
S-1-5-21-4283025733-908519724-3295402948-500 SID_USER (1)
[root@f30 ~]# 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: 金, 12 7月 2019 12:54:19 JST
KDC server: 192.168.1.10
Server time offset: -8
Last machine account password change: 金, 12 7月 2019 12:53:48 JST
[root@f30 ~]# host -4 dc
dc.test.jp has address 192.168.1.58
dc.test.jp has address 192.168.1.10
dc.test.jp has IPv6 address 2400:4052:46e0:b700:b03b:d3b7:8519:54be
dc.test.jp has IPv6 address 2400:4052:46e0:b700:cc6c:3df7:45e4:e985
[root@f30 ~]# host -4 dc1
dc1.test.jp has address 192.168.1.60
dc1.test.jp has IPv6 address 2400:4052:46e0:b700:9d2:83b4:4031:14cf
[root@f30 ~]# host -4 dc2
dc2.test.jp has address 192.168.1.61
dc2.test.jp has IPv6 address 2400:4052:46e0:b700:f0b7:1338:1a03:19fd
[root@f30 ~]# 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@f30 ~]# 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@f30 ~]# host -t A test.jp
test.jp has address 192.168.1.60
test.jp has address 192.168.1.10
test.jp has address 192.168.1.61
test.jp has address 192.168.1.58
[root@f30 ~]# cat /etc/redhat-release
Fedora release 30 (Thirty)
[root@f30 ~]# /usr/local/samba/sbin/samba -V
Version 4.11.0rc1
[root@f30 ~]# samba -V
Version 4.10.5
[root@f30 ~]# smbclient //192.168.1.10/netlogon -Uadministrator
Fedora30 Samba4.11.0rc1 Samba4.10.5 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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

OpenSUSE Kernel5.1.16-1-default Update

OpenSUSE Kernelが5.1.16-1-defaultにUpdateされました。

opensuse:~ # uname -r
5.1.16-1-default
opensuse:~ # php -v
PHP 7.3.6 (cli) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies
opensuse:~ # curl -V
curl 7.65.1 (x86_64-suse-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.8.7/openssl/zlib nghttp2/1.38.0
Release-Date: 2019-06-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 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.10.5-git.105.2bd98587873SUSE-oS15.5-x86_64
opensuse:~ # cat /etc/os-release
NAME=”openSUSE Tumbleweed”
#VERSION=”20190708″
ID=”opensuse-tumbleweed”
ID_LIKE=”opensuse suse”
VERSION_ID=”20190708″
PRETTY_NAME=”openSUSE Tumbleweed”
ANSI_COLOR=”0;32″
CPE_NAME=”cpe:/o:opensuse:tumbleweed:20190708″
BUG_REPORT_URL=”https://bugs.opensuse.org”
HOME_URL=”https://www.opensuse.org/”
LOGO=”distributor-logo”
opensuse:~ #

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