diff options
Diffstat (limited to 'src/ldapcontroller.h')
-rw-r--r-- | src/ldapcontroller.h | 13 |
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; |