KMessageBox::error(0,i18n("<qt>You are already bonded to a realm!<p>Please unbond from all realms before selecting a Realm Controller role</qt>"),i18n("Common Sense Failure"));
KMessageBox::error(0,i18n("<qt>Secondary realm controller promotion is not yet available<p>If you want to see it implemented, contact the Trinity Desktop developers</qt>"),i18n("Feature Not Yet Available"));
KMessageBox::error(0,i18n("<qt>You are already bonded to a realm!<p>Please unbond from all realms before selecting a Realm Controller role</qt>"),i18n("Common Sense Failure"));
KMessageBox::error(0,i18n("<qt>Secondary realm controller support is not yet available<p>If you want to see it implemented, contact the Trinity Desktop developers</qt>"),i18n("Feature Not Yet Available"));
m_base->systemRole->setCurrentItem(m_prevRole);
m_base->systemRole->setCurrentItem(previousRole);
#else
if(bonded){
KMessageBox::error(0,i18n("<qt>You are already bonded to a realm!<p>Please unbond from all realms before selecting a Realm Controller role</qt>"),i18n("Common Sense Failure"));
m_base->systemRole->setCurrentItem(m_prevRole);
if(previousRole==ROLE_PRIMARY_REALM_CONTROLLER){
// TODO FIXME
KMessageBox::error(0,i18n("<qt>Primary realm controller demotion is not yet available<p>If you want to see it implemented, contact the Trinity Desktop developers</qt>"),i18n("Feature Not Yet Available"));
KMessageBox::error(0,i18n("<qt>You are already bonded to a realm!<p>Please unbond from all realms before selecting a Realm Controller role</qt>"),i18n("Common Sense Failure"));
if(errstr)*errstr=i18n("Unable to stop SASL server");
pdialog.closeDialog();
return-1;
#endif // STRICT_SETUP
}
// Stop Heimdal
if(controlHeimdalServer(SC_STOP)!=0){
#ifdef STRICT_SETUP
if(errstr)*errstr=i18n("Unable to stop Kerberos server");
pdialog.closeDialog();
return-1;
#endif // STRICT_SETUP
}
// Stop slapd
if(controlLDAPServer(SC_STOP)!=0){
#ifdef STRICT_SETUP
if(errstr)*errstr=i18n("Unable to stop LDAP server");
pdialog.closeDialog();
return-1;
#endif // STRICT_SETUP
}
// RAJA FIXME
// 1.) Fetch CA private/public certificates from master LDAP server, save them, and also use the public certificate to fill a certificate information structure
// 2.) Bond machine to Kerberos
// 3.) Set up LDAP replication
// 4.) Point local Kerberos and SASL instances to this LDAP server
<string><h3>Welcome to the TDE LDAP Realm Setup Wizard!</h3></string>
<string><h3>Welcome to the TDE Secondary Realm Controller Setup Wizard!</h3></string>
</property>
</widget>
<widget class="TQLabel" row="1" column="1">
@ -68,7 +68,7 @@
</sizepolicy>
</property>
<property name="text">
<string><p>This Wizard will help you create a new LDAP realm in four quick, easy steps.</p>
<string><p>This Wizard will help you create a new secondary realm controller in three quick, easy steps.</p>
<p>Please note that this Wizard will overwrite any existing LDAP realms and data.</p>
<p>If you wish to quit the Wizard, click <b>Cancel</b> at any time.</p>
<p><b>NOTE:</b> Kerberos and LDAP rely heavily on proper DNS resolution in order to function correctly. Therefore, you must have functional forward and reverse DNS entries for this system in order to complete this Wizard.</p></string>
KMessageBox::error(this,i18n("<qt><b>Passwords do not match!</b><p>Please re-enter the new administration account password</qt>"),i18n("Input Error"));
KMessageBox::error(this,i18n("<qt><b>Unable to create new realm!</b><p>Details: %1</qt>").arg(errorString),i18n("Unable to create new realm"));
KMessageBox::error(this,i18n("<qt><b>Unable to add new secondary realm controller!</b><p>Details: %1</qt>").arg(errorString),i18n("Unable to add new secondary realm controller"));