r26521: Fix newlines.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 18 Dec 2007 01:21:24 +0000 (02:21 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:51:40 +0000 (05:51 +0100)
(This used to be commit 174aa1583791a4c305bc49cf78f8f10d42701bc9)

source4/dsdb/samdb/ldb_modules/naming_fsmo.c
source4/dsdb/samdb/ldb_modules/pdc_fsmo.c
source4/dsdb/samdb/ldb_modules/schema_fsmo.c
source4/scripting/python/samba/__init__.py

index ddd357a4c6d63d95461409ed4cd4f7f8be3eb94b..d6b6a242875681cf54f0fe26045c9c7352daf625 100644 (file)
@@ -52,7 +52,7 @@ static int naming_fsmo_init(struct ldb_module *module)
        naming_dn = samdb_partitions_dn(module->ldb, mem_ctx);
        if (!naming_dn) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)");
+                         "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        }
@@ -70,7 +70,7 @@ static int naming_fsmo_init(struct ldb_module *module)
                         &naming_res);
        if (ret == LDB_ERR_NO_SUCH_OBJECT) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)");
+                         "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        }
@@ -84,7 +84,7 @@ static int naming_fsmo_init(struct ldb_module *module)
        talloc_steal(mem_ctx, naming_res);
        if (naming_res->count == 0) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "naming_fsmo_init: no cross-ref container present: (skip loading of naming contexts details)");
+                         "naming_fsmo_init: no cross-ref container present: (skip loading of naming contexts details)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        } else if (naming_res->count > 1) {
@@ -110,7 +110,7 @@ static int naming_fsmo_init(struct ldb_module *module)
        talloc_steal(module, naming_fsmo);
 
        ldb_debug(module->ldb, LDB_DEBUG_TRACE,
-                         "naming_fsmo_init: we are master: %s",
+                         "naming_fsmo_init: we are master: %s\n",
                          (naming_fsmo->we_are_master?"yes":"no"));
 
        talloc_free(mem_ctx);
index ed9b554bb19e1067c7659f89fd33e9f4a823c2b2..0f3293ed1db7a58309e2a436d27466e9b00562a4 100644 (file)
@@ -51,7 +51,7 @@ static int pdc_fsmo_init(struct ldb_module *module)
        pdc_dn = samdb_base_dn(module->ldb);
        if (!pdc_dn) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "pdc_fsmo_init: no domain dn present: (skip loading of domain details)");
+                         "pdc_fsmo_init: no domain dn present: (skip loading of domain details)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        }
@@ -69,7 +69,7 @@ static int pdc_fsmo_init(struct ldb_module *module)
                         &pdc_res);
        if (ret == LDB_ERR_NO_SUCH_OBJECT) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "pdc_fsmo_init: no domain object present: (skip loading of domain details)");
+                         "pdc_fsmo_init: no domain object present: (skip loading of domain details)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        } else if (ret != LDB_SUCCESS) {
@@ -82,7 +82,7 @@ static int pdc_fsmo_init(struct ldb_module *module)
        talloc_steal(mem_ctx, pdc_res);
        if (pdc_res->count == 0) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "pdc_fsmo_init: no domain object present: (skip loading of domain details)");
+                         "pdc_fsmo_init: no domain object present: (skip loading of domain details)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        } else if (pdc_res->count > 1) {
@@ -108,7 +108,7 @@ static int pdc_fsmo_init(struct ldb_module *module)
        talloc_steal(module, pdc_fsmo);
 
        ldb_debug(module->ldb, LDB_DEBUG_TRACE,
-                         "pdc_fsmo_init: we are master: %s",
+                         "pdc_fsmo_init: we are master: %s\n",
                          (pdc_fsmo->we_are_master?"yes":"no"));
 
        talloc_free(mem_ctx);
index 28853f3e34b7396309830604b9fd08a7b8e08c3b..559c91bd2d863b5049d49851860da58a9ea58738 100644 (file)
@@ -60,7 +60,7 @@ static int schema_fsmo_init(struct ldb_module *module)
        schema_dn = samdb_schema_dn(module->ldb);
        if (!schema_dn) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "schema_fsmo_init: no schema dn present: (skip schema loading)");
+                         "schema_fsmo_init: no schema dn present: (skip schema loading)\n");
                return ldb_next_init(module);
        }
 
@@ -92,7 +92,7 @@ static int schema_fsmo_init(struct ldb_module *module)
                         &schema_res);
        if (ret == LDB_ERR_NO_SUCH_OBJECT) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "schema_fsmo_init: no schema head present: (skip schema loading)");
+                         "schema_fsmo_init: no schema head present: (skip schema loading)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        } else if (ret != LDB_SUCCESS) {
@@ -105,7 +105,7 @@ static int schema_fsmo_init(struct ldb_module *module)
        talloc_steal(mem_ctx, schema_res);
        if (schema_res->count == 0) {
                ldb_debug(module->ldb, LDB_DEBUG_WARNING,
-                         "schema_fsmo_init: no schema head present: (skip schema loading)");
+                         "schema_fsmo_init: no schema head present: (skip schema loading)\n");
                talloc_free(mem_ctx);
                return ldb_next_init(module);
        } else if (schema_res->count > 1) {
@@ -246,7 +246,7 @@ static int schema_fsmo_init(struct ldb_module *module)
        talloc_steal(module, schema_fsmo);
 
        ldb_debug(module->ldb, LDB_DEBUG_TRACE,
-                         "schema_fsmo_init: we are master: %s",
+                         "schema_fsmo_init: we are master: %s\n",
                          (schema_fsmo->we_are_master?"yes":"no"));
 
        talloc_free(mem_ctx);
index 8e0eff301108478c92d940e1a6d35d1795ac8a6a..a46b148bbb6ccec1253482f25e7f45a22cd27b78 100644 (file)
@@ -80,7 +80,7 @@ class Ldb(ldb.Ldb):
 
         def msg(l,text):
             print text
-        #self.set_debug(msg)
+        self.set_debug(msg)
 
     set_credentials = misc.ldb_set_credentials
     set_session_info = misc.ldb_set_session_info