[PATCH]: "hide special" totally hides admins
buc
buc at odusz.elektra.ru
Mon Dec 22 17:12:14 GMT 2003
When "hide special files" = "yes", admin users of a share cannot see
files. it is because of a bug in smbd/dir.c, see the patch.
Dmitry Butskoj <buc at odusz.elektra.ru>
--- dir.c Sat Jun 7 21:57:39 2003
+++ dir.cOK Thu Nov 27 16:33:04 2003
@@ -793,7 +793,7 @@
*/
if (conn->admin_user)
- return True;
+ return False;
/* If we can't stat it does not show it */
if (!VALID_STAT(*pst) && (SMB_VFS_STAT(conn, name, pst) != 0))
More information about the samba-technical
mailing list