s4:SAMLDB DSDB module - Add "\n"s on debug messages
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Tue, 17 Nov 2009 18:22:00 +0000 (19:22 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Tue, 17 Nov 2009 18:22:00 +0000 (19:22 +0100)
source4/dsdb/samdb/ldb_modules/samldb.c

index ed089ea9f734c60772579bc5857e4dfb39e9dd66..c5161dbe4127a27021551d5c127e397710d47408 100644 (file)
@@ -1342,7 +1342,7 @@ static int samldb_foreign_notice_sid_callback(struct ldb_request *req,
                ldb_debug(ldb, LDB_DEBUG_TRACE,
                         "NOTE (strange but valid): Adding foreign SID "
                         "record with SID %s, but this domain (%s) is "
-                        "not foreign in the database",
+                        "not foreign in the database\n",
                         dom_sid_string(ares, ac->sid), name);
 
                talloc_free(ares);
@@ -2161,7 +2161,7 @@ static int samldb_add(struct ldb_module *module, struct ldb_request *req)
        if (!ac->msg) {
                talloc_free(ac);
                ldb_debug(ldb, LDB_DEBUG_FATAL,
-                         "samldb_add: ldb_msg_copy failed!");
+                         "samldb_add: ldb_msg_copy failed!\n");
                return LDB_ERR_OPERATIONS_ERROR;
        }