All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Blaine <jblaine@kickflop.net>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: LDAP-based "auto.net" for /net
Date: Thu, 21 Aug 2008 10:04:32 -0400	[thread overview]
Message-ID: <48AD75F0.5000000@kickflop.net> (raw)
In-Reply-To: <1219326432.15073.6.camel@raven.themaw.net>

I'm using the RFC2307bis schema.  I have everything working
so far with the exception of /net (such as auto.home).

/etc/sysconfig/autofs contains (among other things):
DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="automountMapName"
DEFAULT_ENTRY_ATTRIBUTE="automountKey"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"

Here's LDIF of mine for a site-specific 'auto.nfs' map's
entry (/NFS/reverse ----> jellyroll:/reverse)

dn: automountMapName=auto.nfs,dc=rcf,dc=foo,dc=org
objectClass: top
objectClass: automountMap
automountMapName: auto.nfs

dn: automountkey=/NFS,automountMapName=auto.master,dc=rcf,dc=foo,dc=org
objectClass: top
objectClass: automount
automountKey: /NFS
automountInformation: 
ldap:rcf-ldap1.foo.org:automountmapname=auto.nfs,dc=rcf,
dc=foo,dc=org

dn: automountKey=reverse,automountMapName=auto.nfs,dc=rcf,dc=foo,dc=org
objectClass: top
objectClass: automount
automountKey: reverse
automountInformation: jellyroll:/&

Ian Kent wrote:
> On Thu, 2008-08-21 at 09:47 -0400, Jeff Moyer wrote:
>> Jeff Blaine <jblaine@kickflop.net> writes:
>>
>>> Jeff Moyer wrote:
>>>> jblaine@kickflop.net writes:
>>>>
>>>>> If anyone has been successful in getting /net/hostname
>>>>> automounting working with LDAP-based autofs maps (not
>>>>> a local /etc/auto.net file), I would love to see your
>>>>> LDIF information showing how you configured it.
>>>> First, program maps must be on a file system.  Second, are you using
>>>> autofs version 4 or 5?  
>>> AutoFS 5.
>>>
>>>> If 5, then you can simply use the ldif equivalent of:
>>>> /net       -hosts
>>> That's what I am trying to do :)  I was hoping someone could
>>> show me theirs.  It's not clear to me how to construct that
>>> particular set of LDIF info.
> 
> And what have you got in LDAP now or are you starting from scratch?
> 
>> OK, what schema are you using?
>>
>> -Jeff
>>
>> _______________________________________________
>> autofs mailing list
>> autofs@linux.kernel.org
>> http://linux.kernel.org/mailman/listinfo/autofs
> 

  reply	other threads:[~2008-08-21 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 11:22 LDAP-based "auto.net" for /net jblaine
2008-08-21 13:36 ` Jeff Moyer
2008-08-21 13:44   ` Jeff Blaine
2008-08-21 13:47     ` Jeff Moyer
2008-08-21 13:47       ` Ian Kent
2008-08-21 14:04         ` Jeff Blaine [this message]
2008-08-21 14:08           ` Ian Kent
2008-08-21 14:21             ` Jeff Blaine

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=48AD75F0.5000000@kickflop.net \
    --to=jblaine@kickflop.net \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /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.