summaryrefslogtreecommitdiffstats
path: root/src/ldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldap.h')
-rw-r--r--src/ldap.h33
1 files changed, 30 insertions, 3 deletions
diff --git a/src/ldap.h b/src/ldap.h
index d543cef..f56e24d 100644
--- a/src/ldap.h
+++ b/src/ldap.h
@@ -37,25 +37,52 @@
#include <config.h>
#endif
-class ldap: public KCModule
+// 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;
+};
+
+typedef TQValueList<LDAPRealmConfig> LDAPRealmConfigList;
+
+class LDAPConfig: public KCModule
{
Q_OBJECT
public:
- ldap( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() );
- ~ldap();
+ LDAPConfig( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() );
+ ~LDAPConfig();
virtual void load();
+ virtual void load( bool useDefaults);
virtual void save();
virtual void defaults();
virtual int buttons();
virtual TQString quickHelp() const;
virtual const KAboutData *aboutData() const { return myAboutData; };
+ private slots:
+ void processLockouts();
+ void bondToNewRealm();
+
private:
KAboutData *myAboutData;
KGlobalSettings *kgs;
LDAPConfigBase *base;
+ LDAPRealmConfigList m_realms;
};
#endif