git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54068ae
)
don't test for root ownership of profile shared memory segment
author
Herb Lewis
<herb@samba.org>
Wed, 18 Jul 2001 01:13:16 +0000
(
01:13
+0000)
committer
Herb Lewis
<herb@samba.org>
Wed, 18 Jul 2001 01:13:16 +0000
(
01:13
+0000)
(This used to be commit
d7023b881a3e36199f20dba36bd930454d5131cb
)
source3/profile/profile.c
patch
|
blob
|
history
diff --git
a/source3/profile/profile.c
b/source3/profile/profile.c
index 20ad8531d88cd2d6d344fcef9585908bcb96ddad..430732c6f86c09d178aeec7de5bfe50aa0b281a4 100644
(file)
--- 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",