<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt"><br><div> <br><span style="color: rgb(128, 0, 255);">Dear All Openldap USERS on Fedora-Linux,</span><br style="color: rgb(128, 0, 255);"><br style="color: rgb(128, 0, 255);"><span style="color: rgb(128, 0, 255);">This is Jyotishmaan Ray, from <span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1195618659_0">Silchar, India</span>.</span><br style="color: rgb(128, 0, 255);"><br style="color: rgb(128, 0, 255);"><span style="color: rgb(128, 0, 255);">I
have been working on migration of users from fedora-linux server to
LDAP server. Of late after i have migrated the all users, as per the
adminitration guide of openldap sofware, i realised that i have done
something wrong, because of which the authentication is not
successfully happening.</span><br style="color: rgb(128, 0, 255);"><br style="color: rgb(128, 0, 255);"><span style="color: rgb(128, 0, 255);">Now please those openldap experts who are on
 linux-fedora platform please kindly pay attention to my questions:-</span><br style="color: rgb(128, 0, 255);"><br style="color: rgb(128, 0, 255);"><br style="color: rgb(128, 0, 255);"><span style="color: rgb(128, 0, 255);">1) Is it necessary to execute the following steps :-</span><br style="color: rgb(128, 0, 255);"><p style="color: rgb(128, 0, 255);">Now you are ready to migrate the data (actually it works even without the export command):</p>
<p style="color: rgb(128, 0, 255);" class="command">
export ETC_SHADOW=/etc/shadow<br>
./migrate_base.pl > /tmp/base.ldif<br>
./migrate_group.pl /etc/group /tmp/group.ldif<br>
./migrate_hosts.pl /etc/hosts /tmp/hosts.ldif<br>
./migrate_passwd.pl /etc/passwd /tmp/passwd.ldif<br>
</p>
<p style="color: rgb(128, 0, 255);">Now we have the data in the format understood by LDAP server. Please
open one the files with text editor to get used to the syntax. After
that we can add the data from ldifs.</p>
<p style="color: rgb(128, 0, 255);" class="command">ldapadd -D "cn=Manager,dc=domain,dc=com" -W -f /tmp/base.ldif</p>
<p style="color: rgb(128, 0, 255);" class="command">ldapadd -D "cn=Manager,dc=domain,dc=com" -W -f /tmp/group.ldif</p>
<p style="color: rgb(128, 0, 255);" class="command">ldapadd -D "cn=Manager,dc=domain,dc=com" -W -f /tmp/passwd.ldif</p>
<p style="color: rgb(128, 0, 255);" class="command">ldapadd -D "cn=Manager,dc=domain,dc=com" -W -f /tmp/hosts.ldif</p>
<br style="color: rgb(128, 0, 255);"><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">However, i have not performed all the above steps except for the addition of users!!</p><br style="color: rgb(128, 0, 255);"><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">As
of now, when i finger the users, it shows fine. But when i try to log
ion to the server machine using ssh localhost.localdomain. -l xyx,</p><p style="color: rgb(128, 0, 255);">it asks me the password twice one trial after another and susequently throwing the message:-</p><br style="color: rgb(128, 0, 255);"><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">[root@authdns bin]# ssh <a rel="nofollow" target="_blank" href="http://authdns.nits.ac.in/"><span class="yshortcuts" id="lw_1195557598_1">authdns.nits.ac.in</span></a> -l jmaan<br><span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1195618659_1">jmaan@authdns.nits.ac.in</span>'s password: <br>Permission denied, please try again.<br><span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts"
 id="lw_1195618659_2">jmaan@authdns.nits.ac.in</span>'s password: <br>Permission denied, please try again.<br><span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1195618659_3">jmaan@authdns.nits.ac.in</span>'s password:
 <br>Permission denied (publickey,gssapi-with-mic,password).</p><p style="color: rgb(128, 0, 255);"><br>[root@authdns bin]# <br></p><br><p style="color: rgb(128, 0, 255);"><br></p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">After seaching on the <a rel="nofollow" target="_blank" href="http://google.co.in/"><span class="yshortcuts" id="lw_1195557598_5">google.co.in</span></a>, i have changed the default permission of the /dev/tty (666) to 777.</p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">Still
it is not successfully working with ssh. I just wanted to make it sure
that i could log in with user locally, to my server. However, the
/etc/passwd file does not shows the passwd field of the users as 'x'
but rather as '*'. <br></p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">To check this i have tried using the command,</p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">getent passwd|grep user</p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">it worked fine.</p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">Please
tell me it is because i have not performed the first few steps of
ldapadd of base.ldif, hosts.ldif, group.ldif to the ldap server that,
its not working.</p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">I have also worked with the command:-</p><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);"> pwconv</p><br><p style="color: rgb(128, 0, 255);"><br></p><p style="color: rgb(128, 0, 255);">to generate the new shadow file from  the /etc/passwd file.</p><br><p style="color: rgb(128, 0, 255);"><br></p>Please help!!</div><div><div><div><div><div><div><div><div><div><div><div><font color="#0000ff"></font></div><font color="#0000ff"></font></div><div><font color="#0000ff">With Thanks and Regards, <br>Jyotishmaan Ray </font></div><div><font color="#0000ff">Moderator Of Paradise Groups </font></div><div><font color="#0000ff"><a rel="nofollow" target="_blank" href="http://yahoogroups.com/group/Spirituality-Paradise">http://yahoogroups.com/group/Spirituality-Paradise</a></font></div><div> </div><div><font color="#0000ff">Are
 You Spiritually Aware  !!! Are You Enjoying Yourself  !!!  See What All You Had Been Missing !!!!<br>Please Join Immediately By Sending A Blank Mail @  <br><a rel="nofollow" target="_blank" href="mailto:Spirituality-Paradise-subscribe@yahoogroups.com">Spirituality-Paradise-subscribe@yahoogroups.com</a> <br> </font></div><div><font color="#0000ff"></font> </div><div> </div></div></div></div></div></div></div></div></div></div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><br></div></div><br>
      <hr size=1>Be a better sports nut! Let your teams follow you 
with Yahoo Mobile. <a href="http://us.rd.yahoo.com/evt=51731/*http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
">Try it now.</a></body></html>