1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-22 16:59:09 +03:00

s4-python: Start using standard python logging infrastructure rather

than simple messaging callbacks.
This commit is contained in:
Jelmer Vernooij
2010-06-13 15:05:50 +02:00
parent f0afda14ba
commit 956a256faa
7 changed files with 108 additions and 105 deletions

View File

@ -17,6 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from samba.auth import system_session
import logging
import os
from samba.provision import setup_samdb, guess_names, make_smbconf, find_setup_dir
from samba.tests import TestCaseInTempDir
@ -78,7 +79,7 @@ class SamDBTestCase(TestCaseInTempDir):
self.samdb = setup_samdb(path, self.setup_path, session_info, provision_backend,
self.lp, names,
lambda x: None, domainsid,
logging.getLogger("samdb"), domainsid,
domainguid,
policyguid, False, "secret",
"secret", "secret", invocationid,