Skip to contentSkip to conversation

autofs+LDAP

DISCUSSION Mikel Jimenez 3 participants 5 messages Sep 21, 2008 – Sep 22, 2008 Kernel automounter

lore
Share & tools
lore
#0 lore raw

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?

THANKS

maintainer
#1 lore raw
Quoted 16 lines · Mikel Jimenez

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

Quoted 5 lines

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?

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

#2 lore raw
Quoted 22 lines · Ian Kent
Quoted 20 lines · Mikel Jimenez

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.

Quoted 10 lines
Quoted 2 lines

Is that posible with autofs+LDAP?

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

Ok. Thanks a lot for your time.

Can you guide me ?

Thanks another time

maintainer
#3 lore raw
Quoted 29 lines · Mikel Jimenez

Ian Kent escribió:

Quoted 28 lines · Mikel Jimenez
Quoted 17 lines

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

Quoted 6 lines

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?

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.

Quoted 7 lines
Quoted 4 lines

Ian

Ok. Thanks a lot for your time.

Can you guide me ?

Not really, much of this is site and preference specific.

For example, you need to decide what form you want for the home directory paths to be.

Essentially, this means that if you have or expect to have at some future time, several home directory servers, then do you want (and have you got procedures in place to maintain the user account info) your home directories to be /home/<server name> or /export/home/<server> or some other variation and perform a single automount for a all users of a given server or use a path independent of server and perform an automount for every individual user. Or some other entirely different approach.

Until you decide what you want to use for the home directory paths you can't really do anything.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

#4 lore raw
In reply to Ian Kent
Quoted 17 lines · Ian Kent
Quoted 16 lines · Mikel Jimenez

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

Quoted 5 lines
Quoted 5 lines

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.

Quoted 13 lines

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
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Signature · 5 lines
  Douglas E. Engert  <[email protected]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444