mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
don't test for root ownership of profile shared memory segment
This commit is contained in:
parent
0b13f495b3
commit
d7023b881a
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user