diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-07-16 19:43:15 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-07-16 13:51:51 +0200 |
commit | c92a5670e3d60decbc13bd8680de37184bc12815 (patch) | |
tree | 5d0987b2c12caba6235cd55c35f87cde0c784ad8 /tests/crypttest.c | |
parent | a8e88332a394f4a4c3e43b496738008fba39d39f (diff) | |
download | samba-c92a5670e3d60decbc13bd8680de37184bc12815.tar.gz samba-c92a5670e3d60decbc13bd8680de37184bc12815.tar.bz2 samba-c92a5670e3d60decbc13bd8680de37184bc12815.zip |
pytdb: Check if the database is closed before we touch it
If .close() has already been called, we have to play dead - the
self->ctx is just not valid any more, as we have been shut down to
allow some other part of Samba to open the tdb.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 16 13:51:52 CEST 2012 on sn-devel-104
Diffstat (limited to 'tests/crypttest.c')
0 files changed, 0 insertions, 0 deletions