git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).
[obnox/samba/samba-obnox.git]
/
source3
/
smbd
/
dir.c
diff --git
a/source3/smbd/dir.c
b/source3/smbd/dir.c
index cc7488681049c5465f00c16bbbd33164bbc78294..8af0dad8c3a6b92287719a7c1ee7abb07bbab9f0 100644
(file)
--- a/
source3/smbd/dir.c
+++ b/
source3/smbd/dir.c
@@
-1161,7
+1161,9
@@
static bool user_can_read_file(connection_struct *conn,
return True;
}
- return can_access_file_acl(conn, smb_fname, FILE_READ_DATA);
+ return NT_STATUS_IS_OK(smbd_check_access_rights(conn,
+ smb_fname,
+ FILE_READ_DATA));
}
/*******************************************************************