Astra Linux Directory Client Core API  1.7.0

#include "ALDObjects.h"

Граф наследования:ALD::CALDDomain:
ALD::CALDObject

Открытые члены

 CALDDomain (CALDConnectionPtr Conn)
 
string const & version () const
 
string org ()
 
string state ()
 
string telephon ()
 
string address ()
 
string desc ()
 
virtual void Clear ()
 
virtual bool Get (const string &domain="", ald_info_level level=ALD_INFO_DEFAULT, bool quiet=false)
 
virtual void Update (unsigned int setmask, const string &neworg, const string &newstate, const string &newtel, const string &newaddr, const string &newdesc)
 
void EnumerateGroups (ald_string_list &groups)
 
gid_t NextGID (bool generate)
 
void AddGroup (const string &group, const string &desc, const ald_string_list &users, gid_t gid=ALD_INVALID_ID)
 
bool ResolveGroup (const string &group, string &groupname, string &gid, bool quiet=false)
 
void EnumerateUsers (ald_string_list &users)
 
uid_t NextUID (bool generate)
 
void AddUser (const string &user, const string &pwd, const string &hometype, const string &home, const string &homesrv, const string &shell, const string &gecos, const string &desc, const string &full_name, const string &policy, const string &lgroups, gid_t gid=ALD_INVALID_ID, uid_t uid=ALD_INVALID_ID, bool needpwchange=false)
 
bool ResolveUser (const string &user, string &username, string &uid, bool quiet=false)
 
void EnumeratePrivilegedUsers (ald_string_list &users)
 
void EnumerateTasks (ald_string_list &tasks, unsigned int status_filter)
 
void EnumerateTasksSince (ald_string_list &tasks, unsigned int status_filter, time_t since)
 
unsigned int NextTID (bool generate)
 
string CreateTask (const string &TaskType, const string &TaskData)
 
void RotateTasks ()
 
void EnumerateEvents (ald_string_list &events)
 
void EnumerateEventsSince (ald_string_list &events, time_t since)
 
unsigned int NextEID (bool generate)
 
string RaiseEvent (const string &TaskType, const string &TaskData)
 
void RotateEvents ()
 
void EnumeratePolicies (ald_string_list &policies)
 
void AddPolicy (const string &policy, unsigned int minlife, unsigned int maxlife, unsigned int minlength, unsigned int minclasses, unsigned int historynum, unsigned int newmaxfail, unsigned int newfailcntinterval, unsigned int newlockoutduration)
 
bool ResolvePolicy (const string &policy, bool quiet=false)
 
void EnumerateServices (ald_string_list &services)
 
void AddService (const string &service)
 
bool ResolveService (const string &service, bool quiet=false)
 
void EnumerateServicesGroups (ald_string_list &sgroups)
 
bool ResolveServicesGroup (const string &sgroup, bool quiet=false)
 
void EnumerateHosts (ald_string_list &hosts)
 
void AddHost (const string &host, const string &desc)
 
bool ResolveHost (const string &host, string &hostname, bool quiet=false)
 
void EnumerateHostsGroups (ald_string_list &hgroups)
 
void AddHostsGroup (const string &hgroup, const string &hgroupdesc)
 
bool ResolveHostsGroup (const string &hgroup, bool quiet=false)
 
unsigned int taskHistory ()
 
void SetTaskHistory (unsigned int value)
 
void UpdateServerTimestamp ()
 
string server_timestamp ()
 
void EnumerateFileServers (ald_string_list &fileservers)
 
void EnumerateHomeServers (ald_string_list &homeservers)
 
void EnumerateALDServers (ald_string_list &servers)
 
bool ResolveALDServer (string &host, unsigned int &server_id, bool quiet=false)
 
void EnumerateTrustedDomains (ald_string_list &realms)
 
void AddTrustedDomain (const string &realm, const string &kdc, const string &desc, unsigned int newdir, const string &newpwd)
 
bool ResolveTrustedDomain (const string &realm, string &kdc, bool quiet=false)
 
void EnumerateDocuments (ald_string_list &docs, bool internal_oly)
 
void EnumerateDocumentsSince (ald_string_list &docs, time_t since)
 
void AddDocument (const string &name, const string &title, const string &location, const string &ver, const string &desc)
 
void AddInternalDocument (const string &name, const string &ver, const string &desc)
 
virtual void Save (const string &pbkfile, bool verbose=false)
 
virtual void Save (ostream &os, bool verbose=false)
 
virtual void Load (const string &pbkfile, bool verbose=false)
 
virtual void Load (istream &is, const string &bkname, bool verbose=false)
 
virtual bool CheckRemoval (bool quiet=false)
 
void Remove (bool force)
 
virtual bool RemoveObject (const string &otype, const string &oname, bool checkonly)
 
- Открытые члены унаследованные от ALD::CALDObject
 CALDObject (const string &type, CALDConnectionPtr Conn)
 
CALDConnectionPtr conn () const
 
CALDLdapEntPtr entity () const
 
ald_info_level infolevel () const
 
string const & name () const
 
string const & base () const
 
const string & otype () const
 
bool IsValid () const
 
virtual bool IsSystemObject ()
 
virtual bool Refresh (ald_info_level level=ALD_INFO_UNCHANGED, bool quiet=false)
 
virtual void Load (istream &is, size_t &nline, bool verbose=false)
 
virtual bool CheckConsistency (string &msg)
 
virtual bool ValidateProperty (int property, const void *value, string *msg, bool quiet)
 
virtual ~CALDObject ()
 

Защищенные члены

virtual void InternalSave (ostream &os, bool verbose=false)
 
virtual aoLoadStatus InternalLoad (istream &is, size_t &nline, string &line, bool verbose=false)
 
virtual void InternalNotice (aoOperation op, const string &arg, const string &detail)
 
virtual void InternalGet (string object, ald_info_level level, bool quiet=false)
 
- Защищенные члены унаследованные от ALD::CALDObject
virtual bool ProcessEntity (bool quiet=false)
 
virtual void EnsureInfoLevel (ald_info_level level)
 
virtual void EnsureEntity ()
 
virtual void InternalRemove (bool force, void *extra=NULL)
 
virtual void InternalCreate (void *extra=NULL)
 
virtual void InternalUpdate (unsigned int setmask, ald_string_multimap &attrs, void *extra=NULL)
 
virtual bool StartOperation (const string &object, aoOperation op, const string &arg, const string &detail, bool force=false)
 
virtual void CommitOperation (const string &object, aoOperation op, bool process=false, bool quiet=false)
 
bool TriggerAction (const string &action, aoTriggerActionType atype, bool quiet=false)
 

Защищенные данные

string m_strVersion
 
- Защищенные данные унаследованные от ALD::CALDObject
ald_info_level m_InfoLevel
 
string m_strName
 
string m_strBase
 
bool m_bValid
 
bool m_bSystem
 
string m_strOType
 
IALDCorem_pCore
 
CALDConnectionPtr m_Conn
 
CALDLdapEntPtr m_Entity
 

Дополнительные унаследованные члены

- Защищенные статические члены унаследованные от ALD::CALDObject
static aoLoadFieldStatus LoadField (istream &is, size_t &nline, string &line, const string &field, string &value, bool fuzzy=false)
 
static aoLoadFieldStatus LoadFields (istream &is, size_t &nline, string &line, const string &field, ald_string_list &values)
 

Подробное описание

Класс ALD - домен


Объявления и описания членов класса находятся в файле: