From a6d06dfe2ab0aadb6b0987fb7f96e8f3c9841846 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 May 2012 18:23:12 -0500 Subject: RW support for groups now in place --- src/groupconfigdlg.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/groupconfigdlg.cpp') diff --git a/src/groupconfigdlg.cpp b/src/groupconfigdlg.cpp index 8f7593e..94b70e4 100644 --- a/src/groupconfigdlg.cpp +++ b/src/groupconfigdlg.cpp @@ -72,6 +72,19 @@ GroupConfigDialog::GroupConfigDialog(LDAPGroupInfo group, LDAPConfig* parent, co } void GroupConfigDialog::slotOk() { + int i; + + // Update data + m_group.gid = m_base->groupID->value(); + TQStringList userlist; + for (i=0;iselectedAccounts->count();i++) { + TQListBoxText* itm = dynamic_cast(m_base->selectedAccounts->item(i)); + if (itm) { + userlist.append(m_ldapconfig->findUserInfoByName(itm->text()).distinguishedName); + } + } + m_group.userlist = userlist; + accept(); } -- cgit v1.2.1