<div dir="ltr">Hello Rohit,<div><br></div><div style>While creating users you also need to specify POSIX properties for the user.</div><div style><br></div><div style>In admin console you need to fill out posix properties details while creating the user. Also make sure you create posix groups and associate these new users with the group ID otherwise while login time you may get some warning message like  &quot;id: Group does not exist&quot;.</div>

<div style><br></div><div style><br></div></div><div class="gmail_extra"><br clear="all"><div><br><div>--</div><div><a href="http://about.me/chandank" target="_blank">http://about.me/chandank</a><br></div></div>
<br><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 7:27 AM, Chaudhari, Rohit K. <span dir="ltr">&lt;<a href="mailto:Rohit.Chaudhari@jhuapl.edu" target="_blank">Rohit.Chaudhari@jhuapl.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hey Chandan,</div><div><br></div><div>So I got the RHEL client working, but I have an outstanding issue.  When I look at the users/groups setting on the client machine, the newly created user that I made on the RHEL LDAP server does not show up on the list.  Is this how it is supposed to work?  If not, how do I get a LDAP user to become a part of the users and groups list on the RHEL client?</div>

<div><br></div><div>Thanks,</div><div><br></div><div>Rohit</div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<div class="im"><span style="font-weight:bold">From: </span> Chandan Kumar &lt;<a href="mailto:chandank.kumar@gmail.com" target="_blank">chandank.kumar@gmail.com</a>&gt;<br><span style="font-weight:bold">Reply-To: </span> &quot;General discussion list for the 389 Directory server project.&quot; &lt;<a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a>&gt;<br>

</div><span style="font-weight:bold">Date: </span> Thursday, December 20, 2012 6:21 PM<div><div class="h5"><br><span style="font-weight:bold">To: </span> &quot;General discussion list for the 389 Directory server project.&quot; &lt;<a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a>&gt;<br>

<span style="font-weight:bold">Subject: </span> Re: [389-users] How to set up 389 client<br></div></div></div><div><div class="h5"><div><br></div><div><div>
Yes do need to replace it with SSSD. If you are having a fresh Centos install, by default it is sssd only. 
<div><br></div><div>Best way would be to use the authconfig tool as it changes all related files and you don&#39;t have to manually change all of them.  Moreover, you also need change the nss.conf file and make sure groups/users do have sssd instead of ldap.</div>

<div><br></div><div>From RHEL 6.4 sssd will be fully supported and it gives better performance if you intend to integrate many applications with LDAP as it does not open multiple connections with the directory server.</div>

<div><br></div><div>I will look that guide again and will try to improve it.<br><br>
On Thursday, December 20, 2012, Chaudhari, Rohit K. wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">

<div>Okay I will try checking those parameters.  I am doing sssd, I used ldap pan before in CentOS 6 and that had worked for me, but I will try using sssd.  What confused me in your guide was when it said to set up /etc/pam.d/system-auth, replacing all instances
 of pam_sss.so with pam_ldap.so.  If I want to use sssd I need to leave this alone.  I&#39;ll give you an update tomorrow to see how it is going.  Thanks again for your insight.</div><div><br></div><div>Thanks</div><div>

<br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span>Chandan Kumar &lt;<a>chandank.kumar@gmail.com</a>&gt;<br><span style="font-weight:bold">Reply-To: </span>&quot;General discussion list for the 389 Directory server project.&quot; &lt;<a>389-users@lists.fedoraproject.org</a>&gt;<br>

<span style="font-weight:bold">Date: </span>Thursday, December 20, 2012 4:07 PM<br><span style="font-weight:bold">To: </span>&quot;General discussion list for the 389 Directory server project.&quot; &lt;<a>389-users@lists.fedoraproject.org</a>&gt;<br>

<span style="font-weight:bold">Subject: </span>Re: [389-users] How to set up 389 client<br></div><div><br></div><div><div><p dir="ltr">First of all on the client side what as you using sssd or ldap pan module?
</p><p dir="ltr">To create Home dir enablemkhomedir option should be given to authconfig and which is already specified in the Guide.
</p><div>On Dec 20, 2012 12:43 PM, &quot;Chaudhari, Rohit K.&quot; &lt;<a>Rohit.Chaudhari@jhuapl.edu</a>&gt; wrote:<br type="attribution"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hey Chandan,</div><div><br></div><div>I tried your guide and am still getting the same issues with the CA not being trusted.  How do I make the certificate trusted to the client?</div>

<div><br></div><div>Also, my main goal is to be able to create a new user on LDAP on the server side (with POSIX attributes) and then when I try to log in for the first time on the client machine, it should find the information in the LDAP server and let me login as a newly
 created user.  Have you tried doing this before?</div><div><br></div><div>When I did a id &lt;ldap-userid&quot; on the client side, it was returning values for me for EXISTING user accounts on the client side, but nothing on users I didn&#39;t have already created on the client side.  How do I get this to work?  I have been banging my head
 on this for way too long!</div><div><br></div><div>Thanks,</div><div><br></div><div>Rohit</div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span>Chandan Kumar &lt;<a>chandank.kumar@gmail.com</a>&gt;<br><span style="font-weight:bold">Reply-To: </span>&quot;General discussion list for the 389 Directory server project.&quot; &lt;<a>389-users@lists.fedoraproject.org</a>&gt;<br>

<span style="font-weight:bold">Date: </span>Thursday, December 13, 2012 1:57 PM<br><span style="font-weight:bold">To: </span>&quot;General discussion list for the 389 Directory server project.&quot; &lt;<a>389-users@lists.fedoraproject.org</a>&gt;<br>

<span style="font-weight:bold">Subject: </span>Re: [389-users] How to set up 389 client<br></div><div><br></div><div><div><div>Unknown CA means the certificate that you have copied to client machine is not trusted.</div>
<div>
<br></div><div>Please make sure there are no typos in the sssd.conf file for the certificate directory path or at the ldap.conf path. </div><div><br></div>
No I have not tested it on Redhat. I only have Centos servers. The answer to your question is yes but with Centos not with Redhat.
<div><br></div><div>Also if you want to check whether you ldap auth is working, just do &quot;id &lt;ldap-userid&gt;&quot; it should show the information. If it does not then please check your nssswitch.conf and sssd parameters.</div>

<div><br></div><div>In my case, the ldapsearch was throwing error with certificates, however, sssd user authentication was working perfect. <br><br>
On Thursday, December 13, 2012, Chaudhari, Rohit K. wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Calibri,sans-serif;font-size:14px">

I recall setting it up like the instructions stated and when I ran wireshark I got the following error:</div><div style="font-family:Calibri,sans-serif;font-size:14px"><br></div><div style="font-family:Calibri,sans-serif;font-size:14px">

<span style="font-family:verdana;font-size:13px">TLSv1 Alert (Level: Fatal, Description: Unknown CA)</span></div><div style="font-family:Calibri,sans-serif;font-size:14px"><span style="font-family:verdana;font-size:13px"><br>

</span></div><div><font face="verdana"><span style="font-size:13px">The procedure is as follows:</span></font></div><div><font face="verdana"><span style="font-size:13px">Create new user in LDAP server</span></font></div>

<div><font face="verdana"><span style="font-size:13px">Create POSIX attributes for that new user</span></font></div><div><font face="verdana"><span style="font-size:13px">Try to log into local box that authenticates against LDAP server with new user for first time</span></font></div>

<div><font face="verdana"><span style="font-size:13px">It prevents me from logging in successfully (I&#39;ve had this work before in CentOS)</span></font></div><div><font face="verdana"><span style="font-size:13px"><br></span></font></div>

<div><font face="verdana"><span style="font-size:13px">Have you been able to succ</span></font></div></div></blockquote></div></div></div></span></div></blockquote></div></div></div></span></div></blockquote></div><br><br>


-- <br><br><div>--</div><div><a href="http://about.me/chandank" target="_blank">http://about.me/chandank</a><br></div><br></div></div></div></div></span></div>
<br>--<br>
389 users mailing list<br>
<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br></blockquote></div><br></div>