summaryrefslogtreecommitdiff
path: root/source3/lib/sharesec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/sharesec.c')
-rw-r--r--source3/lib/sharesec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index 4380000080..5eaa25ac59 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -29,12 +29,7 @@ static struct db_context *share_db; /* used for share security descriptors */
/* Map generic permissions to file object specific permissions */
-static const struct generic_mapping file_generic_mapping = {
- FILE_GENERIC_READ,
- FILE_GENERIC_WRITE,
- FILE_GENERIC_EXECUTE,
- FILE_GENERIC_ALL
-};
+const struct generic_mapping file_generic_mapping;
static int delete_fn(struct db_record *rec, void *priv)
{