Wilson Snyder wrote:
> I have a suse10.3 system which includes autofs-5.0.2-30.2
>
> I'd like an LDAP entry that makes an autofs mountpoint that
> includes the local host's name. If this wasn't under LDAP I
> believe "/net/$HOST" would work - creating a
> "/net/{name-of-hostname}" mountpoint.
>
> However, if I add a mountpoint with cn=$HOST
>
> cn=$HOST,nismapname=auto.net,dc=company,dc=com
>
> The automounter nicely makes a "/net/$HOST" mount -
> *literally* /net/$HOST, that is it doesn't expand $HOST to
> the hostname.
>
> Same thing if I use cn=${host}
>
> Any hints? Thanks!
Oddly enough I think that $HOST should be expanded but I have no idea
how you think this is supposed to work because you haven't provided any
information about the LDAP entry, other than the dn, or provided any
debug log information.
Ian
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs