summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 343eef3)
raw | patch | inline | side by side (parent: 343eef3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 07:56:15 +0000 (07:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 07:56:15 +0000 (07:56 +0000) |
-Added new config flag
-Fixed samba hash hook
-Fixed loading of property values for drop down boxes
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20988 594d385d-05f5-0310-b6e9-bd551577e9d8
-Fixed samba hash hook
-Fixed loading of property values for drop down boxes
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20988 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_core.inc | patch | blob | history |
index 0ee47680933159afa591adc0f62184198268d0a6..61e48653345a096f9c2d87e31dd42a9fc47dd2aa 100644 (file)
break;
case 'timezone':
$tmp = timezone::_get_tz_zones();
- foreach($tmp['TIMEZONES'] as $name => $offset){
+ foreach($tmp['TIMEZONES'] as $tzname => $offset){
if($offset >= 0){
- $list[$name] = $name." ( + ".sprintf("%0.2f",$offset/(60*60))." "._("hours").")";
+ $list[$tzname] = $tzname." ( + ".sprintf("%0.2f",$offset/(60*60))." "._("hours").")";
}else{
$offset = $offset * -1;
- $list[$name] = $name." ( - ".sprintf("%0.2f",($offset/(60*60)))." "._("hours").")";
+ $list[$tzname] = $tzname." ( - ".sprintf("%0.2f",($offset/(60*60)))." "._("hours").")";
}
}
break;
$tmp = mailMethod::get_methods();
}
$list =array();
- foreach($tmp as $name => $value){
- $name = preg_replace('/^mailMethod/','', $name);
- $list[$name] = $value;
+ foreach($tmp as $vName => $vValue){
+ $vName = preg_replace('/^mailMethod/','', $vName);
+ $list[$vName] = $vValue;
}
$list[''] = _("None");
break;
"group" => "core",
"mandatory" => FALSE),
+ array(
+ "name" => "allowUidProposalModification",
+ "type" => "bool",
+ "default" => "false",
+ "description" => _("Allows to modify uid-proposals when creating a new user from a user-template."),
+ "check" => "gosaProperty::isBool",
+ "migrate" => "",
+ "group" => "core",
+ "mandatory" => FALSE),
+
array(
"name" => "modificationDetectionAttribute",
"type" => "switch",
array(
"name" => "sambaHashHook",
"type" => "command",
- "default" => "perl -MCrypt::SmbHash -e \"print join(q[:], ntlmgen \\\$ARGV[0]), $/;\"",
+ "default" => "perl -MCrypt::SmbHash -e \"print join(q[:], ntlmgen %password), $/;\"",
"description" => _("Command to create Samba NT/LM hashes. Required for password synchronization if you don't use supplementary services."),
"check" => "gosaProperty::isCommand",
"migrate" => "",
"check" => "",
"migrate" => "",
"group" => "snapshot",
- "mandatory" => FALSE)
+ "mandatory" => FALSE),
+ array(
+ "name" => "forceTranslit",
+ "type" => "bool",
+ "default" => "false",
+ "description" => _("Enable transliteration of cyrillic characters for UID generation."),
+ "check" => "gosaProperty::isBool",
+ "migrate" => "",
+ "group" => "core",
+ "mandatory" => TRUE)
)));
}
}