<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/06/2009 10:36 AM, garyv wrote:
<blockquote cite="mid:4ACB802C.2080205@gmoneylove.com" type="cite">Hi,
  <br>
  <br>
I've installed freeIPA  (ipa-server-1.2.2-1.fc11.i586)and have the base
functionality working and I'm quite pleased.
  <br>
  <br>
The problem I'm experiencing is with getting slapi-nis to function
properly.
  <br>
  <br>
Reading other posts in the list I was able to get FreeIPA to serve NIS
maps, and clients to bind to the NIS dom, but no passwords/auth work
for users.
  <br>
  <br>
Any tips on setup/troubleshooting this?
  <br>
</blockquote>
I haven't do any ipa-nis configuration for a while, here is my old
notes, they might still work<br>
<br>
<ul>
  <li> NIS client host set up in general
  </li>
</ul>
<p>This is what RHEL linux should follow. <a
 href="http://rome.sjc.redhat.com/mediawiki/index.php/IPA_NIS_plugin_test_plan#NIS_Configuration_Guide"
 title=""></a> </p>
<ol>
  <li> Append the following line in the <b>/etc/sysconfig/network</b>
file:
    <ul>
      <li> <font color="blue"> NISDOMAIN=mynisdomain </font>
      </li>
    </ul>
  </li>
  <li> Append the following line in <b>/etc/yp.conf</b> :
    <ul>
      <li> <font color="blue"> domain mynisdomain server 192.168.0.1 </font>
        <small> replace ip to the IPA server IP </small>
      </li>
    </ul>
  </li>
  <li> Make sure the following lines contain 'nis' as an option in the
file <b>/etc/nsswitch.conf</b> <font color="blue">
    </font>
    <ul>
      <font color="blue">
      <li> passwd: files nis
      </li>
      <li> shadow: files nis
      </li>
      <li> group: files nis
      </li>
      <li> hosts: files nis dns
      </li>
      <li> networks: files nis
      </li>
      <li> protocols: files nis
      </li>
      <li> publickey: nisplus
      </li>
      <li> automount: files nis
      </li>
      <li> netgroup: files nis
      </li>
      <li> aliases: files nisplus </li>
      </font>
    </ul>
  </li>
  <li> restart ypbind and portmap
    <ul>
      <li> <b>/etc/rc.d/init.d/ypbind restart</b>
      </li>
      <li> <b>/etc/rc.d/init.d/portmap restart</b></li>
    </ul>
    <br>
  </li>
</ol>
<br>
<blockquote cite="mid:4ACB802C.2080205@gmoneylove.com" type="cite"><br>
Thanks
  <br>
  <br>
Gary
  <br>
  <br>
on the Client:
  <br>
root@fell:~$ ypcat -k passwd
  <br>
ttest ttest:*:1102:1002:Tim  Test:/home/ttest:/bin/bash
  <br>
  <br>
root@fell:~$ ypwhich  -m
  <br>
passwd.byuid fcds.edited
  <br>
passwd.byname fcds.edited
  <br>
netid.byname fcds.edited
  <br>
group.upg fcds.nes.edited
  <br>
group.byname fcds.edited
  <br>
group.bygid fcds.edited
  <br>
  <br>
_______________________________________________
  <br>
Freeipa-users mailing list
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a>
  <br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</a>
  <br>
</blockquote>
<br>
</body>
</html>