Dirk Wetter writes:
 >  sure, that works. but if you're living in a non-100% linux
 >  environment you cannot use the direct maps distributed via
 >  NIS(+)/ldap, which would be great.
Yes You can but with some modif.

At my work, there is a SUN NIS map :

/home auto.home -rw,soft
/net -hosts     -nosuid
/- auto.direct  -rw,soft

"/home" is a classical automount, "/net" the hosts automount and "/-"
is a direct map.

I've modifed the startup script to parse "-host" with "auto.net"
program map and "/-" with links and pseudo-map.

Ok, the NIS direct map is transformed in a set of fix maps but it is
enough for me.

(you can see the script in http://www.lifl.fr/~soula/autofs.init)

-- Julien

Reply via email to