Resolves: bug 470918
Bug Description: The replica_set_updatedn() checks the type of modify
it is dealing with by checking if specific bits are set when the
replica update DN
attribute is being modified. The problem is that the value of
LDAP_MOD_ADD is 0,
so you can't use a simple bit check.
Reviewed by: ???
Files: see diff
Fix Description: The fix is to check the value of the modify operation
of doing a simple bit check. We need to be careful to exclude the
bit flag for
LDAP_MOD_BVALUES since it could be set along with any of the modify
Rich suggested that a convenience macro would be nice for checking the
type, so I revised my previous fix to define new macros and to use them
server. The link to the new diffs is below.
Fedora-directory-devel mailing list