git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a89e30
)
ldb: Fix permissions of new ldg files.
author
Karolin Seeger
<kseeger@samba.org>
Wed, 27 Aug 2008 11:23:20 +0000
(13:23 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 27 Aug 2008 11:32:09 +0000
(13:32 +0200)
This one fixes together with
2eaf4ed62
bug #5715 and CVE-2008-3789.
Thanks to Steve Langasek <vorlon@debian.org> for reporting!
Karolin
(cherry picked from commit
b666d0a4b597218f5f5020bf36d80d84dcbf7259
)
(This used to be commit
73f54df7fedc8f0db022f902100fd5eb1b629fb2
)
source3/lib/ldb/common/ldb.c
patch
|
blob
|
history
diff --git
a/source3/lib/ldb/common/ldb.c
b/source3/lib/ldb/common/ldb.c
index e469c49399ac169617fc6b72efa92bada4268a6c..743711b9672ca73a482767a855c7dc9db439d2a6 100644
(file)
--- a/
source3/lib/ldb/common/ldb.c
+++ b/
source3/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, 06
66
);
+ ldb_set_create_perms(ldb, 06
00
);
return ldb;
}