git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
004f8c6
)
s4-repl: fixed formatting of some debug messages
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Sep 2011 23:26:51 +0000
(09:26 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 4 Oct 2011 04:08:56 +0000
(15:08 +1100)
source4/dsdb/repl/drepl_ridalloc.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/repl/drepl_ridalloc.c
b/source4/dsdb/repl/drepl_ridalloc.c
index 53b56b63d2f93cd91321992c029ea6d51e8a4f5f..6dcd9efd8a1c296eea7dcdd0ebbfef75b93f2822 100644
(file)
--- a/
source4/dsdb/repl/drepl_ridalloc.c
+++ b/
source4/dsdb/repl/drepl_ridalloc.c
@@
-103,7
+103,7
@@
static int drepl_ridalloc_pool_exhausted(struct ldb_context *ldb,
ret = samdb_reference_dn(ldb, tmp_ctx, server_dn, "serverReference", &machine_dn);
if (ret != LDB_SUCCESS) {
ret = samdb_reference_dn(ldb, tmp_ctx, server_dn, "serverReference", &machine_dn);
if (ret != LDB_SUCCESS) {
- DEBUG(0,(__location__ ": Failed to find serverReference in %s - %s",
+ DEBUG(0,(__location__ ": Failed to find serverReference in %s - %s
\n
",
ldb_dn_get_linearized(server_dn), ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return ret;
ldb_dn_get_linearized(server_dn), ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return ret;
@@
-117,7
+117,7
@@
static int drepl_ridalloc_pool_exhausted(struct ldb_context *ldb,
return LDB_SUCCESS;
}
if (ret != LDB_SUCCESS) {
return LDB_SUCCESS;
}
if (ret != LDB_SUCCESS) {
- DEBUG(0,(__location__ ": Failed to find rIDSetReferences in %s - %s",
+ DEBUG(0,(__location__ ": Failed to find rIDSetReferences in %s - %s
\n
",
ldb_dn_get_linearized(machine_dn), ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return ret;
ldb_dn_get_linearized(machine_dn), ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return ret;
@@
-125,7
+125,7
@@
static int drepl_ridalloc_pool_exhausted(struct ldb_context *ldb,
ret = ldb_search(ldb, tmp_ctx, &res, rid_set_dn, LDB_SCOPE_BASE, attrs, NULL);
if (ret != LDB_SUCCESS) {
ret = ldb_search(ldb, tmp_ctx, &res, rid_set_dn, LDB_SCOPE_BASE, attrs, NULL);
if (ret != LDB_SUCCESS) {
- DEBUG(0,(__location__ ": Failed to load RID Set attrs from %s - %s",
+ DEBUG(0,(__location__ ": Failed to load RID Set attrs from %s - %s
\n
",
ldb_dn_get_linearized(rid_set_dn), ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return ret;
ldb_dn_get_linearized(rid_set_dn), ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return ret;
@@
-194,7
+194,7
@@
WERROR dreplsrv_ridalloc_check_rid_pool(struct dreplsrv_service *service)
/* work out who is the RID Manager */
ret = samdb_rid_manager_dn(ldb, tmp_ctx, &rid_manager_dn);
if (ret != LDB_SUCCESS) {
/* work out who is the RID Manager */
ret = samdb_rid_manager_dn(ldb, tmp_ctx, &rid_manager_dn);
if (ret != LDB_SUCCESS) {
- DEBUG(0, (__location__ ": Failed to find RID Manager object - %s", ldb_errstring(ldb)));
+ DEBUG(0, (__location__ ": Failed to find RID Manager object - %s
\n
", ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return WERR_DS_DRA_INTERNAL_ERROR;
}
talloc_free(tmp_ctx);
return WERR_DS_DRA_INTERNAL_ERROR;
}
@@
-202,7
+202,7
@@
WERROR dreplsrv_ridalloc_check_rid_pool(struct dreplsrv_service *service)
/* find the DN of the RID Manager */
ret = samdb_reference_dn(ldb, tmp_ctx, rid_manager_dn, "fSMORoleOwner", &fsmo_role_dn);
if (ret != LDB_SUCCESS) {
/* find the DN of the RID Manager */
ret = samdb_reference_dn(ldb, tmp_ctx, rid_manager_dn, "fSMORoleOwner", &fsmo_role_dn);
if (ret != LDB_SUCCESS) {
- DEBUG(0,(__location__ ": Failed to find fSMORoleOwner in RID Manager object - %s",
+ DEBUG(0,(__location__ ": Failed to find fSMORoleOwner in RID Manager object - %s
\n
",
ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return WERR_DS_DRA_INTERNAL_ERROR;
ldb_errstring(ldb)));
talloc_free(tmp_ctx);
return WERR_DS_DRA_INTERNAL_ERROR;