git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8c569e
)
sharesec: use db_open_trans()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 28 Mar 2008 07:27:11 +0000
(08:27 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 1 Apr 2008 12:04:21 +0000
(14:04 +0200)
metze
(This used to be commit
1c59142ccc46616c10b98c51601361f203d542d6
)
source3/lib/sharesec.c
patch
|
blob
|
history
diff --git
a/source3/lib/sharesec.c
b/source3/lib/sharesec.c
index a2aed7921cf340b4cf137bb8c4eabc33883c33fe..3d9e6083874431a9c08b536ea91690f90526bf20 100644
(file)
--- a/
source3/lib/sharesec.c
+++ b/
source3/lib/sharesec.c
@@
-51,8
+51,8
@@
static bool share_info_db_init(void)
return True;
}
- share_db = db_open
(NULL, state_path("share_info.tdb"), 0, TDB_DEFAULT
,
- O_RDWR|O_CREAT, 0600);
+ share_db = db_open
_trans(NULL, state_path("share_info.tdb"), 0
,
+
TDB_DEFAULT,
O_RDWR|O_CREAT, 0600);
if (share_db == NULL) {
DEBUG(0,("Failed to open share info database %s (%s)\n",
state_path("share_info.tdb"), strerror(errno) ));