r1375: When setting writable=yes in smb.conf and only allow read access in the
authorVolker Lendecke <vlendec@samba.org>
Wed, 7 Jul 2004 13:13:15 +0000 (13:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:08 +0000 (10:52 -0500)
commit7c673bd910e1fcbbf07198f38ceddd81e9064c11
tree5780c9d42bc75755cdda3973f86720422823ec16
parent4bdf914cba2a63d186138d1341a7260ad79da1f5
r1375: When setting writable=yes in smb.conf and only allow read access in the
security descriptor, allow read access. The code failed in this case.

Jeremy, could you please cross-check this? The way I understood your code it
could only work if smb.conf and secdesc said the same. This made the use of
srvmgr a bit difficult.... What was your intention on how to use the
share_info.tdb?

The current code might check the secdesc twice, but I don't see any decent way
around it that does not completely clutter the code.

Volker
source/smbd/uid.c