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:
93ad34c
)
s3:sharesec: return an error if get_share_security() returns NULL
author
Stefan Metzmacher
<metze@samba.org>
Wed, 6 Jul 2011 10:31:41 +0000
(12:31 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 6 Jul 2011 13:40:23 +0000
(15:40 +0200)
This indicates an error, as it uses get_share_security_default()
if no security descriptor is configured.
Jeremy, please check.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jul 6 15:40:23 CEST 2011 on sn-devel-104
source3/lib/sharesec.c
patch
|
blob
|
history
diff --git
a/source3/lib/sharesec.c
b/source3/lib/sharesec.c
index 66e3401771625a54b4b0d10f216652ea8e0f674a..2f625351b22a3f55948ae2fc49027eda18e1bec2 100644
(file)
--- a/
source3/lib/sharesec.c
+++ b/
source3/lib/sharesec.c
@@
-426,7
+426,7
@@
bool share_access_check(const struct security_token *token,
if (pgranted != NULL) {
*pgranted = desired_access;
}
- return
Tru
e;
+ return
fals
e;
}
status = se_access_check(psd, token, desired_access, &granted);