Skip to contentSkip to conversation

autofs+LDAP

DISCUSSION mikel 2 participants 12 messages Sep 22, 2008 – Sep 23, 2008 Kernel automounter

lore
Share & tools
lore

mikel

author
#0 lore raw

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

Guide to do that...
A lot of thanks!! really

Quoted 58 lines · Douglas E. Engert
Quoted 6 lines · Ian Kent
Quoted 5 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.

Quoted 8 lines
Quoted 8 lines

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

Quoted 8 lines
Quoted 8 lines

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.

Quoted 4 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.

Quoted 9 lines

Ian

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

--

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

maintainer
#1 lore raw
Quoted 8 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

Quoted 7 lines

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 69 lines

Guide to do that...
A lot of thanks!! really

Quoted 51 lines · Douglas E. Engert
Quoted 6 lines · Ian Kent
Quoted 5 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.

Quoted 8 lines
Quoted 8 lines

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

Quoted 8 lines
Quoted 8 lines

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.

Quoted 4 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.

Quoted 9 lines

Ian

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

Quoted 7 lines

--

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

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

#2 lore raw
Quoted 14 lines · Ian Kent
Quoted 12 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

Quoted 84 lines
Quoted 2 lines

and user2: /home mass_storage_ip:/remote_homes/user2

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 72 lines

Guide to do that...
A lot of thanks!! really

Quoted 53 lines · Douglas E. Engert
Quoted 9 lines · Ian Kent
Quoted 7 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:

Quoted 7 lines
Quoted 7 lines

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

Quoted 9 lines
Quoted 9 lines

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.

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

Quoted 8 lines

--

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

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

YES YES!!

That is it!!

maintainer
#3 lore raw
Quoted 99 lines · Mikel Jimenez

Ian Kent escribió:

Quoted 14 lines · mikel
Quoted 13 lines

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

Quoted 84 lines
Quoted 2 lines

and user2: /home mass_storage_ip:/remote_homes/user2

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 72 lines

Guide to do that...
A lot of thanks!! really

Quoted 53 lines · Douglas E. Engert
Quoted 9 lines · Ian Kent
Quoted 7 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:

Quoted 7 lines
Quoted 7 lines

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

Quoted 9 lines
Quoted 9 lines

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.

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

Quoted 8 lines

--

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

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

Quoted 3 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Ian

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

#4 lore raw
Quoted 137 lines · Ian Kent
Quoted 112 lines · Mikel Jimenez
Quoted 15 lines · Ian Kent
Quoted 12 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

Quoted 95 lines
Quoted 3 lines

and user2: /home mass_storage_ip:/remote_homes/user2

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 82 lines

Guide to do that...
A lot of thanks!! really

Quoted 60 lines · Douglas E. Engert
Quoted 10 lines · Ian Kent
Quoted 7 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:

Quoted 8 lines
Quoted 8 lines

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

Quoted 10 lines
Quoted 10 lines

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.

Quoted 14 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

Quoted 9 lines

--

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

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

Quoted 4 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 4 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I cant personalize the home directory.

Sorry for my English

I need only solution related with personalization for each user

Thanks

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

maintainer
#5 lore raw
Quoted 150 lines · Mikel Jimenez
Quoted 137 lines · Ian Kent
Quoted 112 lines · Mikel Jimenez
Quoted 15 lines · Ian Kent
Quoted 12 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

Quoted 95 lines
Quoted 3 lines

and user2: /home mass_storage_ip:/remote_homes/user2

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 82 lines

Guide to do that...
A lot of thanks!! really

Quoted 60 lines · Douglas E. Engert
Quoted 10 lines · Ian Kent
Quoted 7 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:

Quoted 8 lines
Quoted 8 lines

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

Quoted 10 lines
Quoted 10 lines

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.

Quoted 14 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

Quoted 9 lines

--

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

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

Quoted 4 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 4 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

Quoted 8 lines

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I don't know what you mean.
This doesn't describe a valid map configuration.
What version of autofs are you using for this?

If this was a file based map you might have something like this in /etc/auto.master:
/home /etc/auto.home

and something like this in the indirect map /etc/auto.home user1 masterip:/export/homes/user1
user2 masterip:/export/homes/user1

or perhaps instead:
* masterip:/export/homes/&

Ian

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

#6 lore raw
Quoted 192 lines · Ian Kent
Quoted 168 lines · Mikel Jimenez
Quoted 153 lines · Ian Kent
Quoted 127 lines · Mikel Jimenez
Quoted 20 lines · Ian Kent
Quoted 6 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

Quoted 10 lines

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

Quoted 104 lines

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 92 lines

Guide to do that...
A lot of thanks!! really

Quoted 67 lines · Douglas E. Engert
Quoted 16 lines · Ian Kent
Quoted 12 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

Quoted 4 lines
Quoted 4 lines

day 2: user 1 login in machine6 and I want to mount via NFS, the home

of

Quoted 11 lines
Quoted 11 lines

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.

Quoted 15 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

Quoted 10 lines

--

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

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

Quoted 5 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 5 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

Quoted 9 lines

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I don't know what you mean.
This doesn't describe a valid map configuration.
What version of autofs are you using for this?

If this was a file based map you might have something like this in /etc/auto.master:
/home /etc/auto.home

and something like this in the indirect map /etc/auto.home user1 masterip:/export/homes/user1
user2 masterip:/export/homes/user1

Quoted 9 lines

or perhaps instead:
* masterip:/export/homes/&

Ian

I have autofs information in LDAP, not in /etc/...

Can you explain me this?

or perhaps instead:
* masterip:/export/homes/&

Another time, thanks Ian

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

maintainer
#7 lore raw
Quoted 204 lines · Mikel Jimenez
Quoted 192 lines · Ian Kent
Quoted 168 lines · Mikel Jimenez
Quoted 153 lines · Ian Kent
Quoted 127 lines · Mikel Jimenez
Quoted 20 lines · Ian Kent
Quoted 6 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

Quoted 10 lines

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

Quoted 104 lines

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 92 lines

Guide to do that...
A lot of thanks!! really

Quoted 67 lines · Douglas E. Engert
Quoted 16 lines · Ian Kent
Quoted 12 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

Quoted 4 lines
Quoted 4 lines

day 2: user 1 login in machine6 and I want to mount via NFS, the home

of

Quoted 11 lines
Quoted 11 lines

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.

Quoted 15 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

Quoted 10 lines

--

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

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

Quoted 5 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 5 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

Quoted 9 lines

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I don't know what you mean.
This doesn't describe a valid map configuration.
What version of autofs are you using for this?

If this was a file based map you might have something like this in /etc/auto.master:
/home /etc/auto.home

and something like this in the indirect map /etc/auto.home user1 masterip:/export/homes/user1
user2 masterip:/export/homes/user1

Quoted 9 lines

or perhaps instead:
* masterip:/export/homes/&

Ian

Quoted 6 lines

I have autofs information in LDAP, not in /etc/...

Can you explain me this?

or perhaps instead:
* masterip:/export/homes/&

In the Sun automount map format this entry is a wildcard. The "*" matches any key that is being looked up and that key is then substituted in place of the &. So if a mount request for "someuser" comes in the above entry translates to:

someuser masterip:/export/homes/someuser

Later versions of autofs with maps in LDAP will understand the "*" when it is present in an LDAP map key but earlier versions need to use the "/" instead. So, in the LDAP map entry you would use "/" instead of "*" and autofs will translate the "/" to "*" when it looks up a key.

Ian

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

#8 lore raw

Ian Kent escribi贸:

Quoted 242 lines · Mikel Jimenez
Quoted 225 lines

Ian Kent escribi贸:

Quoted 212 lines · Mikel Jimenez
Quoted 189 lines

Ian Kent escribi贸:

Quoted 170 lines · Mikel Jimenez
Quoted 145 lines

Ian Kent escribi贸:

Quoted 22 lines · mikel
Quoted 10 lines

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

Quoted 11 lines

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

Quoted 116 lines

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 102 lines

Guide to do that...
A lot of thanks!! really

Quoted 74 lines · Douglas E. Engert
Quoted 17 lines · Ian Kent
Quoted 12 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

Quoted 5 lines
Quoted 5 lines

day 2: user 1 login in machine6 and I want to mount via NFS, the home

of

Quoted 7 lines
Quoted 7 lines

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 5 lines
Quoted 5 lines

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 16 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

Quoted 11 lines

--

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

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

Quoted 6 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 6 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

Quoted 10 lines

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I don't know what you mean.
This doesn't describe a valid map configuration.
What version of autofs are you using for this?

If this was a file based map you might have something like this in /etc/auto.master:
/home /etc/auto.home

and something like this in the indirect map /etc/auto.home user1 masterip:/export/homes/user1
user2 masterip:/export/homes/user1

Quoted 10 lines

or perhaps instead:
* masterip:/export/homes/&

Ian

Quoted 7 lines

I have autofs information in LDAP, not in /etc/...

Can you explain me this?

or perhaps instead:
* masterip:/export/homes/&

In the Sun automount map format this entry is a wildcard. The "*" matches any key that is being looked up and that key is then substituted in place of the &. So if a mount request for "someuser" comes in the above entry translates to:

someuser masterip:/export/homes/someuser

Quoted 9 lines

Later versions of autofs with maps in LDAP will understand the "*" when it is present in an LDAP map key but earlier versions need to use the "/" instead. So, in the LDAP map entry you would use "/" instead of "*" and autofs will translate the "/" to "*" when it looks up a key.

Ian

What do you recommend me?

I have 30 hosts in job, all with ubuntu, and 6-8 Debian servers.

Mi idea is to have NFS server for mounting the homes when users logging via LDAP, and give the capability to users to login in any machine and have their home like locally.

I have yet configured logging and PAM. Only rest autofs

Thanks for your time

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

maintainer
#9 lore raw
Quoted 252 lines · Mikel Jimenez

Ian Kent escribi贸:

Quoted 242 lines · Mikel Jimenez
Quoted 225 lines

Ian Kent escribi贸:

Quoted 212 lines · Mikel Jimenez
Quoted 189 lines

Ian Kent escribi贸:

Quoted 170 lines · Mikel Jimenez
Quoted 145 lines

Ian Kent escribi贸:

Quoted 22 lines · mikel
Quoted 10 lines

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

Quoted 11 lines

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

Quoted 116 lines

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 102 lines

Guide to do that...
A lot of thanks!! really

Quoted 74 lines · Douglas E. Engert
Quoted 17 lines · Ian Kent
Quoted 12 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

Quoted 5 lines
Quoted 5 lines

day 2: user 1 login in machine6 and I want to mount via NFS, the home

of

Quoted 7 lines
Quoted 7 lines

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 5 lines
Quoted 5 lines

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 16 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

Quoted 11 lines

--

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

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

Quoted 6 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 6 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

Quoted 10 lines

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I don't know what you mean.
This doesn't describe a valid map configuration.
What version of autofs are you using for this?

If this was a file based map you might have something like this in /etc/auto.master:
/home /etc/auto.home

and something like this in the indirect map /etc/auto.home user1 masterip:/export/homes/user1
user2 masterip:/export/homes/user1

Quoted 10 lines

or perhaps instead:
* masterip:/export/homes/&

Ian

Quoted 7 lines

I have autofs information in LDAP, not in /etc/...

Can you explain me this?

or perhaps instead:
* masterip:/export/homes/&

In the Sun automount map format this entry is a wildcard. The "*" matches any key that is being looked up and that key is then substituted in place of the &. So if a mount request for "someuser" comes in the above entry translates to:

someuser masterip:/export/homes/someuser

Quoted 9 lines

Later versions of autofs with maps in LDAP will understand the "*" when it is present in an LDAP map key but earlier versions need to use the "/" instead. So, in the LDAP map entry you would use "/" instead of "*" and autofs will translate the "/" to "*" when it looks up a key.

Ian

Quoted 7 lines

What do you recommend me?

I have 30 hosts in job, all with ubuntu, and 6-8 Debian servers.

Mi idea is to have NFS server for mounting the homes when users logging via LDAP, and give the capability to users to login in any machine and have their home like locally.

Both will work fine but the wildcard entry is much simpler and you can add entries before it if you have special cases. You can always change later anyway. You may find that problematic since we can't control the order map entries are delivered from LDAP but I think it does work in spite of that.

Debian likely has an older version of autofs so you would need to use "/" instead of "*" in the LDAP map entry.

Ian

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

#10 lore raw
Quoted 295 lines · Ian Kent
Quoted 278 lines · Mikel Jimenez
Quoted 266 lines · Ian Kent
Quoted 247 lines · Mikel Jimenez
Quoted 233 lines · Ian Kent
Quoted 206 lines · Mikel Jimenez
Quoted 187 lines · Ian Kent
Quoted 157 lines · Mikel Jimenez
Quoted 24 lines · Ian Kent
Quoted 6 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

Quoted 12 lines

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

Quoted 128 lines

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 112 lines

Guide to do that...
A lot of thanks!! really

Quoted 81 lines · Douglas E. Engert
Quoted 18 lines · Ian Kent
Quoted 12 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

Quoted 6 lines
Quoted 6 lines

day 2: user 1 login in machine6 and I want to mount via NFS, the home

of

Quoted 7 lines
Quoted 7 lines

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 6 lines
Quoted 6 lines

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 17 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

Quoted 12 lines

--

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

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

Quoted 7 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 7 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

Quoted 11 lines

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I don't know what you mean.
This doesn't describe a valid map configuration.
What version of autofs are you using for this?

If this was a file based map you might have something like this in /etc/auto.master:
/home /etc/auto.home

and something like this in the indirect map /etc/auto.home user1 masterip:/export/homes/user1
user2 masterip:/export/homes/user1

Quoted 11 lines

or perhaps instead:
* masterip:/export/homes/&

Ian

Quoted 8 lines

I have autofs information in LDAP, not in /etc/...

Can you explain me this?

or perhaps instead:
* masterip:/export/homes/&

In the Sun automount map format this entry is a wildcard. The "*" matches any key that is being looked up and that key is then substituted in place of the &. So if a mount request for "someuser" comes in the above entry translates to:

someuser masterip:/export/homes/someuser

Quoted 10 lines

Later versions of autofs with maps in LDAP will understand the "*" when it is present in an LDAP map key but earlier versions need to use the "/" instead. So, in the LDAP map entry you would use "/" instead of "*" and autofs will translate the "/" to "*" when it looks up a key.

Ian

Quoted 8 lines

What do you recommend me?

I have 30 hosts in job, all with ubuntu, and 6-8 Debian servers.

Mi idea is to have NFS server for mounting the homes when users logging via LDAP, and give the capability to users to login in any machine and have their home like locally.

Both will work fine but the wildcard entry is much simpler and you can add entries before it if you have special cases. You can always change later anyway. You may find that problematic since we can't control the order map entries are delivered from LDAP but I think it does work in spite of that.

Quoted 7 lines

Debian likely has an older version of autofs so you would need to use "/" instead of "*" in the LDAP map entry.

Ian

OK Ian

Then, the entry in /etc/auto.master will be like that?

/home ldap:nisMapName=auto_XXXXX,ou=Autofs,....
or
* masterip:/export/homes/&
or
/home auto_select_script,....

Thanks

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

maintainer
#11 lore raw
Quoted 303 lines · Mikel Jimenez
Quoted 295 lines · Ian Kent
Quoted 278 lines · Mikel Jimenez
Quoted 266 lines · Ian Kent
Quoted 247 lines · Mikel Jimenez
Quoted 233 lines · Ian Kent
Quoted 206 lines · Mikel Jimenez
Quoted 187 lines · Ian Kent
Quoted 157 lines · Mikel Jimenez
Quoted 24 lines · Ian Kent
Quoted 6 lines · mikel

-------- Original Message --------
Subject: Re: [autofs] autofs+LDAP
Date: Mon, 22 Sep 2008 20:14:21 +0200
From: mikel <[email protected]>
To: "Douglas E. Engert" <[email protected]>

Quoted 12 lines

mmm very interesting... that is what I need!!

I want to have the capability to personalize automount for each user.

I want user1 have in /home mass_storage_ip:/remote_homes/user1

and user2: /home mass_storage_ip:/remote_homes/user2

Quoted 128 lines

You really don't want to do it this way exactly do you?

Surely you mean you want the mounts to be:
user1: /home/user1 mass_storage_ip:/remote_homes/user1
user2: /home/user2 mass_storage_ip:/remote_homes/user2

Quoted 112 lines

Guide to do that...
A lot of thanks!! really

Quoted 81 lines · Douglas E. Engert
Quoted 24 lines · Ian Kent

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

Quoted 13 lines

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.

Quoted 17 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

Quoted 12 lines

--

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

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

Quoted 7 lines

YES YES!!

That is it!!

You sound like your waiting for step by step instructions. That's not going to happen, at least not from me, because you'll end up with a setup you don't understand.

But there are a couple of other things you need to decide on. What LDAP schema to use and whether you will use a master map held in LDAP or a file based one. There are a few gotchas and things you might need to change but first decide how you want to do it and construct simple maps to test and see how far you get.

Look at the examples in samples/ldap-*.master and samples/ldap-*.indirect for examples of LDAP maps for the different commonly used schema. An indirect map mounted on /home is what you want by the sound of it. The master map entries contain the automounts in use, such /home in this case, and specifies the automount map which contains the keys provided by the map, such as user1 and user2, in this case.

Quoted 7 lines

Ian

Hello Ian
I have already autofs schema loaded in LDAP server and I make several things with autofs and LDAP.

I I have managed to do mounting of home through autofs-LDAP but with no personalitation capabilities.

Quoted 11 lines

I do that

user1:
/home masterip:/=/export/homes/user1

user2: masterip:/export/homes/user1

I don't know what you mean.
This doesn't describe a valid map configuration.
What version of autofs are you using for this?

If this was a file based map you might have something like this in /etc/auto.master:
/home /etc/auto.home

and something like this in the indirect map /etc/auto.home user1 masterip:/export/homes/user1
user2 masterip:/export/homes/user1

Quoted 11 lines

or perhaps instead:
* masterip:/export/homes/&

Ian

Quoted 8 lines

I have autofs information in LDAP, not in /etc/...

Can you explain me this?

or perhaps instead:
* masterip:/export/homes/&

In the Sun automount map format this entry is a wildcard. The "*" matches any key that is being looked up and that key is then substituted in place of the &. So if a mount request for "someuser" comes in the above entry translates to:

someuser masterip:/export/homes/someuser

Quoted 10 lines

Later versions of autofs with maps in LDAP will understand the "*" when it is present in an LDAP map key but earlier versions need to use the "/" instead. So, in the LDAP map entry you would use "/" instead of "*" and autofs will translate the "/" to "*" when it looks up a key.

Ian

Quoted 8 lines

What do you recommend me?

I have 30 hosts in job, all with ubuntu, and 6-8 Debian servers.

Mi idea is to have NFS server for mounting the homes when users logging via LDAP, and give the capability to users to login in any machine and have their home like locally.

Both will work fine but the wildcard entry is much simpler and you can add entries before it if you have special cases. You can always change later anyway. You may find that problematic since we can't control the order map entries are delivered from LDAP but I think it does work in spite of that.

Quoted 7 lines

Debian likely has an older version of autofs so you would need to use "/" instead of "*" in the LDAP map entry.

Ian

Quoted 5 lines

OK Ian

Then, the entry in /etc/auto.master will be like that?

/home ldap:nisMapName=auto_XXXXX,ou=Autofs,....

This could be used as a master map entry.

Quoted 2 lines

or
* masterip:/export/homes/&

But this isn't.

Quoted 2 lines

or
/home auto_select_script,....

And this might be????

You must understand that the master map entry and the map associated with it are different. They each serve a different purpose and have a different format. Once again, look at the examples, there are separate examples of the master map and of the maps themselves.

The master map entries define automount points and specify where to find the map which contains keys for the given autofs mount point. They are different.

Ian

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