Assume I have a user called Bob who is authenticated through LDAP. I want to mount Bob's home directory under /ldaphome/bob
How do I do this? I've seen it done like the following:
Code:
vim /etc/auto.master
/ldaphome/bob /etc/auto.ldaphome
Code:
vim /etc/auto.ldaphome
* -rw domain.example.com:/ldaphome/bob
What does that first place signify? I know the star means "anything", but what else can I put there?
In the auto.misc file, they have some keywords like soft, intr and sync. What do these words mean?
------------------------
also is my understanding correct:
Code:
vim /etc/auto.master
/ldaphome/bob /etc/auto.ldaphome
Here we are basically setting up a monitor. If bob types cd /ldaphome/bob then autofs searches the auto.master file for an entry. Then, the next 'map' is searched (auto.ldaphome). In this file, we have the location of bob's remote home directory that is to be mounted.