Make sure share_info.tdb is open before attempting to delete an entry