[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Wed Jul 6 04:55:03 MDT 2011
The branch, master has been updated
via 310fff0 s3:sharesec: also initialize pgranted if get_share_security() returns NULL
from 2dfc898 s3: Follow the TALLOC_FREE convention in source3
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 310fff02a68d87a8af3e2cff0560669eb8bb091a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jul 5 16:59:41 2011 +0200
s3:sharesec: also initialize pgranted if get_share_security() returns NULL
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Wed Jul 6 12:54:30 CEST 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/lib/sharesec.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index 0c06d7b..66e3401 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -423,6 +423,9 @@ bool share_access_check(const struct security_token *token,
psd = get_share_security(talloc_tos(), sharename, &sd_size);
if (!psd) {
+ if (pgranted != NULL) {
+ *pgranted = desired_access;
+ }
return True;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list