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 <[EMAIL PROTECTED]> writes: >> >>> Jeff Moyer wrote: >>>> [EMAIL PROTECTED] 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 >> [email protected] >> http://linux.kernel.org/mailman/listinfo/autofs > _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
