diff options
author | Timothy Pearson <[email protected]> | 2012-06-13 20:56:58 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-06-13 20:56:58 -0500 |
commit | ccbc653660b7df4148be5c0c2f087cd48efbcbe6 (patch) | |
tree | b973c64aa173d330a716f7b61461ddad32a0aa17 /src/ldapmgr.h | |
parent | dbd589f7be46e85ac0eefe18e9feb41dbd41ae2f (diff) | |
download | kcmldapmanager-ccbc653660b7df4148be5c0c2f087cd48efbcbe6.tar.gz kcmldapmanager-ccbc653660b7df4148be5c0c2f087cd48efbcbe6.zip |
Add service editor
Diffstat (limited to 'src/ldapmgr.h')
-rw-r--r-- | src/ldapmgr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ldapmgr.h b/src/ldapmgr.h index 7d38c6e..f28befe 100644 --- a/src/ldapmgr.h +++ b/src/ldapmgr.h @@ -56,19 +56,24 @@ class LDAPConfig: public KCModule int populateUsers(); int populateGroups(); int populateMachines(); + int populateServices(); void updateUsersList(); void updateGroupsList(); void updateMachinesList(); + void updateServicesList(); void userHighlighted(); void groupHighlighted(); void machineHighlighted(); + void serviceHighlighted(); void addNewUser(); void addNewGroup(); + void addNewService(); void modifySelectedUser(); void modifySelectedGroup(); void removeSelectedUser(); void removeSelectedGroup(); void removeSelectedMachine(); + void removeSelectedService(); void updateAllInformation(); void abortConnection(); @@ -76,6 +81,7 @@ class LDAPConfig: public KCModule LDAPUserInfo findUserInfoByName(TQString name); LDAPGroupInfo findGroupInfoByName(TQString name); LDAPMachineInfo findMachineInfoByName(TQString name); + LDAPServiceInfo findServiceInfoByName(TQString name, TQString machine); LDAPUserInfo findUserInfoByNameAndUID(TQString name, TQString uid); LDAPGroupInfo findGroupInfoByNameAndGID(TQString name, TQString gid); LDAPGroupInfo findGroupInfoByGID(TQString gid); @@ -83,11 +89,13 @@ class LDAPConfig: public KCModule LDAPGroupInfoList findGroupsForUserByDistinguishedName(TQString dn); LDAPUserInfoList userList(); LDAPGroupInfoList groupList(); + LDAPMachineInfoList machineList(); private: LDAPUserInfo selectedUser(); LDAPGroupInfo selectedGroup(); LDAPMachineInfo selectedMachine(); + LDAPServiceInfo selectedService(); int setPasswordForUser(LDAPUserInfo user, TQString *errstr); private: @@ -100,6 +108,7 @@ class LDAPConfig: public KCModule LDAPUserInfoList m_userInfoList; LDAPGroupInfoList m_groupInfoList; LDAPMachineInfoList m_machineInfoList; + LDAPServiceInfoList m_serviceInfoList; }; #endif |