All of lore.kernel.org
 help / color / mirror / Atom feed
* HOST expansion with autofs+LDAP
@ 2009-05-12 15:45 Wilson Snyder
  2009-05-13  4:25 ` Ian Kent
  0 siblings, 1 reply; 6+ messages in thread
From: Wilson Snyder @ 2009-05-12 15:45 UTC (permalink / raw)
  To: autofs


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! 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-22 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-12 15:45 HOST expansion with autofs+LDAP Wilson Snyder
2009-05-13  4:25 ` Ian Kent
2009-05-13  5:17   ` Ian Kent
2009-05-21 14:03     ` Wilson Snyder
2009-05-21 14:38       ` Ian Kent
2009-05-22 13:50       ` Jeff Moyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.