On Sun, 03 Jan 2016, Harald Dunkel wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Alex,

On 01/03/16 13:31, Alexander Bokovoy wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1286781 is the bug. It has 
recommended workaround in comment 1.


What exactly is meant by "remove all NIS plugin entries"?
I had the impression that modifying the LDAP database using
vi is strictly prohibited. Is this correct?
Alternatively, do following:

ipa-nis-manage disable

ldapsearch -xLLL -D "cn=Directory Manager" -W -s onelevel -b "cn=NIS 
Server,cn=plugins,cn=config" dn

You'll get list of DNs like this:
dn: nis-domain=<domain>+nis-map=ethers.byaddr,cn=NIS Server,cn=plugins,cn=config

dn: nis-domain=<domain>+nis-map=ethers.byname,cn=NIS Server,cn=plugins,cn=config

Run ldapdelete -D "cn=Directory Manager" -W "<dn1>" "<dn2>" ...

where <dn..> is what you've got after "dn: "

This is how you can delete those entries.

After that, run 'ipa-nis-manage enable'.

--
/ Alexander Bokovoy

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Reply via email to