From 8afd52a6418125100a5e8a6a4312c0460e57ac88 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 4 Apr 2010 00:21:09 +0200 Subject: s4-python: Move samdb_server_site_name to dsdb module. --- source4/scripting/python/samba/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/scripting/python/samba') diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py index 73c0ba6f12..7299e11392 100644 --- a/source4/scripting/python/samba/__init__.py +++ b/source4/scripting/python/samba/__init__.py @@ -42,6 +42,7 @@ else: import ldb +import dsdb import glue class Ldb(ldb.Ldb): @@ -310,7 +311,7 @@ class Ldb(ldb.Ldb): def server_site_name(self): "Get the server site name" - return glue.samdb_server_site_name(self) + return dsdb.samdb_server_site_name(self) def set_opaque_integer(self, name, value): """Set an integer as an opaque (a flag or other value) value on the database -- cgit