The branch, v3-3-test has been updated via 5cbad4679451648312dc313e588e33cd1d4ef9b2 (commit) via 97e9a11075f27d0b38e4963c2ad8f917e17f7f86 (commit) from f5a597d3ca2257fa5614b0a9ca6cfb667b02d084 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log ----------------------------------------------------------------- commit 5cbad4679451648312dc313e588e33cd1d4ef9b2 Merge: 97e9a11075f27d0b38e4963c2ad8f917e17f7f86 f5a597d3ca2257fa5614b0a9ca6cfb667b02d084 Author: Jeremy Allison <[EMAIL PROTECTED]> Date: Wed Aug 27 11:38:09 2008 -0700 Merge branch 'v3-3-test' of ssh://[EMAIL PROTECTED]/data/git/samba into v3-3-test commit 97e9a11075f27d0b38e4963c2ad8f917e17f7f86 Author: Jeremy Allison <[EMAIL PROTECTED]> Date: Wed Aug 27 11:29:44 2008 -0700 Be explicit about setting perms for the ldb. Helps others who may use this api. Jeremy. ----------------------------------------------------------------------- Summary of changes: source/groupdb/mapping_ldb.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source/groupdb/mapping_ldb.c b/source/groupdb/mapping_ldb.c index ce65d7c..7ce879f 100644 --- a/source/groupdb/mapping_ldb.c +++ b/source/groupdb/mapping_ldb.c @@ -60,6 +60,9 @@ static bool init_group_mapping(void) ldb = ldb_init(NULL); if (ldb == NULL) goto failed; + /* Ensure this db is created read/write for root only. */ + ldb_set_create_perms(ldb, 0600); + existed = file_exist(db_path, NULL); if (lp_parm_bool(-1, "groupmap", "nosync", False)) { -- Samba Shared Repository