* LDAP-based "auto.net" for /net
@ 2008-08-21 11:22 jblaine
2008-08-21 13:36 ` Jeff Moyer
0 siblings, 1 reply; 8+ messages in thread
From: jblaine @ 2008-08-21 11:22 UTC (permalink / raw)
To: autofs
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.
Thanks
PS: wiki.autofs.net might as well be taken off the net.
It contains absolutely nothing of worth other than
a link to the mailing list stuff.
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: LDAP-based "auto.net" for /net 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 0 siblings, 1 reply; 8+ messages in thread From: Jeff Moyer @ 2008-08-21 13:36 UTC (permalink / raw) To: jblaine; +Cc: autofs 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? If 5, then you can simply use the ldif equivalent of: /net -hosts > PS: wiki.autofs.net might as well be taken off the net. > It contains absolutely nothing of worth other than > a link to the mailing list stuff. It hasn't exactly been publicized because those working on it (Ian and myself) haven't had time to make it useful. Sorry. Cheers, Jeff ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LDAP-based "auto.net" for /net 2008-08-21 13:36 ` Jeff Moyer @ 2008-08-21 13:44 ` Jeff Blaine 2008-08-21 13:47 ` Jeff Moyer 0 siblings, 1 reply; 8+ messages in thread From: Jeff Blaine @ 2008-08-21 13:44 UTC (permalink / raw) To: Jeff Moyer; +Cc: autofs 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. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LDAP-based "auto.net" for /net 2008-08-21 13:44 ` Jeff Blaine @ 2008-08-21 13:47 ` Jeff Moyer 2008-08-21 13:47 ` Ian Kent 0 siblings, 1 reply; 8+ messages in thread From: Jeff Moyer @ 2008-08-21 13:47 UTC (permalink / raw) To: Jeff Blaine; +Cc: autofs 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. OK, what schema are you using? -Jeff ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LDAP-based "auto.net" for /net 2008-08-21 13:47 ` Jeff Moyer @ 2008-08-21 13:47 ` Ian Kent 2008-08-21 14:04 ` Jeff Blaine 0 siblings, 1 reply; 8+ messages in thread From: Ian Kent @ 2008-08-21 13:47 UTC (permalink / raw) To: Jeff Blaine; +Cc: autofs 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LDAP-based "auto.net" for /net 2008-08-21 13:47 ` Ian Kent @ 2008-08-21 14:04 ` Jeff Blaine 2008-08-21 14:08 ` Ian Kent 0 siblings, 1 reply; 8+ messages in thread From: Jeff Blaine @ 2008-08-21 14:04 UTC (permalink / raw) To: Ian Kent; +Cc: autofs 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 > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LDAP-based "auto.net" for /net 2008-08-21 14:04 ` Jeff Blaine @ 2008-08-21 14:08 ` Ian Kent 2008-08-21 14:21 ` Jeff Blaine 0 siblings, 1 reply; 8+ messages in thread From: Ian Kent @ 2008-08-21 14:08 UTC (permalink / raw) To: Jeff Blaine; +Cc: autofs On Thu, 2008-08-21 at 10:04 -0400, Jeff Blaine wrote: > 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 So what about something like: dn: automountkey=/net,automountMapName=auto.master,dc=rcf,dc=foo,dc=org objectclass: top objectclass: automount automountkey: /net automountinformation:-hosts I'm not sure if the "-" will give you trouble? > > 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 > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LDAP-based "auto.net" for /net 2008-08-21 14:08 ` Ian Kent @ 2008-08-21 14:21 ` Jeff Blaine 0 siblings, 0 replies; 8+ messages in thread From: Jeff Blaine @ 2008-08-21 14:21 UTC (permalink / raw) To: Ian Kent; +Cc: autofs I believe "w00t" is the appropriate response. I'm not sure what I was doing wrong, but that works fine. Thanks. Ian Kent wrote: > On Thu, 2008-08-21 at 10:04 -0400, Jeff Blaine wrote: >> 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 > > So what about something like: > > dn: automountkey=/net,automountMapName=auto.master,dc=rcf,dc=foo,dc=org > objectclass: top > objectclass: automount > automountkey: /net > automountinformation:-hosts > > I'm not sure if the "-" will give you trouble? > >> 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 > ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-08-21 14:21 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2008-08-21 14:08 ` Ian Kent 2008-08-21 14:21 ` Jeff Blaine
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.