s4-dsdb clarify that failure to load the schema items from DRS is expected
authorAndrew Bartlett <abartlet@samba.org>
Tue, 9 Aug 2011 03:10:21 +0000 (13:10 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 9 Aug 2011 11:10:25 +0000 (13:10 +0200)
This happens if we have a custom schema - we need to build up the schema until
it loads, by converting more objects.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Aug  9 13:10:25 CEST 2011 on sn-devel-104

source4/dsdb/repl/replicated_objects.c

index d11de92b1bace2e131bad6699a499d1b1ffcad99..f8c151787d7860b2cc4f50e7a827e74264591fd6 100644 (file)
@@ -122,8 +122,8 @@ WERROR dsdb_repl_make_working_schema(struct ldb_context *ldb,
                                                      ignore_attids,
                                                      tmp_ctx, &object);
                        if (!W_ERROR_IS_OK(werr)) {
-                               DEBUG(1,("Warning: Failed to convert schema object %s into ldb msg\n",
-                                        cur->object.identifier->dn));
+                               DEBUG(4,("debug: Failed to convert schema object %s into ldb msg, will try during next loop\n",
+                                         cur->object.identifier->dn));
 
                                failed_obj_count++;
                        } else {
@@ -136,7 +136,7 @@ WERROR dsdb_repl_make_working_schema(struct ldb_context *ldb,
                                                                       working_schema,
                                                                       object.msg);
                                if (!W_ERROR_IS_OK(werr)) {
-                                       DEBUG(1,("Warning: failed to convert object %s into a schema element: %s\n",
+                                       DEBUG(4,("debug: failed to convert object %s into a schema element, will try during next loop: %s\n",
                                                 ldb_dn_get_linearized(object.msg->dn),
                                                 win_errstr(werr)));
                                        failed_obj_count++;