git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660fa66
)
Don't close tdb twice.
author
Volker Lendecke
<vlendec@samba.org>
Sun, 25 Nov 2001 18:49:20 +0000
(18:49 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Sun, 25 Nov 2001 18:49:20 +0000
(18:49 +0000)
(This used to be commit
6dda341bc80dc7c4d044df134fc153f646a6a4e9
)
source3/passdb/pdb_tdb.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_tdb.c
b/source3/passdb/pdb_tdb.c
index 3153b4733746d4ac8805463f475cc26a91071a79..332118425b881fd2aef1534f6b70c77d587f5620 100644
(file)
--- a/
source3/passdb/pdb_tdb.c
+++ b/
source3/passdb/pdb_tdb.c
@@
-757,7
+757,6
@@
static BOOL tdb_update_sam(const SAM_ACCOUNT* newpwd, BOOL override, int flag)
if (tdb_store(pwd_tdb, key, data, flag) != TDB_SUCCESS) {
DEBUG(0, ("Unable to modify passwd TDB!"));
DEBUGADD(0, (" Error: %s\n", tdb_errorstr(pwd_tdb)));
- tdb_close (pwd_tdb);
ret = False;
goto done;
}