summaryrefslogtreecommitdiffstats
path: root/src/ldapcontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldapcontroller.h')
-rw-r--r--src/ldapcontroller.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ldapcontroller.h b/src/ldapcontroller.h
index a88ebfd..b09a46c 100644
--- a/src/ldapcontroller.h
+++ b/src/ldapcontroller.h
@@ -32,6 +32,25 @@
#include "ldapcontrollerconfigbase.h"
+// PRIVATE
+class LDAPRealmConfig
+{
+ public:
+ TQString name;
+ bool bonded;
+ long uid_offset;
+ long gid_offset;
+ TQStringList domain_mappings;
+ TQString kdc;
+ int kdc_port;
+ TQString admin_server;
+ int admin_server_port;
+ bool pkinit_require_eku;
+ bool pkinit_require_krbtgt_otherName;
+ bool win2k_pkinit;
+ bool win2k_pkinit_require_binding;
+};
+
class LDAPController: public KCModule
{
Q_OBJECT
@@ -47,6 +66,13 @@ class LDAPController: public KCModule
virtual TQString quickHelp() const;
virtual const KAboutData *aboutData() const { return myAboutData; };
+ public:
+ int createNewLDAPRealm(TQWidget* dialogparent, LDAPRealmConfig realmconfig, TQString adminUserName, const char * adminPassword, TQString adminRealm, TQString *errstr);
+
+ // FIXME
+ // This should be moved to a TDE core library
+ TQString getMachineFQDN();
+
private slots:
void systemRoleChanged();
void processLockouts();
@@ -57,6 +83,7 @@ class LDAPController: public KCModule
LDAPControllerConfigBase *m_base;
KSimpleConfig *m_systemconfig;
+ TQString m_fqdn;
int m_prevRole;
};