<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div><br></div>Thanks for the reply Rob ! I had tried with all the log files you mentioned and had kept most of them in debug mode. Tried again now. The only error or clue I could see was the following I already mentioned in my previous mail, <div><br></div><div><div><b>oddjob-mkhomedir[17823]: error setting permissions on /home/nasir: Operation not permitted</b></div><div><br></div><div>I don't think it is a problem due to autofs as this is the error when I am getting while trying to login after MANUALLY MOUTING this partition also! There is some permission blocking oddjob from creating the home folder on the fly. I can't see any debug option for /etc/oddjobd.conf file to go further.</div><div><br></div><div>Please help.</div><div><br></div><div>Thanks and regards,</div><div>Nidal</div><div><br></div><br><br>--- On Thu, 5/12/11, Rob Crittenden
 <rcritten@redhat.com> wrote:<br><br>> From: Rob Crittenden <rcritten@redhat.com><br>> Subject: Re: [Freeipa-users] FreeIPA for Linux desktop deployment<br>> To: "nasir nasir" <kollathodi@yahoo.com><br>> Cc: "Adam Young" <ayoung@redhat.com>, freeipa-users@redhat.com<br>> Date: Thursday, May 12, 2011, 2:32 PM<br>> nasir nasir wrote:<br>> > Adam,<br>> ><br>> > I tried to follow your recommendations with RHEL 6.1<br>> beta on server and<br>> > client machine. Centralized login and such things<br>> work. I have NFS<br>> > service too working. But automount is not working. For<br>> the time being I<br>> > configured my server as NFS server and created a<br>> folder /export as a<br>> > share for creating home folder. I have<br>> *pam_oddjob_mkhomedir.so *enabled<br>> > in pam files for autocreation of home folders. Now I<br>> can manually mount<br>>
 > the /export nfs share on the server and the client<br>> successfully. But<br>> > when I do that on server for testing and try to login<br>> as a new user(e.g<br>> > abc), it is not creating home folder. It gives the<br>> following error,<br>> ><br>> > *oddjob-mkhomedir[16401]: error setting permissions on<br>> /home/abc:<br>> > Operation not permitted*<br>> ><br>> > I have given 777 for my /export and rw permission in<br>> /etc/export. Output<br>> > of the command *ipa automountlocation-tofiles<br>> default*.<br>> ><br>> > *<br>> > *<br>> > */etc/auto.master:*<br>> > */- /etc/auto.direct*<br>> > */share /etc/auto.share*<br>> > */home /etc/auto.home*<br>> > *---------------------------*<br>> > */etc/auto.direct:*<br>> > *---------------------------*<br>> > */etc/auto.share:*<br>> >
 *---------------------------*<br>> > */etc/auto.home:*<br>> > ** -rw,nfs4,sec=krb5,soft,rsize=8192,wsize=8192<br>> > openipa.cohort.org:/export/home/&*<br>> > * *<br>> > I tried reading many docs(RHEL deployment guide,<br>> google, FreeIPA doc<br>> > etc). The problem is that they are confusing and<br>> conflicting in many cases.<br>> ><br>> > Please advice me how to proceed.<br>> <br>> I'd start with system error logs: /var/log/messages,<br>> /var/log/secure, <br>> /var/log/audit/audit.log<br>> <br>> rob<br>> <br>> ><br>> > Thanks and Regards,<br>> > Nidal<br>> ><br>> >>>><br>> >>>>           <br>>      Nidal,<br>> >>>><br>> >>>>           <br>>      OK, I'd probably do something
 like<br>> this: After<br>> >>>>           <br>>      install IPA, add one host as an IPA<br>> client with the<br>> >>>>           <br>>      following switch: --mkhomedir,,<br>> something like<br>> >>>>           <br>>      ipa-client-install --mkhomedir -p<br>> admin. Then, mount<br>> >>>>           <br>>      the directory that you are going to<br>> use a /home on<br>> >>>>           <br>>      that machine. Once you create users<br>> in IPA, the<br>> >>>>           <br>>      first time you log in as that user,<br>> do so from
 that<br>> >>>>           <br>>      client, and it will attempt to<br>> create the home<br>> >>>>           <br>>      directory for you. This should be<br>> the only machine<br>> >>>>           <br>>      that has permissions to create<br>> directories under<br>> >>>>           <br>>      /home. Now, create an automount<br>> location and map,<br>> >>>>           <br>>      and create a key for /home<br>> >>>><br>> >>>>           <br>>      The instructions from our test day<br>> should get you<br>>
 >>>>           <br>>      started:<br>> >>>><br>> >>>>           <br>>      https://fedoraproject.org/wiki/QA:Testcase_freeipav2_automount<br>> >>>><br>> >>>><br>> >>><br>> >><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > Freeipa-users mailing list<br>> > Freeipa-users@redhat.com<br>> > https://www.redhat.com/mailman/listinfo/freeipa-users<br>> <br>> </div></td></tr></table>