Jul 1, 2024
ssh user@localhost
for remote login.sudo apt update
and sudo apt upgrade
.sudo vi /etc/hostname
and sudo vi /etc/hosts
.sudo vi /etc/netplan/...
.sudo netplan apply
and sudo reboot
.apt install samba winbind krb5-config smbclient dnsutils net-tools -y
.HOME_NET.COM
as default realm.dc1.homenet.com
.mv /etc/samba/smb.conf /etc/samba/smb.conf.original
.samba-tool domain provision --use-rfc2307 --interactive
.cp /var/lib/samba/private/krb5.conf /etc/krb5.conf
.vi /etc/resolv.conf
.systemctl
to disable and mask specific services.systemctl enable --now samba-ad-dc
.netstat -a | grep smbd
and restart if necessary.homenet.com
.DOMAIN\username
format.mkdir
in the appropriate directory on Samba server.apps
, data
).