CentOS7.6 ソースからビルドしたSamba4.9.11の構築と起動及び動作確認

[root@centos7 ~]# /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.8]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
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
CentOS7.6 ソースからビルドしたSamba4.9.11の構築と起動
[root@centos7 ~]# kinit administrator
Password for administrator@TEST.JP:
Warning: Your password will expire in 41 days on 2019年08月15日 07時54分21秒
[root@centos7 ~]# net ads info
LDAP server: 192.168.1.8
LDAP server name: centos7.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 木, 04 7月 2019 07:56:59 JST
KDC server: 192.168.1.8
Server time offset: 0
Last machine account password change: 木, 04 7月 2019 05:55:12 JST
[root@centos7 ~]# host -4 centos7.test.jp
centos7.test.jp has address 192.168.1.8
centos7.test.jp has IPv6 address 2400:4052:46e0:b700:a114:b4b3:f7d8:3725
[root@centos7 ~]# /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@centos7 ~]# wbinfo -u
could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE
could not obtain winbind domain name!
Error looking up domain users
[root@centos7 ~]# /usr/local/samba/bin/samba-tool user list
chibi
Administrator
krbtgt
Guest
[root@centos7 ~]# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 centos7.test.jp.
[root@centos7 ~]# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 centos7.test.jp.
[root@centos7 ~]# host -t A centos7.test.jp.
centos7.test.jp has address 192.168.1.8
[root@centos7 ~]# /usr/local/samba/bin/smbclient -L localhost -U%
CentOS7.6 ソースからビルドしたSamba4.9.11の動作確認

カテゴリー: centos7, samba4 パーマリンク

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です