Kristian Petersen via FreeIPA-users wrote:
OK. So I created the keys for each letter in this format:
It still doesn't seem to be mounting the directories as it should and I
am not understanding why. The syntax of the key entries appears correct
as far as I can tell. Am I missing something?
I don't think that first entry is a glob. I believe that * just means
any. & is shorthand for the matching key so
Just substitutes whatever the matching key (*) to &.
I assume this is in some auto.home-like map.
I don't claim to know a lot about autofs but you might try creating an
auto.home-a, auto.home-b, etc.
This of course assumes that the homedir in the user entry is
This feels like it should be a solved problem but my git-fu wasn't able
to find anything definitive. You might try the autofs community.
On Tue, Feb 19, 2019 at 10:05 AM Brian Topping <brian.topping(a)gmail.com
The doc that helped me a lot is . I think you just need to create
26 entries in `auto_home` using a wildcard at the end of each key
(ie `a*`, `b*`, etc). Then, for each user, set their home directory
to the correct full path.
> On Feb 19, 2019, at 9:45 AM, Kristian Petersen via FreeIPA-users
> Is there a way to set up the maps to mount a users home directory
if they are divided up under a directory that is the first letter of
their username without mounting all such directories for every
user? We have thousands of students needing home directories and so
they have divided up this way. Example: /home/students/a/aardvark
or /home/students/b/bugsbunny. The docs I have read on autofs maps
haven't been very clear on how to define this kind of mapping,
especially in FreeIPA.
> Kristian Petersen
> System Administrator
> BYU Dept. of Chemistry and Biochemistry
> FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
> To unsubscribe send an email to
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines:
> List Archives:
BYU Dept. of Chemistry and Biochemistry
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines