diff options
-rw-r--r-- | mof/LMI_SSSD.mof | 127 |
1 files changed, 103 insertions, 24 deletions
diff --git a/mof/LMI_SSSD.mof b/mof/LMI_SSSD.mof index 37060fe..6670b36 100644 --- a/mof/LMI_SSSD.mof +++ b/mof/LMI_SSSD.mof @@ -1,35 +1,114 @@ -[Version("0.1.0")] -class LMI_SSSD -{ - // - // Services - // +/* + Authors: + Pavel Březina <pbrezina@redhat.com> + Copyright (C) 2014 Red Hat + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +class LMI_SSSD_Error +{ [Static] - uint32 GetSupportedServices([Out] string services[]); - - [Static] - uint32 GetActiveServices([Out] string services[]); - + string GetMessage(uint32 code); +}; + +class LMI_SSSD +{ [Static] - uint32 EnableService([In] string service); + uint32 GetServices([Out] LMI_SSSD_Service REF services[]); [Static] - uint32 DisableService([In] string service); + uint32 GetBackends([Out] LMI_SSSD_Backend REF backends[]); +}; + +[Abstract] +class LMI_SSSD_Process +{ + [Key] + string Name; + + [BitValues{"Reserved", + "Reserved", + "Reserved", + "Reserved", + "Fatal failures", + "Critical failures", + "Operation failures", + "Minor failures", + "Configuration settings", + "Function data", + "Trace function", + "Reserved", + "Trace libraries", + "Trace internal", + "Trace all", + "Reserved"}] + uint16 DebugLevel; + + uint32 SetDebugLevel([In] uint16 debug_level); +}; + +[Abstract] +class LMI_SSSD_OptionalProcess : LMI_SSSD_Process +{ + boolean IsEnabled; - // - // Domains - // + uint32 Enable(); + uint32 Disable(); +}; + +class LMI_SSSD_Monitor : LMI_SSSD_Process +{ + +}; + +class LMI_SSSD_Service : LMI_SSSD_OptionalProcess +{ + +}; + +class LMI_SSSD_Domain +{ + [Key] + string Name; + + [Description("The Kerberos realm this domain is configured with.")] + string Realm; - [Static] - uint32 GetConfiguredDomains([Out] string domains[]); + [Description("The domain forest this domain belongs to.")] + string Forest; - [Static] - uint32 GetActiveDomains([Out] string domains[]); + [Description("The login format this domain expects.")] + string LoginFormat; - [Static] - uint32 EnableDomain([In] string domain); + [Description("The output format this domain uses.")] + string OutputFormat; - [Static] - uint32 DisableDomain([In] string domain); + [Description("True if the domain is an autodiscovered subdomain, " + "false otherwise.")] + boolean IsSubdomain; +}; + +class LMI_SSSD_Provider +{ + string Type; + string Provider; +}; + +class LMI_SSSD_Backend : LMI_SSSD_OptionalProcess +{ + LMI_SSSD_Provider REF providers[]; + LMI_SSSD_Domain REF domains[]; }; |