diff options
author | Fernando J V da Silva <fernandojvsilva@yahoo.com.br> | 2010-04-15 18:54:13 -0300 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-22 19:36:15 +1000 |
commit | 73513fb7e7145e9abe1a155acd47c27bc09c5092 (patch) | |
tree | 1ad5b14dce08c723fd0708c3be8cea3e8ce6a78f /source4/dsdb | |
parent | d940a44496f184073fe036fc1977796c901ec96d (diff) | |
download | samba-73513fb7e7145e9abe1a155acd47c27bc09c5092.tar.gz samba-73513fb7e7145e9abe1a155acd47c27bc09c5092.tar.bz2 samba-73513fb7e7145e9abe1a155acd47c27bc09c5092.zip |
s4-drs: Use new samdb_rodc() function in s4 code
This patch fits the calling to the new samdb_rodc() function and
fix a little bug in this function.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 9e2e358b3b..e395ea540b 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -2663,7 +2663,7 @@ int samdb_is_rodc(struct ldb_context *sam_ctx, const struct GUID *invocationId, struct ldb_result *res; TALLOC_CTX *tmp_ctx = talloc_new(sam_ctx); - config_dn = samdb_config_dn(sam_ctx); + config_dn = ldb_get_config_basedn(sam_ctx); if (!config_dn) { talloc_free(tmp_ctx); return LDB_ERR_OPERATIONS_ERROR; |