From: Ian Kent <raven@themaw.net>
To: Syed Khader <syedk@google.com>
Cc: autofs@linux.kernel.org
Subject: Re: autofs to load MAP from LDAP
Date: Sat, 11 Nov 2006 10:44:28 +0800 [thread overview]
Message-ID: <1163213068.3113.10.camel@localhost> (raw)
In-Reply-To: <29c5cd460611092033m2e0de71cpa6e9e29d74555c24@mail.gmail.com>
On Fri, 2006-11-10 at 10:03 +0530, Syed Khader wrote:
> But in my ldap entries i don't have automountmapname.
Stephen said in his post that he is using a different schema.
>
> dn: ou=auto.master,dc=testlab,dc=com
> objectClass:top
> objectClass:automountMap
> ou:auto.master
>
> dn: cn=/home,ou=auto.master,dc=testlab,dc=com
> objectClass:automount
> cn:/home
> automountInformation: ldap
> server.testlab.com:ou=auto.home,dc=testlab,dc=com --timeout 60
>
>
> Auto.Home
>
> dn: ou=auto.home,dc=testlab,dc=com
> objectClass:top
> objectClass:automountMap
> ou:auto.home
>
> dn: cn=user1,ou=auto.home,dc=testlab,dc=com
> objectClass: automount
> cn:user1
> automountInformation: -fstype=nfs,hard,intr
> server.testlab.com:/home/user1
>
> What do i set LDAPAUTOMASTER to?
>
> Abdul.
>
>
>
> On 11/9/06, Stephen C. Rigler <srigler@marathonoil.com> wrote:
> On Thu, 2006-11-09 at 10:49 +0530, Syed Khader wrote:
> > Hello Everybody,
> >
> > How to make autofs read map from ldap rather than files.
> >
>
> Syed,
>
> We run a mixed environment of Irix, Solaris and Linux
> machines. To keep the Solaris machines happy, we use their
> schema (keys are "automountkey" rather than "cn", etc). With
> autofs-4, Linux needs a different master map, but with version
> 5 it looks like we'll be able to use the same map as the other
> platforms.
>
> To point the Linux machines at your master map set
> "LDAPAUTOMASTER" in /etc/sysconfig/autofs to the name of the
> map (the name, not the dn).
>
> Our master map looks like:
>
> dn: automountMapName=auto.master_linux,dc=example,dc=com
> automountMapName: auto.master_linux
> objectClass: top
> objectClass: automountMap
>
> dn:
> automountkey=/home,automountmapname=auto.master_linux,dc=example,dc=com
> objectClass: automount
> objectClass: top
> automountKey: /home
> automountInformation:
> ldap:automountmapname=auto_home,dc=example,dc=com
>
> auto_home looks like:
>
> dn: automountMapName=auto_home,dc=example,dc=com
> automountMapName: auto_home
> objectClass: top
> objectClass: automountMap
>
> dn:
> automountkey=someuser,automountmapname=auto_home,dc=example,dc=com
> objectClass: automount
> objectClass: top
> automountKey: someuser
> automountInformation: -rw server:/export/home/&
>
> Hope this helps.
>
> -Steve
>
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
>
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
prev parent reply other threads:[~2006-11-11 2:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 5:19 autofs to load MAP from LDAP Syed Khader
2006-11-09 11:38 ` Ian Kent
2006-11-09 13:11 ` Stephen C. Rigler
2006-11-10 4:33 ` Syed Khader
2006-11-10 14:32 ` Stephen C. Rigler
2006-11-11 2:44 ` Ian Kent [this message]
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=1163213068.3113.10.camel@localhost \
--to=raven@themaw.net \
--cc=autofs@linux.kernel.org \
--cc=syedk@google.com \
/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.