<div dir="auto"><div dir="auto"><span style="font-family:sans-serif;font-size:13.696px">Hi,</span></div><div dir="auto"><span style="font-family:sans-serif">After copying users details from lustre client /etc/passwd to lustre MDS server, it's working fine.</span><span style="font-family:sans-serif;font-size:13.696px"><br></span></div><div dir="auto"><span style="font-family:sans-serif"><br></span></div><span style="font-family:sans-serif;font-size:13.696px">Now, I have bright cluster manager in my headnode, which has LDAP server. How do I configure my lustre servers to use that LDAP server?</span><div dir="auto"><br style="font-family:sans-serif;font-size:13.696px"><div data-smartmail="gmail_signature" dir="auto" style="font-family:sans-serif;font-size:13.696px">Regards,</div><br><div data-smartmail="gmail_signature" dir="auto">Regards,<br>Konila Ravi Bhat</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21-Oct-2017 4:17 am, "Dilger, Andreas" <<a href="mailto:andreas.dilger@intel.com">andreas.dilger@intel.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Oct 20, 2017, at 09:37, Ravi Bhat <<a href="mailto:ravibhatk@gmail.com">ravibhatk@gmail.com</a>> wrote:<br>
><br>
> Hi Rick<br>
> Thanks, I have created user (luser6) in client as well as in lustre servers. But I get the same error as<br>
> No directory /home/luser6<br>
> Logging in with home="/".<br>
><br>
> But now I can cd /home/luser6 manually and create files or folders.<br>
<br>
</div>Note that the "luser6" needs to have the same numeric UID/GID as on the clients.<br>
Copying /etc/passwd to the MDS is the easiest way to do this (it isn't needed on the OSS nodes).  You probably do NOT want to copy /etc/shadow to the MDS, to prevent regular users from logging in there.<br>
<br>
You can check that this is configured correctly by running on the MDS (as root):<br>
<br>
  /usr/sbin/l_getidentity -d {uid}<br>
<br>
to verify that "uid" is accessible from /etc/passwd (or NIS/LDAP/AD/whatever).<br>
<br>
Cheers, Andreas<br>
<div class="quoted-text"><br>
> Regards,<br>
> Konila Ravi Bhat<br>
><br>
> On 20-Oct-2017 8:31 pm, "Mohr Jr, Richard Frank (Rick Mohr)" <<a href="mailto:rmohr@utk.edu">rmohr@utk.edu</a>> wrote:<br>
><br>
> > On Oct 20, 2017, at 10:50 AM, Ravi Konila <<a href="mailto:ravibhatk@gmail.com">ravibhatk@gmail.com</a>> wrote:<br>
> ><br>
> > Can you please guide me how do I do it, I mean install NIS on servers and clients?<br>
> > Is it mandatory to setup NIS?<br>
> ><br>
><br>
> NIS is not mandatory.  You just need a way to ensure that user accounts are visible to the lustre servers.  You could also use LDAP or even just /etc/passwd.   You’ll probably just want to choose whatever mechanism is used on your other systems.<br>
><br>
> For the purposes of testing, you could always just create the luser1 locally on each lustre server to see if things start to work.<br>
><br>
> --<br>
> Rick Mohr<br>
> Senior HPC System Administrator<br>
> National Institute for Computational Sciences<br>
> <a href="http://www.nics.tennessee.edu" rel="noreferrer" target="_blank">http://www.nics.tennessee.edu</a><br>
><br>
><br>
</div>> ______________________________<wbr>_________________<br>
> lustre-discuss mailing list<br>
> <a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.<wbr>org</a><br>
> <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/<wbr>listinfo.cgi/lustre-discuss-<wbr>lustre.org</a><br>
<br>
Cheers, Andreas<br>
--<br>
Andreas Dilger<br>
Lustre Principal Architect<br>
Intel Corporation<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>