<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Lets try to isolate it a little further. If you log in to that
machine as root, and then do su - nasir, does it let you create the
directory or give you the same error? I'm guessing it is ssh that
is complaining here. If the mount point is set up correctly, you
should be able to crete and chown the /home/nasir directory, either
via odd job, or just test it as root.<br>
<br>
What I am guessing is happening here is that ssh is not triggereing
the odd job creation of the home directory. Either that, or this
particular IPA client was run without the switch to create the
home-dir. If Automount is commented out, does the /home/nasir
directory get created on the local disk?<br>
<br>
<br>
On 05/16/2011 09:19 PM, nasir nasir wrote:
<blockquote cite="mid:632038.78417.qm@web161318.mail.bf1.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top">
<div>Thanks again!</div>
<div><br>
</div>
<div>No! it allows auto mount that pre created home folder
<b>ONLY to the NFS server</b>. For e.g if I have <b>/xtra/home/nasir</b>
alread created, then it automatically mounts while
login to NFS server ( ssh -l nasir NFS_SERVER ). But
when I try to login as the same user to some other
machine ( ssh -l nasir ANY_IPA_MACHINE) it gives the
following error,</div>
<div><br>
</div>
<div>
<div><b>[root@openipa ~]# ssh -l nasir 192.168.1.222 -X</b></div>
<div><b><a class="moz-txt-link-abbreviated" href="mailto:nasir@192.168.1.222">nasir@192.168.1.222</a>'s password: </b></div>
<div><b>Creating home directory for nasir.</b></div>
<div><b>Last login: Tue May 17 04:06:43 2011 from
openipa.cohort.org</b></div>
<div><b>Could not chdir to home directory /home/nasir:
No such file or directory</b></div>
<div><b>-sh-4.1$ ls</b></div>
</div>
<div><br>
</div>
<div>So it is not working right ? Hope it is clear to you
now.</div>
<div><br>
</div>
<div>Thanks and regards,</div>
<div>Nidal</div>
<div><br>
</div>
<div><br>
</div>
<br>
<blockquote style="border-left: 2px solid rgb(16, 16,
255); margin-left: 5px; padding-left: 5px;">
<div id="yiv1439350400">
<blockquote type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top">
<div>If I manually create one home folder(
e.g <b>/xtra/home/abc</b> ) under than,
then I can mount it, but nothing can be
written to it by the user as it gives
permission denied error.</div>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
Yes, but it should allow the root user to create and
chown the directory, so the autocreation of home dirs
should work.<br>
<br>
</div>
<div class="plainMail"><br>
</div>
</blockquote>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
</body>
</html>