[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の動作確認
-
最近の投稿
- Fedora release 42 Kernel6.15.10-200.fc42.x86_64 PHP 8.4.11 Update
- AlmaLinux Kitten release 10 Kernel6.12.0-116.el10.x86_64 Update
- Red Hat Enterprise Linux release 10.1 Beta Kernel6.12.0-119.el10.x86_64 Update
- OpenSUSE Tumbleweed Kernel6.16.1-1-default PHP 8.4.11 Update
- Fedora release 44が公開されたのでInstall してみた
最近のコメント
- しだれ桜が咲いていました に 丸山泰男 より
- Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz 4core 8threds 32GB RTX2080Ti PLEXTOR PX-256M9PeGで構成されたUbuntu24.04.3 LTS へ CUDA-toolkit 12.5をInstall してnvidia-smi nvcc -V cat /etc/os-release sensors lsmem nvme list nvme smart-log /dev/nmve0n1 lscpuを設定 に 丸山泰男 より
- Ubuntu 26.04 Daily Build を installしてみた に 丸山泰男 より
- 梅が咲きました に 丸山泰男 より
- 雪の白川郷 に 丸山泰男 より
アーカイブ
- 2026年5月 (3)
- 2026年4月 (68)
- 2026年3月 (60)
- 2026年2月 (65)
- 2026年1月 (54)
- 2025年12月 (58)
- 2025年11月 (68)
- 2025年10月 (65)
- 2025年9月 (71)
- 2025年8月 (81)
- 2025年7月 (81)
- 2025年6月 (83)
- 2025年5月 (66)
- 2025年4月 (56)
- 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 (302)
- alma10 (33)
- alma8 (8)
- alma9 (106)
- archlinux (391)
- centos stream 10 (36)
- CentOS Stream release 9 (168)
- centos6 (8)
- centos7 (51)
- centos8 (164)
- debian (85)
- euro (108)
- fedora (1,187)
- FerenOS (9)
- freebsd (312)
- kali (16)
- Linux (480)
- linuxmint (9)
- manjaro (346)
- maxima (16)
- miracle (25)
- MX linux (3)
- nvidia (1,120)
- opensuse (284)
- oracle7 (7)
- oracle8 (25)
- oracle9 (6)
- PCBSD (1)
- rhel10 (51)
- rhel7 (4)
- rhel8 (110)
- rhel9 (117)
- rocky (109)
- samba4 (644)
- Slackware (4)
- solaris (1)
- trueos (4)
- ubuntu (679)
- windows (833)
- zorin (27)
- その他 (16)
- 冬 (40)
- 夏 (35)
- 春 (106)
- 無線LAN WI-FI6E (58)
- 秋 (5)
メタ情報
固定ページ