diff options
Diffstat (limited to 'debian/patches/CVE-2008-3789-ldb-permissions.patch')
-rw-r--r-- | debian/patches/CVE-2008-3789-ldb-permissions.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/CVE-2008-3789-ldb-permissions.patch b/debian/patches/CVE-2008-3789-ldb-permissions.patch new file mode 100644 index 0000000000..07ce0be769 --- /dev/null +++ b/debian/patches/CVE-2008-3789-ldb-permissions.patch @@ -0,0 +1,29 @@ +From 2b72b0fe8d17b8ea29f966196862a9b895a55f62 Mon Sep 17 00:00:00 2001 +From: Karolin Seeger <kseeger@samba.org> +Date: Mon, 25 Aug 2008 09:37:26 +0200 +Subject: [PATCH] ldb: Fix permissions of group_mapping.ldb. + +This one fixes bug #5715. +Thanks to Steve Langasek for reporting! + +Karolin +--- + source/lib/ldb/common/ldb.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c +index e469c49..743711b 100644 +--- a/source/lib/ldb/common/ldb.c ++++ b/source/lib/ldb/common/ldb.c +@@ -51,7 +51,7 @@ struct ldb_context *ldb_init(void *mem_ctx) + } + + ldb_set_utf8_default(ldb); +- ldb_set_create_perms(ldb, 0666); ++ ldb_set_create_perms(ldb, 0600); + + return ldb; + } +-- +1.5.4.4 + |