summaryrefslogtreecommitdiffstats
path: root/src/realmwizard.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-06 17:38:57 -0500
committerTimothy Pearson <[email protected]>2012-06-06 17:38:57 -0500
commit4f186beefc7c8458d0e2018ce85d40ae1802f185 (patch)
treea619c70432c3d5d3b767d030d6db4bba7788cf5c /src/realmwizard.cpp
parentbe70ba63c22a2c85bb86b9500252da570c97bd9f (diff)
downloadkcmldapcontroller-4f186beefc7c8458d0e2018ce85d40ae1802f185.tar.gz
kcmldapcontroller-4f186beefc7c8458d0e2018ce85d40ae1802f185.zip
Add standard user group, certificates, etc
Diffstat (limited to 'src/realmwizard.cpp')
-rw-r--r--src/realmwizard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/realmwizard.cpp b/src/realmwizard.cpp
index 4d517ee..95bd931 100644
--- a/src/realmwizard.cpp
+++ b/src/realmwizard.cpp
@@ -98,6 +98,7 @@ RealmWizard::RealmWizard(LDAPController* controller, TQString fqdn, LDAPCertConf
certpage->generateKeysEnabled->setChecked(true);
finishpage->ldapAdminGroupname->setText("realmadmins");
finishpage->ldapMachineAdminGroupname->setText("machineadmins");
+ finishpage->ldapStandardUserGroupname->setText("standardusers");
// Load certificate info
certpage->organizationName->setText(m_certconfig.organizationName);
@@ -244,7 +245,7 @@ void RealmWizard::accept() {
nextButton()->setEnabled(false);
finishButton()->setEnabled(false);
cancelButton()->setEnabled(false);
- if (m_controller->createNewLDAPRealm(this, m_realmconfig, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminGroupname->text(), finishpage->ldapMachineAdminGroupname->text(), finishpage->ldapAdminPassword->password(), "admin", finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), m_certconfig, &errorString) == 0) {
+ if (m_controller->createNewLDAPRealm(this, m_realmconfig, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminGroupname->text(), finishpage->ldapMachineAdminGroupname->text(), finishpage->ldapStandardUserGroupname->text(), finishpage->ldapAdminPassword->password(), "admin", finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), m_certconfig, &errorString) == 0) {
done(0);
}
else {