r13589: Make sure we only try to close the tdbsam file in endsampwent() when we
commit6bd0415faebd2b9ca28a841f77a438c1baed8bd0
authorGerald Carter <jerry@samba.org>
Tue, 21 Feb 2006 14:03:15 +0000 (21 14:03 +0000)
committerGerald Carter <jerry@samba.org>
Tue, 21 Feb 2006 14:03:15 +0000 (21 14:03 +0000)
tree738dc649f6f8faac6533d18d52dbfceb13be507f
parentbe760398fa08e3dea6db4a397737c010f19579c8
r13589: Make sure we only try to close the tdbsam file in endsampwent() when we
have a valid pwent list from a setsampwent().  Fixes a bug with the
reference count on the open tdb.
source/passdb/pdb_tdb.c