fix more config keys for save settings handling

This commit is contained in:
Arthur Schiwon 2013-01-20 18:30:14 +01:00
parent 0c3466325b
commit 10876aba89
1 changed files with 2 additions and 2 deletions

View File

@ -303,10 +303,10 @@ class Connection {
foreach($this->config as $key => $value) {
\OCP\Util::writeLog('user_ldap', 'LDAP: storing key '.$key.' value '.$value, \OCP\Util::DEBUG);
switch ($key) {
case 'ldap_agent_password':
case 'ldapAgentPassword':
$value = base64_encode($value);
break;
case 'home_folder_naming_rule':
case 'homeFolderNamingRule':
$value = empty($value) ? 'opt:username' : 'attr:'.$value;
break;
case 'ldapIgnoreNamingRules':