Arch Linux Kernel5.2.0-arch2-1-ARCH Update

Arch Linux Kernelが5.2.0-arch2-1-ARCHに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.5
[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 ~]#

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

Fedora30 ソースからビルドしてSamba4.11.0rc1の構築と起動と動作確認

[root@f30 samba-4.11.0rc1]# /usr/local/samba/bin/samba-tool domain provision
Realm: TEST.JP
Domain [TEST]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write ‘none’ to disable forwarding) [192.168.1.7]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs
Fedora30 ソースからビルドして4.11.0rc1の構築と起動2
[root@f30 ~]# kinit administrator
Password for administrator@TEST.JP:
Warning: Your password will expire in 41 days on 2019年08月21日 03時56分48秒
[root@f30 ~]# /usr/local/samba/bin/samba-tool user add chibi
Note: samba-tool user add is deprecated. Please use samba-tool user create for the same function.
New Password:
Retype Password:
User ‘chibi’ created successfully
[root@f30 ~]# /usr/local/samba/bin/samba-tool user list
Administrator
chibi
krbtgt
Guest
[root@f30 ~]# /usr/local/samba/bin/samba-tool domain level show
Domain and forest function level for domain ‘DC=test,DC=jp’

Forest function level: (Windows) 2008 R2
Domain function level: (Windows) 2008 R2
Lowest function level of a DC: (Windows) 2008 R2
[root@f30 ~]# /usr/local/samba/bin/samba-tool fsmo show
Fedora30 ソースからビルドして4.11.0rc1の動作確認2

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

FreeBSD 11.3-RELEASE #0 r349754 Samba4.8.12 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


root@fbsd11:~ # kinit administrator
administrator@TEST.JP’s Password:
root@fbsd11:~ # klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: administrator@TEST.JP

Issued Expires Principal
Jul 10 08:41:04 2019 Jul 10 18:41:04 2019 krbtgt/TEST.JP@TEST.JP
root@fbsd11:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FBSD11’ to dns domain ‘test.jp’
No DNS domain configured for fbsd11. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@fbsd11:~ # service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
root@fbsd11:~ # wbinfo -u
TEST\administrator
TEST\guest
TEST\krbtgt
TEST\chibi
root@fbsd11:~ # wbinfo -n chibi
S-1-5-21-4283025733-908519724-3295402948-1103 SID_USER (1)
root@fbsd11:~ # wbinfo -n administrator
S-1-5-21-4283025733-908519724-3295402948-500 SID_USER (1)
root@fbsd11:~ # net ads info
LDAP server: 192.168.1.58
LDAP server name: dc.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Wed, 10 Jul 2019 08:44:32 JST
KDC server: 192.168.1.58
Server time offset: -7
Last machine account password change: Wed, 10 Jul 2019 08:42:48 JST
root@fbsd11:~ # 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@fbsd11:~ # 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@fbsd11:~ # 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@fbsd11:~ # 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@fbsd11:~ # 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@fbsd11:~ # 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@fbsd11:~ # uname -a
FreeBSD fbsd11 11.3-RELEASE FreeBSD 11.3-RELEASE #0 r349754: Fri Jul 5 04:45:24 UTC 2019 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@fbsd11:~ # samba -V
Version 4.8.12
root@fbsd11:~ # smbclient //192.168.1.10/netlogon -Uadministrator
FreeBSD 11.3-RELEASE #0 r349754 Samba4.8.12 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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

Fedora31 Kernel5.2.0-1.fc31.x86_64 Update

Fedora31 Kernelが5.2.0-1.fc31.x86_64にUpdateされました。

[root@f31 ~]# uname -r
5.2.0-1.fc31.x86_64
[root@f31 ~]# php -v
PHP 7.3.7 (cli) (built: Jul 3 2019 11:30:22) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
[root@f31 ~]# curl -V
curl 7.65.1 (x86_64-redhat-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) libssh/0.9.0/openssl/zlib nghttp2/1.39.1
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 brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
[root@f31 ~]# samba -V
Version 4.10.5
[root@f31 ~]# cat /etc/redhat-release
Fedora release 31 (Rawhide)
[root@f31 ~]#

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

FreeBSD 11.3-RELEASE #0 r349754 Samba4.10.5 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた


root@fbsd:~ # kinit administrator
administrator@TEST.JP’s Password:
root@fbsd:~ # net ads join -U administrator
Enter administrator’s password:
Using short domain name — TEST
Joined ‘FBSD’ to dns domain ‘test.jp’
No DNS domain configured for fbsd. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
root@fbsd:~ # service samba_server start
Performing sanity check on Samba configuration: OK
nmbd already running? (pid=601).
smbd already running? (pid=605).
winbindd already running? (pid=609).
root@fbsd:~ # wbinfo -u
TEST\guest
TEST\administrator
TEST\krbtgt
TEST\chibi
root@fbsd:~ # wbinfo -n chibi
S-1-5-21-4283025733-908519724-3295402948-1103 SID_USER (1)
root@fbsd:~ # wbinfo -n administrator
S-1-5-21-4283025733-908519724-3295402948-500 SID_USER (1)
root@fbsd:~ # net ads info
LDAP server: 192.168.1.61
LDAP server name: dc2.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: Wed, 10 Jul 2019 05:17:40 JST
KDC server: 192.168.1.61
Server time offset: -7
Last machine account password change: Wed, 10 Jul 2019 05:14:18 JST
root@fbsd:~ # host -4 dc
dc.test.jp has address 192.168.1.58
dc.test.jp has IPv6 address 2400:4052:46e0:b700:cc6c:3df7:45e4:e985
root@fbsd:~ # 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@fbsd:~ # 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@fbsd:~ # 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@fbsd:~ # 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@fbsd:~ # 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@fbsd:~ # host -t A test.jp
test.jp has address 192.168.1.10
test.jp has address 192.168.1.60
test.jp has address 192.168.1.61
root@fbsd:~ # uname -a
FreeBSD fbsd 11.3-RELEASE FreeBSD 11.3-RELEASE #0 r349754: Fri Jul 5 04:45:24 UTC 2019 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@fbsd:~ # samba -V
Version 4.10.5
root@fbsd:~ # smbclient //192.168.1.10/netlogon -Uadministrator
FreeBSD 11.3-RELEASE #0 r349754 Samba4.10.5 Windows Server 2019 Datacenter Active Directory Domainのメンバーに参加してみた

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