root@debian:~# 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.74]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
More than one IPv6 address found. Using 2400:4052:46e0:b700:20c:29ff:febe:decd
Setting up share.ldb
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
Debiam10.0 Samba4.9.5 Active Directory Domainの構築
root@debian:~# cat /etc/os-release
PRETTY_NAME=”Debian GNU/Linux 10 (buster)”
NAME=”Debian GNU/Linux”
VERSION_ID=”10″
VERSION=”10 (buster)”
VERSION_CODENAME=buster
ID=debian
HOME_URL=”https://www.debian.org/”
SUPPORT_URL=”https://www.debian.org/support”
BUG_REPORT_URL=”https://bugs.debian.org/”
root@debian:~# cat /etc/debian_version
10.0
root@debian:~# samba -V
Version 4.9.5-Debian
root@debian:~# kinit administrator
Password for administrator@TEST.JP:
Warning: Your password will expire in 41 days on 2019年08月26日 12時01分40秒
root@debian:~# net ads info
LDAP server: 192.168.1.74
LDAP server name: debian.test.jp
Realm: TEST.JP
Bind Path: dc=TEST,dc=JP
LDAP port: 389
Server time: 月, 15 7月 2019 12:07:16 JST
KDC server: 192.168.1.74
Server time offset: 0
Last machine account password change: 月, 15 7月 2019 12:01:40 JST
root@debian:~# 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@debian:~# host -4 debian
debian.test.jp has address 192.168.1.74
debian.test.jp has IPv6 address 2400:4052:46e0:b700:20c:29ff:febe:decd
root@debian:~# host -t SRV _ldap._tcp.test.jp
_ldap._tcp.test.jp has SRV record 0 100 389 debian.test.jp.
root@debian:~# host -t SRV _kerberos._udp.test.jp
_kerberos._udp.test.jp has SRV record 0 100 88 debian.test.jp.
root@debian:~# host -t A debian.test.jp.
debian.test.jp has address 192.168.1.74
root@debian:~# smbclient -L localhost -U%
Debiam10.0 Samba4.9.5 Active Directory Domainの動作確認
-
最近の投稿
- Arch Linux Kernel6.7.1-arch1-1 Update
- Fedora release 39 Kernel6.6.13-200.fc39.x86_64 Update
- Fedora release 38 Kernel6.6.13-100.fc38.x86_64 Update
- 数式処理システム MaximaをUbuntu22.04.4で3次元陽関数のグラフを描いてみた
- AMD EPYC 9654P 96Core Processor 192Threads GT1030 Windows 10 Rro Seagate FireCuda 530 ZP1000GM30013 1TBでWindows 10のCUDA 12.3.2 nvidia-smi nvcc -Vを設定し WIFI6E で2.4Gbpsで繋いでみた
最近のコメント
- 数式処理システム MaximaをUbuntu22.04.4でplot3d(関数の式,[独立変数 1, 開始値, 終了値],[独立変数 2, 開始値, 終了値]) を計算することで 3 次元のグラフを描画してみた に 丸山泰男 より
- 春のたそがれ に 丸山泰男 より
- 春のたそがれ に 丸山泰男 より
- 春の雨上がりの朝 に 丸山泰男 より
- 春のたそがれ に 丸山泰男 より
アーカイブ
- 2024年5月 (6)
- 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 (86)
- 2 Sockets (256)
- alma8 (7)
- alma9 (44)
- archlinux (285)
- CentOS Stream release 9 (118)
- centos6 (8)
- centos7 (51)
- centos8 (164)
- debian (78)
- euro (50)
- fedora (990)
- FerenOS (9)
- freebsd (304)
- kali (15)
- Linux (322)
- linuxmint (9)
- manjaro (241)
- maxima (14)
- miracle (19)
- MX linux (3)
- nvidia (689)
- opensuse (221)
- oracle7 (7)
- oracle8 (25)
- oracle9 (6)
- PCBSD (1)
- rhel7 (4)
- rhel8 (110)
- rhel9 (59)
- rocky (50)
- samba4 (586)
- Slackware (4)
- solaris (1)
- trueos (4)
- ubuntu (359)
- windows (725)
- zorin (10)
- 春 (22)
- 無線LAN WI-FI6E (39)
メタ情報
固定ページ