<div>What is the directory specified by</div><div><br></div><div>getent passwd user1</div><div><br></div><div>(however you manage users; e.g., /etc/passwd, LDAP, NIS, Samba AD to PAM sid to uid/gid translation with idmap_rid in /etc/samba/smb.conf etc)?</div>

<div><br></div><div>You may be able to do what you want with automount multimaps...</div><div><br></div><div><br><div class="gmail_quote">On Mon, Feb 21, 2011 at 12:06 PM, chris <a href="http://job.fr">job.fr</a> <span dir="ltr"><<a href="http://chrisjob.fr">chrisjob.fr</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The local directory is on the disl of the user's computer, but the pam<br>
directory is a NFS file system.  The user can use differents computers<br>
and can find his data everywhere (on the pam directory). But he can do<br>
something confidentially on his own system (a local directory).<br>
  Sometimes we have problem with the NFS storage and with this<br>
solution (connection on the pam directory), the use can't connect<br>
anywhere. The problem is on Unix.<br>
<br>
  So the symbolic link is not the solution.<br>
<br>
Thank you<br>
Chris<br>
<br>
2011/2/21 Guillaume Allegre <<a href="mailto:allegre.guillaume@free.fr">allegre.guillaume@free.fr</a>>:<br>
<div><div></div><div class="h5">> Le lun. 21 f�vr. 2011 à 16:09 +0100, chris <a href="http://job.fr" target="_blank">job.fr</a> a ecrit :<br>
>>   Hello,<br>
>><br>
>>   Our users have two home directories : a local one (/home/user1) and<br>
>> the "pam directory" (/pam/users1).  When a user goes on a unix<br>
>> platform of the laboratory, he is automatically on the pam directory<br>
>> (/pam/users1).<br>
>>   Is it possible to do this thing : if the pam directory is<br>
>> inaccessible, the user is automatically on their local directory<br>
>> (/home/user1).<br>
>><br>
><br>
> Maybe you could explain how (and when) the /pam/* directories<br>
> are mounted, and which filesystem ? nfs...<br>
><br>
><br>
> A very basic solution would be to have each /pam/userN as a symbolic<br>
> link on /home/userN, which would be the fallback.<br>
> When automounting (?) is OK, it would be replaced by the real "shared" /pam/userN<br>
><br>
><br>
> --<br>
>  ° /\    Guillaume Allègre            Membre de l'April<br>
>  /~~\/\   <a href="mailto:Allegre.Guillaume@free.fr">Allegre.Guillaume@free.fr</a>  Promouvoir et défendre le logiciel libre<br>
>  /   /~~\    tél. 04.76.63.26.99      <a href="http://www.april.org" target="_blank">http://www.april.org</a><br>
><br>
> _______________________________________________<br>
> Pam-list mailing list<br>
> <a href="mailto:Pam-list@redhat.com">Pam-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/pam-list" target="_blank">https://www.redhat.com/mailman/listinfo/pam-list</a><br>
<br>
_______________________________________________<br>
Pam-list mailing list<br>
<a href="mailto:Pam-list@redhat.com">Pam-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pam-list" target="_blank">https://www.redhat.com/mailman/listinfo/pam-list</a></div></div></blockquote></div><br></div>