Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:ad_integration:sssd [2021/03/29 14:11] – created - external edit 127.0.0.1 | linux:ad_integration:sssd [2025/07/03 13:31] (current) – tplecko | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu | + | ====== Ubuntu |
+ | Update: | ||
+ | When using Proxmox LXC, make sure to create a privileged container, and enable nesting: | ||
+ | < | ||
+ | pct set < | ||
+ | pct restart < | ||
+ | </ | ||
===== Join Ubuntu to Active Directory ===== | ===== Join Ubuntu to Active Directory ===== | ||
<code bash> | <code bash> | ||
Line 44: | Line 51: | ||
# set use_fully_qualified_names to false id you want to login using username only - otherwise you must use user@example.com | # set use_fully_qualified_names to false id you want to login using username only - otherwise you must use user@example.com | ||
# modify fallback_homedir to change user home folder - I prefer /home/%d/%u | # modify fallback_homedir to change user home folder - I prefer /home/%d/%u | ||
+ | |||
+ | # make sure that the file is readable only by root | ||
+ | sudo chmod 600 / | ||
+ | sudo chown root:root / | ||
# enable auto create of home folders | # enable auto create of home folders | ||
su@fs:~$ sudo pam-auth-update --enable mkhomedir | su@fs:~$ sudo pam-auth-update --enable mkhomedir | ||
+ | |||
+ | # make sure this line exists in / | ||
+ | session required pam_mkhomedir.so skel=/ | ||
# add users to sudo group | # add users to sudo group | ||
Line 112: | Line 126: | ||
</ | </ | ||
===== SAMBA integration ===== | ===== SAMBA integration ===== | ||
+ | <code bash> | ||
+ | sudo apt install samba cifs-utils winbind libnss-winbind libpam-winbind krb5-user | ||
+ | </ | ||
+ | |||
This part needs review since it is broken in the fresh versions | This part needs review since it is broken in the fresh versions | ||
<code bash> | <code bash> | ||
- | su@fs:~$ sudo apt install samba cifs-utils libwbclient-sssd | + | # su@fs:~$ sudo apt install samba cifs-utils libwbclient-sssd |
+ | # libwbclient-sssd was dropped in Ubuntu/ | ||
+ | su@fs:~$ sudo apt install samba cifs-utils | ||
su@fs:~$ sudo vim / | su@fs:~$ sudo vim / | ||
[global] | [global] |