From: wsnyder@wsnyder.org (Wilson Snyder)
To: autofs@linux.kernel.org
Subject: HOST expansion with autofs+LDAP
Date: Tue, 12 May 2009 11:45:29 -0400 (EDT) [thread overview]
Message-ID: <20090512154529.9FC3313ED0@wsnyder.org> (raw)
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!
next reply other threads:[~2009-05-12 15:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 15:45 Wilson Snyder [this message]
2009-05-13 4:25 ` HOST expansion with autofs+LDAP 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090512154529.9FC3313ED0@wsnyder.org \
--to=wsnyder@wsnyder.org \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.