summaryrefslogtreecommitdiffstats
path: root/src/account/LMI_MemberOfGroupProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/account/LMI_MemberOfGroupProvider.c')
-rw-r--r--src/account/LMI_MemberOfGroupProvider.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/account/LMI_MemberOfGroupProvider.c b/src/account/LMI_MemberOfGroupProvider.c
index 8751597..4928f4d 100644
--- a/src/account/LMI_MemberOfGroupProvider.c
+++ b/src/account/LMI_MemberOfGroupProvider.c
@@ -28,7 +28,6 @@
#include "aux_lu.h"
#include "macros.h"
#include "account_globals.h"
-#include "globals.h"
#include <libuser/entity.h>
#include <libuser/user.h>
@@ -104,7 +103,7 @@ static CMPIStatus LMI_MemberOfGroupEnumInstances(
lu_user_lookup_name(luc,
g_value_get_string(g_value_array_get_nth(accounts, j)),
luea, &error);
- asprintf(&uid, ORGID":UID:%ld",
+ asprintf(&uid, LMI_ORGID":UID:%ld",
aux_lu_get_long(luea, LU_UIDNUMBER));
LMI_IdentityRef_Init(&liref, _cb, nameSpace);
LMI_IdentityRef_Set_InstanceID(&liref, uid);
@@ -193,7 +192,7 @@ static CMPIStatus LMI_MemberOfGroupCreateInstance(
pwdlockres = lckpwdf();
if (pwdlockres != 0)
- warn("Cannot acquire passwd file lock\n");
+ lmi_warn("Cannot acquire passwd file lock\n");
luc = lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error);
if (!luc) {
@@ -291,7 +290,7 @@ static CMPIStatus LMI_MemberOfGroupDeleteInstance(
pwdlockres = lckpwdf();
if (pwdlockres != 0)
- warn("Cannot acquire passwd file lock\n");
+ lmi_warn("Cannot acquire passwd file lock\n");
luc = lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error);
if (!luc) {