Logging in with your Windows Domain Credentials to a Debian Linux Box

step one: do this:

https://4sysops.com/archives/join-a-debian-linux-server-to-an-active-directory-domain/

Then edit the following file, to read as below: /usr/share/pam-configs/mkhomedir

Name: activate mkhomedir
Default: yes
Priority: 900
Session-Type: Additional
Session:
        required                        pam_mkhomedir.so umask=0022 skel=/etc/skel

and reload pam: `pam-auth-update` and make sure "create home directory" is enabled.

now, editr /etc/sssd/sssd.conf:

# line 16 : change

use_fully_qualified_names = False

and systemctl restart sssd

Yer Done!

You can login with the first half of your username, and you get a home directory!

More notes: https://computingforgeeks.com/join-ubuntu-debian-to-active-directory-ad-domain/