Use user@domain as home directory in install-fileserver-as-dc-member.sh

This commit is contained in:
Johan 2024-01-28 13:44:50 +01:00
parent fd1961c0c2
commit c49ae4cc81

View File

@ -118,7 +118,7 @@ sudo tee /etc/samba/smb.conf > /dev/null <<EOL
idmap config * : range = 3000-7999 idmap config * : range = 3000-7999
idmap config ${DCREALM,,} : backend = rid idmap config ${DCREALM,,} : backend = rid
idmap config ${DCREALM,,} : range = 10000-999999 idmap config ${DCREALM,,} : range = 10000-999999
template homedir = /home/%U template homedir = /home/%U@%D
template shell = /bin/bash template shell = /bin/bash
winbind use default domain = true winbind use default domain = true
winbind offline logon = false winbind offline logon = false