summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2001-11-25 18:49:20 +0000
committerVolker Lendecke <vlendec@samba.org>2001-11-25 18:49:20 +0000
commit64bfd85d95f5a4e23dc0ca7f36966d485aa45253 (patch)
tree555cad2fbfd63ec8d17c9cb88e815310e395be23 /source3/passdb
parent660fa6632e810aa37e5e8b8b91c2456cfc1561a3 (diff)
downloadsamba-64bfd85d95f5a4e23dc0ca7f36966d485aa45253.tar.gz
samba-64bfd85d95f5a4e23dc0ca7f36966d485aa45253.tar.bz2
samba-64bfd85d95f5a4e23dc0ca7f36966d485aa45253.zip
Don't close tdb twice.
(This used to be commit 6dda341bc80dc7c4d044df134fc153f646a6a4e9)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_tdb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 3153b47337..332118425b 100644
--- 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;
}