Nevermind, I found an ugly workaround.

Just add another entry to auto.home in the LDAP config to map back to the local 
machine.

>  -----Original Message-----
> From:         Shawn Starr  
> Sent: Friday, November 17, 2006 3:46 PM
> To:   '[email protected]'
> Subject:      Automount with a local NFS export and a remote NFS export using 
> the same mount path name over LDAP
> 
> Hi, 
> 
> Does Automount v4 support the ability do the following:
> 
> 
> 1) A local machine with NFS export /home mounted with a local /etc/auto.home 
> map.
> 
> 2) a external machine with NFS export /home and using LDAP to export a 
> auto.home map to automount.
> 
> If I set nsswitch.conf on the local machine to:  automount: files ldap. 
> Automount ignores LDAP mounts and only mounts the local files. 
> 
> If I flip the order and use 'ldap files' automount only mounts the remote NFS 
> /home and clobbers the local NFS /home map. Yet if I try to pass more than 
> one auto.home mapping via LDAP to automount it ignores them.
> 
> If Automount 4 can't do this does version 5? :)
> 
> Thanks, 
> --
> Shawn Starr
> Software Developer, Open Source Grid Development Center (OSGDC)
> Platform Computing
> 3760 14th Avenue
> Markham, ON L3R3T7
> direct: 905.948.4229
> http://www.platform.com
> 
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to