summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-18 13:28:37 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-18 13:28:37 +0000
commit4a33bc9c73f213c21b4eefa1acd807a9894bc1ab (patch)
treeec463699b26c3973ce5156b334046189d2ab4d0f /source3/sam
parente6fd597fce61787789b76c323c56edc979e4e1fc (diff)
downloadsamba-4a33bc9c73f213c21b4eefa1acd807a9894bc1ab.tar.gz
samba-4a33bc9c73f213c21b4eefa1acd807a9894bc1ab.tar.bz2
samba-4a33bc9c73f213c21b4eefa1acd807a9894bc1ab.zip
There's nothing particularly secret in idmap.tdb, so create it with
0644 as the other databases. Volker (This used to be commit 5849053930474b1e735f3232995813ef5126ad00)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap_tdb.c b/source3/sam/idmap_tdb.c
index cb595c4578..ad7c5c2e6c 100644
--- a/source3/sam/idmap_tdb.c
+++ b/source3/sam/idmap_tdb.c
@@ -363,7 +363,7 @@ static NTSTATUS db_idmap_init( char *params )
/* Open tdb cache */
if (!(idmap_tdb = tdb_open_log(tdbfile, 0,
TDB_DEFAULT, O_RDWR | O_CREAT,
- 0600))) {
+ 0644))) {
DEBUG(0, ("idmap_init: Unable to open idmap database\n"));
SAFE_FREE(tdbfile);
return NT_STATUS_UNSUCCESSFUL;