summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/ipa-slapi-plugins')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-uuid/ipa_uuid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-uuid/ipa_uuid.c b/daemons/ipa-slapi-plugins/ipa-uuid/ipa_uuid.c
index d122f7d6..d80562b7 100644
--- a/daemons/ipa-slapi-plugins/ipa-uuid/ipa_uuid.c
+++ b/daemons/ipa-slapi-plugins/ipa-uuid/ipa_uuid.c
@@ -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)) {