All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Douglas E. Engert" <deengert@anl.gov>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: autofs+LDAP
Date: Mon, 22 Sep 2008 11:33:40 -0500	[thread overview]
Message-ID: <48D7C8E4.9040005@anl.gov> (raw)
In-Reply-To: <1222058110.3163.78.camel@raven.themaw.net>



Ian Kent wrote:
> On Sun, 2008-09-21 at 23:40 +0200, Mikel Jimenez wrote:
>> Hello Guys
>>
>> I have a OpenLDAP server with user accounts. Actually, i autheticate my 
>> LAN machines to LDAP server and ALL OK.
>>
>> I want that:
>>
>> EXAMPLE:
>> day 1:
>> user1 login in machine1 and I want to mount via NFS, the home of this 
>> user, that is in another storage server
>>
>> day 2: user 1 login in machine6 and I want to mount via NFS, the home of 
>> this user, that is in another storage server
>>
>>
>> I want to have all users homes, in a centralized storage server, and 
>> give the posibility to users to login in any machine of the LAN, and 
>> have they home directory mounted automaticaly.
>>
>> Is that posible with autofs+LDAP?

In auto.master, you can have an entry like:
/home ldap:nisMapName=auto_XXXXX,ou=Autofs,....
and have each system specify a different auto_XXXXX location in LDAP to
start from.

Or you could have have script in place of the auto.home entry:
/home auto_select_script,....
where auto_select_script is a script that is passed the username.
It can use ldap to determine what to do.

> 
> Basically yes, but there are a number of decisions about how this might
> be setup at your site that don't relate specifically to autofs.
> 
> Ian
> 
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
> 
> 

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

  parent reply	other threads:[~2008-09-22 16:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-21 21:40 autofs+LDAP Mikel Jimenez
2008-09-22  4:35 ` autofs+LDAP Ian Kent
2008-09-22  7:36   ` autofs+LDAP Mikel Jimenez
2008-09-22 11:12     ` autofs+LDAP Ian Kent
2008-09-22 16:33   ` Douglas E. Engert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-17 18:13 Autofs & LDAP Jeff Largent
2004-02-23 21:53 ` Jeff Largent

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=48D7C8E4.9040005@anl.gov \
    --to=deengert@anl.gov \
    --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.