Created
August 17, 2023 05:34
-
-
Save szhilkin/0e1a6d08820bfafeacd4ed3d9ba85d3c to your computer and use it in GitHub Desktop.
Samba domain join
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt -y install realmd sssd sssd-tools libnss-sss libpam-sss adcli samba-common-bin oddjob oddjob-mkhomedir packagekit | |
vi /etc/netplan/01-netcfg.yaml | |
nameservers: | |
addresses: [10.0.0.100] | |
netplan apply | |
realm discover | |
realm join | |
vi /etc/pam.d/common-session | |
session optional pam_mkhomedir.so skel=/etc/skel umask=077 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment