[Freeipa-devel] automount in LDAP

Dmitri Pal dpal at redhat.com
Thu Nov 6 00:02:48 UTC 2008


Nalin Dahyabhai wrote:
> On Wed, Nov 05, 2008 at 04:49:57PM -0500, Rob Crittenden wrote:
>   
>> Ok, here is some LDIF that will define some defaults. I haven't tackled  
>> auto.home yet.
>>     
> [snip]
>   
>> So adding a new direct mount is as simple as:
>>
>> ipa automount-addkey --key=share --info=server:/share auto.direct
>>     
>
> Slick!
>
>   
>> Nalin, if I create an auto.home map that handles /home is that going to  
>> confuse local accounts who exist on /home? That happens on Solaris and  
>> has always driven me nuts.
>>     
>
> Yes.  On Linux, at least, /home becomes a mount point for an autofs
> filesystem, and behaves like other mount points (meaning whatever was
> there before the filesystem was mounted is hidden until it's unmounted
> again).
>
> You could get around that using the direct map, but that requires more
> resources, maybe too many.
>
> I don't have hard numbers to back it up, but I expect that heavy users
> of the automounter make sure to either store home directories for local
> users elsewhere on the filesystem (/export?), or to use some other
> location for the mountpoint (in school, we used /ncsu).
>
>   
In my previous place of work we used to have home directories be mounted 
to /tmp_mnt/home/<user>/....
The /home/<user>/... was for local place for local homes on the machine 
itself.

Thanks
Dmitri

> HTH,
>
> Nalin
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
>   




More information about the Freeipa-devel mailing list