[SSSD-users] Re: Is it possible to do substring replacement in ldap home directory in sssd

2021-11-06 Thread T intervenor
Thanks for the reply. I agree such multi-level directory structure is meaningless, but it's hard to change the structure in production environment now. Fortunately we finally found an alternative solution, using the %H pattern with homedir_substring option. Anyway, I think sssd should enhance

[SSSD-users] Is it possible to do substring replacement in ldap home directory in sssd

2021-11-05 Thread T intervenor
I know sssd has override_homedir option to modify home path getting from ldap, but its substitution pattern is too simple. Condider the case: The user is bob and its group is class1, its home directory from ldap is "/remote/home/class1/bob". Now we want to change the home directory on some