s.t.b.s.SambaToolDrsTests(samba.tests.BlackboxTestCase) : class documentation

Part of samba.tests.blackbox.samba_tool_drs View In Hierarchy

Blackbox test case for samba-tool drs.
Method setUp Undocumented
Method test_samba_tool_bind Tests 'samba-tool drs bind' command.
Method test_samba_tool_kcc Tests 'samba-tool drs kcc' command Output should be like 'Consistency check on <DC> successful.'
Method test_samba_tool_showrepl No summary
Method test_samba_tool_options Tests 'samba-tool drs options' command Output should be like 'Current DSA options: IS_GC <OTHER_FLAGS>'
Method test_samba_tool_replicate Tests 'samba-tool drs replicate' command Output should be like 'Replicate from <DC-SRC> to <DC-DEST> was successful.'
Method _get_rootDSE Undocumented

Inherited from BlackboxTestCase:

Method check_run Undocumented
Method check_output Undocumented
Method _make_cmdline Undocumented

Inherited from TestCase (via BlackboxTestCase):

Method get_loadparm Undocumented
Method get_credentials Undocumented
def setUp(self):
Undocumented
def _get_rootDSE(self, dc):
Undocumented
def test_samba_tool_bind(self):
Tests 'samba-tool drs bind' command.

Output should be like:
    Extensions supported:
      <list-of-supported-extensions>
    Site GUID: <GUID>
    Repl epoch: 0
def test_samba_tool_kcc(self):
Tests 'samba-tool drs kcc' command Output should be like 'Consistency check on <DC> successful.'
def test_samba_tool_showrepl(self):
Tests 'samba-tool drs showrepl' command
Output should be like:
    <site-name>/<domain-name>
    DSA Options: <hex-options>
    DSA object GUID: <DSA-object-GUID>
    DSA invocationId: <DSA-invocationId>
    <Inbound-connections-list>
    <Outbound-connections-list>
    <KCC-objects>
    ...
 TODO: Perhaps we should check at least for
       DSA's objectGUDI and invocationId
def test_samba_tool_options(self):
Tests 'samba-tool drs options' command Output should be like 'Current DSA options: IS_GC <OTHER_FLAGS>'
def test_samba_tool_replicate(self):
Tests 'samba-tool drs replicate' command Output should be like 'Replicate from <DC-SRC> to <DC-DEST> was successful.'
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.