summaryrefslogtreecommitdiffstats
path: root/src/realmwizard.cpp
diff options
context:
space:
mode:
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 {