[Freeipa-devel] [PATCH] 943 detect duplicate winsync agreement

Martin Kosek mkosek at redhat.com
Thu Feb 23 19:07:34 UTC 2012


On Wed, 2012-02-08 at 14:52 -0500, Rob Crittenden wrote:
> We currnently only support a single winsync agreement against any given 
> host so all we need to do is check to see if we have one with the remote 
> host.
> 
> This also adds some minor exception handling cleanup.
> 
> https://fedorahosted.org/freeipa/ticket/2130
> 
> This depends on my patch 935.
> 
> I have a ticket open, 2358, to add support for multiple agreements.
> 
> rob

winsync replica management now looks and works fine, good job there.
Though I found an issue in our ipa-winsync plugin during the review.

The plugin tries to look for GID number of our default users group so
that it can use it for added user. But since ipausers group is now
non-posix, it fails to find the GID and creates a user without
objectclass posixuser. It is then unusable and is not shown in
"user-find" command. Details are in a ticket I created:

https://fedorahosted.org/freeipa/ticket/2436

But back to your patches. I found out that 943 broke connecting to
standard replica:

# ipa-replica-manage connect vm-115.idm.lab.bos.redhat.com
unexpected error: coercing to Unicode: need string or buffer, NoneType
found

There are at least 2 problems in this area:
1) It does duplicate winsync agreement check against non-winsync replica
2) It now adds a cert even though it wasn't passed to ipa-replica-manage

Martin




More information about the Freeipa-devel mailing list