SSSD use default domain to unify winbind with getent
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-17 21:06:04 +01:00
parent f9230a76b0
commit 201ac12f6b

View File

@@ -35,7 +35,7 @@ if [ ! -f /etc/samba/krb5.keytab ]; then
mv /etc/krb5.keytab /etc/samba/
#mv /etc/samba/smb.conf /etc/samba/smb.conf.bak
echo 'root = administrator' > /etc/samba/smbusers
echo '!root = DOMA\Administrator DOMA\administrator Administrator administrator' > /etc/samba/smbusers
fi
if [ ! -L /etc/krb5.keytab ]; then
@@ -48,6 +48,7 @@ echo -e "[sssd] \n\
domains = $DOMAIN \n\
config_file_version = 2 \n\
services = nss, pam \n\
default_domain_suffix = $DOMAIN \n\
\n\
[domain/$DOMAIN] \n\
default_shell = /bin/bash \n\