diff options
author | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-09-19 10:48:31 -0700 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-09-19 12:16:04 -0700 |
commit | 5d807107bb675cedb4b42022a7a907ea1bdf13d0 (patch) | |
tree | 9dbfad0bbbf4dbd2bf617722b2e28ca9bab749d7 /source4/dsdb | |
parent | 55f465576c4602e74a6bc5c194adb27231c520f8 (diff) | |
download | samba-5d807107bb675cedb4b42022a7a907ea1bdf13d0.tar.gz samba-5d807107bb675cedb4b42022a7a907ea1bdf13d0.tar.bz2 samba-5d807107bb675cedb4b42022a7a907ea1bdf13d0.zip |
s4/fsmo: Naming master support added
Test suite for fsmo is extended with a test case for naming master too.
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/repl/drepl_fsmo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_fsmo.c b/source4/dsdb/repl/drepl_fsmo.c index 375e37b517..650b299c1d 100644 --- a/source4/dsdb/repl/drepl_fsmo.c +++ b/source4/dsdb/repl/drepl_fsmo.c @@ -75,7 +75,7 @@ WERROR dreplsrv_fsmo_role_check(struct dreplsrv_service *service, switch (role) { case DREPL_NAMING_MASTER: - fsmo_role_dn = samdb_partitions_dn(ldb, tmp_ctx), + fsmo_role_dn = samdb_partitions_dn(ldb, tmp_ctx); ret = samdb_reference_dn(ldb, tmp_ctx, fsmo_role_dn, "fSMORoleOwner", &role_owner_dn); if (ret != LDB_SUCCESS) { DEBUG(0,(__location__ ": Failed to find fSMORoleOwner in Naming Master object - %s", @@ -83,6 +83,7 @@ WERROR dreplsrv_fsmo_role_check(struct dreplsrv_service *service, talloc_free(tmp_ctx); return WERR_DS_DRA_INTERNAL_ERROR; } + extended_op = DRSUAPI_EXOP_FSMO_REQ_ROLE; break; case DREPL_INFRASTRUCTURE_MASTER: fsmo_role_dn = samdb_infrastructure_dn(ldb, tmp_ctx); |