summaryrefslogtreecommitdiffstats
path: root/src/ldapcontroller.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-04 02:43:34 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-04 02:43:34 -0500
commitffa65c885b78a8d783f9e8cd51cf7c0b751207f9 (patch)
tree5265da262e38753ddad75c7b9a98fb9119dd9215 /src/ldapcontroller.h
parentc39d52d4c9425c45394105bebdd6f2fac29569ee (diff)
downloadkcmldapcontroller-ffa65c885b78a8d783f9e8cd51cf7c0b751207f9.tar.gz
kcmldapcontroller-ffa65c885b78a8d783f9e8cd51cf7c0b751207f9.zip
New realm now functions almost fully
Diffstat (limited to 'src/ldapcontroller.h')
-rw-r--r--src/ldapcontroller.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ldapcontroller.h b/src/ldapcontroller.h
index d831c72..1fad5f8 100644
--- a/src/ldapcontroller.h
+++ b/src/ldapcontroller.h
@@ -69,9 +69,13 @@ class LDAPController: public KCModule
void processLockouts();
private:
- int controlHeimdalServer(sc_command command);
+ int controlSASLServer(sc_command command);
+ int controlHeimdalServer(sc_command command, uid_t userid=-1, gid_t groupid=-1);
int controlLDAPServer(sc_command command, uid_t userid=-1, gid_t groupid=-1);
int initializeNewKerberosRealm(TQString realmName, TQString *errstr);
+ int addLDAPEntryToKerberosRealm(TQString ldapProcessOwnerName, TQString ldapHost, TQString *errstr);
+ int addHostEntryToKerberosRealm(TQString kerberosHost, TQString *errstr);
+ int setKerberosPasswordForUser(LDAPCredentials user, TQString *errstr);
private:
KAboutData *myAboutData;
@@ -81,6 +85,8 @@ class LDAPController: public KCModule
TQString m_fqdn;
int m_prevRole;
+ TQString m_ldapUserName;
+ TQString m_ldapGroupName;
};
#endif // _LDAPCONTROLLER_H_