summaryrefslogtreecommitdiff
path: root/source3/profile/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/profile/profile.c')
-rw-r--r--source3/profile/profile.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index bacf00eb01..ba9596301c 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -158,8 +158,12 @@ BOOL profile_setup(BOOL rdonly)
return False;
}
- if (shm_ds.shm_perm.cuid != sec_initial_uid() || shm_ds.shm_perm.cgid != sec_initial_gid()) {
- DEBUG(0,("ERROR: we did not create the shmem (owned by another user)\n"));
+ if (shm_ds.shm_perm.cuid != sec_initial_uid() ||
+ shm_ds.shm_perm.cgid != sec_initial_gid()) {
+ DEBUG(0,("ERROR: we did not create the shmem "
+ "(owned by another user, uid %u, gid %u)\n",
+ shm_ds.shm_perm.cuid,
+ shm_ds.shm_perm.cgid));
return False;
}