summaryrefslogtreecommitdiffstats
path: root/src/realmwizard.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-02 02:41:47 -0500
committerTimothy Pearson <[email protected]>2012-06-02 02:41:47 -0500
commited617ebffea2ac94d4a368b876f2a6414af0bbb3 (patch)
tree1d5f16ed2e663590ebfcfffa2fd2652ccec5131d /src/realmwizard.cpp
parent7df2e830ef2d9005a27e0a295988fece9911c0f5 (diff)
downloadkcmldapcontroller-ed617ebffea2ac94d4a368b876f2a6414af0bbb3.tar.gz
kcmldapcontroller-ed617ebffea2ac94d4a368b876f2a6414af0bbb3.zip
OpenLDAP now initializes, but login is not possible and kadmin does not work yet
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 a8c9b81..fa720c2 100644
--- a/src/realmwizard.cpp
+++ b/src/realmwizard.cpp
@@ -202,7 +202,8 @@ void RealmWizard::accept() {
// Try to create realm
TQString errorString;
// RAJA FIXME
- if (m_controller->createNewLDAPRealm(this, m_realmconfig, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), &errorString) == 0) {
+ // root account should not be locked to "admin"!
+ if (m_controller->createNewLDAPRealm(this, m_realmconfig, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminGroupname->text(), finishpage->ldapAdminPassword->password(), "admin", finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), &errorString) == 0) {
done(0);
}
else {