summaryrefslogtreecommitdiffstats
path: root/src/libtdeldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtdeldap.h')
-rw-r--r--src/libtdeldap.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/libtdeldap.h b/src/libtdeldap.h
index 2c73967..ee60b94 100644
--- a/src/libtdeldap.h
+++ b/src/libtdeldap.h
@@ -374,6 +374,37 @@ class LDAPTDEBuiltinsInfo
TQString builtinStandardUserGroup;
};
+class LDAPMasterReplicationMapping
+{
+ public:
+ LDAPMasterReplicationMapping();
+ ~LDAPMasterReplicationMapping();
+
+ public:
+ int id;
+ TQString fqdn;
+};
+
+typedef TQValueList<LDAPMasterReplicationMapping> LDAPMasterReplicationMap;
+
+class LDAPMasterReplicationInfo
+{
+ public:
+ LDAPMasterReplicationInfo();
+ ~LDAPMasterReplicationInfo();
+
+ public:
+ bool informationValid;
+ bool enabled;
+ LDAPMasterReplicationMap serverIDs;
+ TQString retryMethod;
+ int timeout;
+ int syncMethod;
+ TQString syncDN;
+ TQCString syncPassword;
+ TQString certificateFile;
+};
+
class KerberosTicketInfo
{
public:
@@ -446,6 +477,8 @@ class LDAPManager : public TQObject {
int writeCertificateFileIntoDirectory(TQByteArray cert, TQString attr, TQString* errstr=0);
LDAPTDEBuiltinsInfo getTDEBuiltinMappings(TQString *errstr=0);
+ LDAPMasterReplicationInfo getLDAPMasterReplicationSettings(TQString *errstr=0);
+ int setLDAPMasterReplicationSettings(LDAPMasterReplicationInfo replicationinfo, TQString *errstr=0);
int writeSudoersConfFile(TQString *errstr=0);
int getTDECertificate(TQString certificateName, TQString fileName, TQString *errstr=0);
int setPasswordForUser(LDAPUserInfo user, TQString *errstr);
@@ -489,6 +522,8 @@ class LDAPManager : public TQObject {
LDAPMachineInfo parseLDAPMachineRecord(LDAPMessage* entry);
LDAPServiceInfo parseLDAPMachineServiceRecord(LDAPMessage* entry);
LDAPTDEBuiltinsInfo parseLDAPTDEBuiltinsRecord(LDAPMessage* entry);
+ LDAPMasterReplicationInfo parseLDAPMasterReplicationRecord(LDAPMasterReplicationInfo replicationinfo, LDAPMessage* entry);
+ TQString parseLDAPSyncProvOverlayConfigRecord(LDAPMessage* entry);
private:
TQString m_realm;