r13589: Make sure we only try to close the tdbsam file in endsampwent() when we
commit87ef96e6be75fb4988fac48b2e21892720c20426
authorGerald Carter <jerry@samba.org>
Tue, 21 Feb 2006 14:03:15 +0000 (21 14:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:16 +0000 (10 11:10 -0500)
tree9eb8577a08268745b8bcdd620093f36bec9242f9
parenta57f37420b2b41b1905e2eefa385036b9ddb5bcf
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.
(This used to be commit 77332f0738423d16a2b5e21af6aaf92b029da0ef)
source3/passdb/pdb_tdb.c