Change /home/xxx by a network_home

Posted on

Hello,
I've been trying to change the local home of the users (/home/xxx) by a network home (/srv/network_home/xxx).
The idea is to have a network_home where the users can find their home even when connecting from different stations.

I've been using sssd (/etc/sssd/sssd.conf) to accomplish this. Please see bellow sssd.conf file:

[sssd]
domains = example.local
config_file_version = 2
services = nss, pam
default_domain_suffix = example.local

[domain/example.local]
ad_domain = example.local
krb5_realm = EXAMPLE.LOCAL
realmd_tags = manages-system joined-with-samba
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = False
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
override_homedir = /srv/network_home/%u
access_provider = simple
ad_hostname = dc01.example.local
ad_hostname = dc02.example.local
dyndns_refresh_interval = 43200
dyndns_update_ptr = true
dyndns_ttl = 3600
dyndns_auth = GSS-TSIG
ldap_user_uid_number = uidNumber
ldap_user_gid_number = gidNumber
ldap_group_gid_number = gidNumber
full_name_format = %1$s
ad_gpo_ignore_unreadable = True

This setting has been working great in 3 different rhel 7.9 stations.
Recently I've deployed 2 news RHEL 7.9 stations and with exactly the same settings the systems is unstable and slow. To login by rdp takes a long time for example. Or just opening a terminal.

I suppose there must be a difference somewhere on the packages implicated but not sure where to dig in.

Anyone had similar issue that could share some advices?
Still waiting on support from redhat but since I'm using a Rhel 7.9 (required by DEV tools) must probably will suggest me a more recent distro.
Please advise!

regards
doa

Responses