[Freeipa-devel] [PATCH] 0075 handle weird values in nolog

Simo Sorce ssorce at redhat.com
Thu Jan 27 12:48:38 UTC 2011


On Thu, 2011-01-27 at 11:43 +0100, Jan Zelený wrote:
> Simo Sorce <ssorce at redhat.com> wrote:
> > When using ipa-replica-manage re-initialize with GSSAPI credentials it
> > turns out that the DN password may be set to None and this can end up in
> > the nolog list.
> > 
> > Add a check to skip any non-string object in the log substitution list,
> > so that the code doesn't freak out on None objects.
> > 
> > Ticket #856
> > 
> > Simo.
> 
> 
> Ack,
> but only a code inspection performed, since I'm not sure how to test it 
> exactly.

If you want to test:
install replica, kinit admin, then run ipa-replica-manage re-initialize
--from other.master.com

W/o the patch it throws an error after it is done, w/ the patch it
terminates w/o errors.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list