summaryrefslogtreecommitdiff
path: root/source3/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
commite6866f1851c0fe6c1f9644339ef2ede362e8c851 (patch)
tree6a1eb509518f7f9ffe53c61d99386f27defb7540 /source3/profile
parent54068ae8f390bc008116cbeb459bbd39cd098392 (diff)
downloadsamba-e6866f1851c0fe6c1f9644339ef2ede362e8c851.tar.gz
samba-e6866f1851c0fe6c1f9644339ef2ede362e8c851.tar.bz2
samba-e6866f1851c0fe6c1f9644339ef2ede362e8c851.zip
don't test for root ownership of profile shared memory segment
(This used to be commit d7023b881a3e36199f20dba36bd930454d5131cb)
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index 20ad8531d8..430732c6f8 100644
--- a/source3/profile/profile.c
+++ b/source3/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",