[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の動作確認
-
最近の投稿
- 春のたそがれ
- Windows 11 Pro Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz 32GB TITAN RTXで構成したWSL2 Ubuntu22.04.5 LTSへCUDA12.6.3をInstall してcat /etc/os-release nvidia-smi nvcc -V lscpuを設定してみた
- Windows 11 Pro Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz 32GB TITAN RTXで構成したWSL2 Ubuntu24.04.1 LTSへCUDA12.6.3をInstall して cat /os-release nvidia-smi nvcc -V lscpuを設定してみた
- 春のたそがれ
- Kernel 6.15-rc2 が公開
最近のコメント
アーカイブ
- 2025年4月 (28)
- 2025年3月 (67)
- 2025年2月 (68)
- 2025年1月 (66)
- 2024年12月 (71)
- 2024年11月 (66)
- 2024年10月 (73)
- 2024年9月 (79)
- 2024年8月 (93)
- 2024年7月 (86)
- 2024年6月 (58)
- 2024年5月 (83)
- 2024年4月 (89)
- 2024年3月 (90)
- 2024年2月 (86)
- 2024年1月 (89)
- 2023年12月 (77)
- 2023年11月 (74)
- 2023年10月 (82)
- 2023年9月 (70)
- 2023年8月 (73)
- 2023年7月 (59)
- 2023年6月 (63)
- 2023年5月 (57)
- 2023年4月 (51)
- 2023年3月 (65)
- 2023年2月 (58)
- 2023年1月 (63)
- 2022年12月 (74)
- 2022年11月 (78)
- 2022年10月 (69)
- 2022年9月 (70)
- 2022年8月 (64)
- 2022年7月 (38)
- 2022年6月 (62)
- 2022年5月 (58)
- 2022年4月 (54)
- 2022年3月 (65)
- 2022年2月 (54)
- 2022年1月 (65)
- 2021年12月 (87)
- 2021年11月 (90)
- 2021年10月 (93)
- 2021年9月 (90)
- 2021年8月 (89)
- 2021年7月 (88)
- 2021年6月 (85)
- 2021年5月 (81)
- 2021年4月 (68)
- 2021年3月 (69)
- 2021年2月 (59)
- 2021年1月 (62)
- 2020年12月 (63)
- 2020年11月 (61)
- 2020年10月 (66)
- 2020年9月 (63)
- 2020年8月 (72)
- 2020年7月 (92)
- 2020年6月 (89)
- 2020年5月 (92)
- 2020年4月 (91)
- 2020年3月 (94)
- 2020年2月 (85)
- 2020年1月 (77)
- 2019年12月 (91)
- 2019年11月 (3)
- 2019年9月 (2)
- 2019年4月 (1)
- 2019年2月 (1)
- 2018年11月 (1)
- 2018年10月 (1)
- 2018年9月 (1)
- 2018年8月 (1)
- 2018年7月 (1)
- 2018年6月 (1)
- 2018年5月 (2)
- 2018年4月 (3)
- 2018年3月 (1)
- 2018年2月 (1)
- 2018年1月 (1)
- 2017年12月 (1)
- 2017年8月 (1)
- 2017年4月 (1)
- 2017年3月 (1)
- 2017年2月 (1)
- 2017年1月 (1)
- 2016年12月 (1)
- 2016年10月 (2)
- 2016年8月 (3)
- 2016年7月 (7)
- 2016年6月 (3)
- 2016年5月 (5)
- 2016年4月 (3)
- 2016年3月 (2)
- 2016年2月 (3)
- 2016年1月 (4)
- 2015年12月 (3)
- 2015年11月 (4)
- 2015年10月 (10)
- 2015年9月 (7)
- 2015年8月 (8)
- 2015年7月 (23)
- 2015年6月 (2)
カテゴリー
- 11ac無線LAN (87)
- 2 Sockets (256)
- alma10 (1)
- alma8 (7)
- alma9 (83)
- archlinux (339)
- centos stream 10 (14)
- CentOS Stream release 9 (156)
- centos6 (8)
- centos7 (51)
- centos8 (164)
- debian (81)
- euro (106)
- fedora (1,113)
- FerenOS (9)
- freebsd (310)
- kali (16)
- Linux (401)
- linuxmint (9)
- manjaro (294)
- maxima (16)
- miracle (21)
- MX linux (3)
- nvidia (880)
- opensuse (257)
- oracle7 (7)
- oracle8 (25)
- oracle9 (6)
- PCBSD (1)
- rhel10 (1)
- rhel7 (4)
- rhel8 (110)
- rhel9 (95)
- rocky (86)
- samba4 (615)
- Slackware (4)
- solaris (1)
- trueos (4)
- ubuntu (493)
- windows (788)
- zorin (23)
- 冬 (14)
- 夏 (13)
- 春 (53)
- 無線LAN WI-FI6E (58)
メタ情報
固定ページ