diff options
author | Timothy Pearson <[email protected]> | 2012-05-29 15:33:39 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-05-29 15:33:39 -0500 |
commit | 5948ba909d1a2541865fcb2b52f76a7719f72f3e (patch) | |
tree | 858e1027143cb7085e6a60c100b9b4f03c6b5d6a /src/ldapmgr.h | |
parent | 691351f08aeec1ea1582e46aac8aa734321e1e13 (diff) | |
download | kcmldapmanager-5948ba909d1a2541865fcb2b52f76a7719f72f3e.tar.gz kcmldapmanager-5948ba909d1a2541865fcb2b52f76a7719f72f3e.zip |
User editor dialog is now working in RO mode
Diffstat (limited to 'src/ldapmgr.h')
-rw-r--r-- | src/ldapmgr.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/ldapmgr.h b/src/ldapmgr.h index 46b69de..b875c3a 100644 --- a/src/ldapmgr.h +++ b/src/ldapmgr.h @@ -54,13 +54,25 @@ class LDAPConfig: public KCModule void processLockouts(); void connectToRealm(const TQString&); void populateUsers(); + void populateGroups(); void updateUsersList(); + void updateGroupsList(); void userHighlighted(); + void groupHighlighted(); void modifySelectedUser(); - private: + public: LDAPUserInfo findUserInfoByNameAndUID(TQString name, TQString uid); + LDAPGroupInfo findGroupInfoByNameAndGID(TQString name, TQString gid); + LDAPGroupInfo findGroupInfoByGID(TQString gid); + LDAPUserInfo findUserByDistinguishedName(TQString dn); + LDAPGroupInfoList findGroupsForUserByDistinguishedName(TQString dn); + LDAPUserInfoList userList(); + LDAPGroupInfoList groupList(); + + private: LDAPUserInfo selectedUser(); + LDAPGroupInfo selectedGroup(); private: KAboutData *myAboutData; @@ -70,6 +82,7 @@ class LDAPConfig: public KCModule LDAPManager *m_ldapmanager; LDAPUserInfoList m_userInfoList; + LDAPGroupInfoList m_groupInfoList; }; #endif |