I need to specify a different path to home directories on a particular server than different from LDAP one. I know ho to change using map in /etc/nslcd.conf:
map passwd homeDirectory "/otherhome/$uid"
But I want something like "/otherhome/$group/$uid" instead but it doesn't understand $gid nor $group variables.
What's the variable I should use to set group name in the path of new home directory?
I'm using openldap and Scientific Linux 6.2