mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 00:20:04 -06:00
ipa-uuid: Reset generate flag at every cycle
Avoid false positives if more than one uuid attribute is generated in the same entry.
This commit is contained in:
parent
56724fa024
commit
2d63522d48
@ -781,7 +781,7 @@ static int ipauuid_pre_op(Slapi_PBlock *pb, int modtype)
|
||||
LDAPMod **mods;
|
||||
bool free_entry = false;
|
||||
char *errstr = NULL;
|
||||
bool generate = false;
|
||||
bool generate;
|
||||
int ret = LDAP_SUCCESS;
|
||||
|
||||
LOG_TRACE("--in-->\n");
|
||||
@ -885,6 +885,8 @@ static int ipauuid_pre_op(Slapi_PBlock *pb, int modtype)
|
||||
list = PR_NEXT_LINK(list)) {
|
||||
cfgentry = (struct configEntry *) list;
|
||||
|
||||
generate = false;
|
||||
|
||||
/* Did we already service this attr? */
|
||||
if (ipauuid_list_contains_attr(generated_attrs,
|
||||
cfgentry->attr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user