Re: [Freeipa-users] EXTERNAL: Re: IPA - NIS Compatability
On Wed, Mar 27, 2013 at 01:42:58PM -0400, Joseph, Matthew (EXP) wrote: Hey Nalin, Sorry typo on my part. It does say nis-base. Alright then. The next thing to check is if the directory entries the plugin's finding have data that the plugin expects to use to create entries in the NIS map. Based on your configuration: nis-map: hosts.byname nis=base: cn=computers,cn=accounts,dc=domain,dc=ca nis-domain: domain.ca nis-secure: no And these defaults (courtesy of nisserver-plugin-defs -m hosts.byname): nis-filter: ((ipHostNumber=*)(cn=*)) nis-keys-format: %{cn} nis-value-format: %first(%{cn}) %{ipHostNumber} %merge( ,%{cn}) The plugin's looking for host entries which contain one or more of both the 'cn' and 'ipHostNumber' attributes. Do you have an example entry from that area of the tree? Does it contain those attributes? Nalin ___ Freeipa-users mailing list Freeipa-users@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-users
Re: [Freeipa-users] EXTERNAL: Re: IPA - NIS Compatability
Hey Nalin, Sorry typo on my part. It does say nis-base. -Original Message- From: Nalin Dahyabhai [mailto:na...@redhat.com] Sent: Wednesday, March 27, 2013 12:57 PM To: Joseph, Matthew (EXP) Cc: freeipa-users@redhat.com Subject: EXTERNAL: Re: [Freeipa-users] IPA - NIS Compatability On Wed, Mar 27, 2013 at 11:07:44AM -0400, Joseph, Matthew (EXP) wrote: Here is the entry that is in dse.ldif: Dn= nis-domain=domain.ca+nis-map=hosts.byname,CN=NIS Server,cn=plugin,cn=config objectClass: top objectClass: extensibleObject nis-map: hosts.byname nis=base: cn=computers,cn=accounts,dc=domain,dc=ca nis-domain: domain.ca nis-secure: no creatorsName: cn=directory manager modifiersName: cn=directory manager So when I run ypcat hosts it just brings up a blank entry so it is actually seeing that a table should be there. Any ideas? Looks like you've got a typo: nis=base where nis-base was intended. HTH, Nalin ___ Freeipa-users mailing list Freeipa-users@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-users