summaryrefslogtreecommitdiffstats
path: root/src/account/LMI_ServiceAffectsIdentityProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/account/LMI_ServiceAffectsIdentityProvider.c')
-rw-r--r--src/account/LMI_ServiceAffectsIdentityProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/account/LMI_ServiceAffectsIdentityProvider.c b/src/account/LMI_ServiceAffectsIdentityProvider.c
index 5eccab4..5d302a2 100644
--- a/src/account/LMI_ServiceAffectsIdentityProvider.c
+++ b/src/account/LMI_ServiceAffectsIdentityProvider.c
@@ -24,7 +24,6 @@
#include "LMI_Identity.h"
#include "macros.h"
-#include "globals.h"
#include "aux_lu.h"
#include "account_globals.h"
@@ -100,7 +99,7 @@ static CMPIStatus LMI_ServiceAffectsIdentityEnumInstances(
lue = g_ptr_array_index(accounts, i);
LMI_IdentityRef_Init(&liref, _cb, nameSpace);
- asprintf(&id, ORGID":UID:%ld", aux_lu_get_long(lue, LU_UIDNUMBER));
+ asprintf(&id, LMI_ORGID":UID:%ld", aux_lu_get_long(lue, LU_UIDNUMBER));
LMI_IdentityRef_Set_InstanceID(&liref, id);
free(id);
@@ -127,7 +126,7 @@ static CMPIStatus LMI_ServiceAffectsIdentityEnumInstances(
lue = g_ptr_array_index(accounts, i);
LMI_IdentityRef_Init(&liref, _cb, nameSpace);
- asprintf(&id, ORGID":GID:%ld", aux_lu_get_long(lue, LU_GIDNUMBER));
+ asprintf(&id, LMI_ORGID":GID:%ld", aux_lu_get_long(lue, LU_GIDNUMBER));
LMI_IdentityRef_Set_InstanceID(&liref, id);
free(id);