Realmd ProviderΒΆ
Overview
OpenLMI-Relamd is CIM provider for managing the systems Active Directory or Kerberos realms membership through the Realmd system service. It exposes remotely accessible object-oriented API using WBEM set of protocols and technologies.
Clients
The API can be accessed by any WBEM-capable client. OpenLMI already provides:
- Python module lmi.scripts.realmd, part of OpenLMI scripts.
- Command line tool: LMI metacommand, with ‘realmd’ subcommand.
Features
- Query for a domain membership.
- Join / leave a domain.
Examples
Following LMIShell code joins an Active Directory domain:
c = connect("localhost", "pegasus", "test")
realmsrv = c.root.cimv2.LMI_RealmdService.first_instance()
realmsrv.JoinDomain(Password='ZisIzSECRET', User='admin', Domain='AD.EXAMPLE.COM')
More examples can be found in the Usage chapter.
Table of Contents
Contents: