summaryrefslogtreecommitdiff
path: root/source/profile
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-07-18 01:13:16 +0000
committerHerb Lewis <herb@samba.org>2001-07-18 01:13:16 +0000
commitd7023b881a3e36199f20dba36bd930454d5131cb (patch)
tree68ebd24e086c2ce6bcc5aa7773db88bedb8f6450 /source/profile
parent0b13f495b31887d526b46a48a812fa3fd418ce8e (diff)
downloadsamba-d7023b881a3e36199f20dba36bd930454d5131cb.tar.gz
don't test for root ownership of profile shared memory segment
Diffstat (limited to 'source/profile')
-rw-r--r--source/profile/profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/profile/profile.c b/source/profile/profile.c
index 20ad8531d88..430732c6f86 100644
--- a/source/profile/profile.c
+++ b/source/profile/profile.c
@@ -130,10 +130,12 @@ BOOL profile_setup(BOOL rdonly)
return False;
}
+#if 0
if (shm_ds.shm_perm.cuid != 0 || shm_ds.shm_perm.cgid != 0) {
DEBUG(0,("ERROR: root did not create the shmem\n"));
return False;
}
+#endif
if (shm_ds.shm_segsz != sizeof(*profile_h)) {
DEBUG(0,("WARNING: profile size is %d (expected %d). Deleting\n",