Контроллер домена Active Directory
Добавлено: 28 ноя 2023, 19:02
apt install samba krb5-config winbind smbclient
Создаст администратора контроллера доменов:
systemctl stop smbd nmbd winbind
systemctl disable smbd nmbd winbind
systemctl unmask samba-ad-dc
systemctl start samba-ad-dc
systemctl enable samba-ad-dc
Список тех кто в домене на локалхосте:
https://forum.itmed38.ru/viewtopic.php?t=22
Создаст администратора контроллера доменов:
Код: Выделить всё
samba-tool domain provision --use-rfc2307 --interactive
systemctl disable smbd nmbd winbind
systemctl unmask samba-ad-dc
systemctl start samba-ad-dc
systemctl enable samba-ad-dc
Список тех кто в домене на локалхосте:
Код: Выделить всё
smbclient -L localhost -U%
Код: Выделить всё
samba-tool domain level show