From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Blaine Subject: Re: LDAP-based "auto.net" for /net Date: Thu, 21 Aug 2008 10:04:32 -0400 Message-ID: <48AD75F0.5000000@kickflop.net> References: <39967.129.83.31.3.1219317751.squirrel@webmail.kickflop.net> <48AD7135.9080406@kickflop.net> <1219326432.15073.6.camel@raven.themaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1219326432.15073.6.camel@raven.themaw.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Ian Kent Cc: autofs@linux.kernel.org 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 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 >