summaryrefslogtreecommitdiffstats
path: root/src/ldapcontroller.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-02 02:41:47 -0500
committerTimothy Pearson <[email protected]>2012-06-02 02:41:47 -0500
commited617ebffea2ac94d4a368b876f2a6414af0bbb3 (patch)
tree1d5f16ed2e663590ebfcfffa2fd2652ccec5131d /src/ldapcontroller.h
parent7df2e830ef2d9005a27e0a295988fece9911c0f5 (diff)
downloadkcmldapcontroller-ed617ebffea2ac94d4a368b876f2a6414af0bbb3.tar.gz
kcmldapcontroller-ed617ebffea2ac94d4a368b876f2a6414af0bbb3.zip
OpenLDAP now initializes, but login is not possible and kadmin does not work yet
Diffstat (limited to 'src/ldapcontroller.h')
-rw-r--r--src/ldapcontroller.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/ldapcontroller.h b/src/ldapcontroller.h
index b09a46c..f5bd2a7 100644
--- a/src/ldapcontroller.h
+++ b/src/ldapcontroller.h
@@ -32,6 +32,14 @@
#include "ldapcontrollerconfigbase.h"
+enum sc_command {
+ SC_START,
+ SC_STOP,
+ SC_RESTART,
+ SC_PURGE,
+ SC_SETDBPERMS
+};
+
// PRIVATE
class LDAPRealmConfig
{
@@ -67,7 +75,7 @@ class LDAPController: public KCModule
virtual const KAboutData *aboutData() const { return myAboutData; };
public:
- int createNewLDAPRealm(TQWidget* dialogparent, LDAPRealmConfig realmconfig, TQString adminUserName, const char * adminPassword, TQString adminRealm, TQString *errstr);
+ int createNewLDAPRealm(TQWidget* dialogparent, LDAPRealmConfig realmconfig, TQString adminUserName, TQString adminGroupName, const char * adminPassword, TQString rootUserName, const char * rootPassword, TQString adminRealm, TQString *errstr);
// FIXME
// This should be moved to a TDE core library
@@ -78,6 +86,9 @@ class LDAPController: public KCModule
void processLockouts();
private:
+ int controlLDAPServer(sc_command command, uid_t userid=-1, gid_t groupid=-1);
+
+ private:
KAboutData *myAboutData;
LDAPControllerConfigBase *m_base;