summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-01-06 18:22:09 -0600
committerTimothy Pearson <[email protected]>2014-01-06 18:22:09 -0600
commit6bdb6cd3496ec95ea993891945cd13dcbb9be2b1 (patch)
treedec8ab12874053f050beceae81547f53e5143c30
parent66525ab33387f0c87049cb8aa90d27c9bd46a010 (diff)
downloadkcmldap-6bdb6cd3496ec95ea993891945cd13dcbb9be2b1.tar.gz
kcmldap-6bdb6cd3496ec95ea993891945cd13dcbb9be2b1.zip
Update for new API
-rw-r--r--src/ldapbonding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldapbonding.cpp b/src/ldapbonding.cpp
index 9bc23db..d4d3fe8 100644
--- a/src/ldapbonding.cpp
+++ b/src/ldapbonding.cpp
@@ -238,7 +238,7 @@ void LDAPConfig::save() {
return;
}
// Write the LDAP configuration file
- if (LDAPManager::writeLDAPConfFile(m_realms[m_clientRealmConfig.defaultRealm], &errorstring) != 0) {
+ if (LDAPManager::writeLDAPConfFile(m_realms[m_clientRealmConfig.defaultRealm], ROLE_WORKSTATION, &errorstring) != 0) {
KMessageBox::error(this, i18n("<qt><b>Unable to save configuration!</b><p>Details: %2</qt>").arg(errorstring), i18n("Unable to Save Configuration"));
return;
}