summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93910f7)
raw | patch | inline | side by side (parent: 93910f7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 May 2008 08:03:54 +0000 (08:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 May 2008 08:03:54 +0000 (08:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10802 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc | patch | blob | history | |
gosa-plugins/heimdal/admin/systems/services/kerberos/krb5_policy.tpl | patch | blob | history |
diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc
index a807e6eb3ea615a0b91041edb8ae118d6e13689e..fda2ebb1a694f8bae1ba5e70f33baed1e0403c23 100644 (file)
*/
$actions = array("del" => array(),"add_edit" => array());
foreach($this->policies as $policy){
+
+ /* Unset not used vars */
+ if(isset($policy['DATA']['MASK'])) unset($policy['DATA']['MASK']);
+ if(isset($policy['DATA']['POLICY_REFCNT'])) unset($policy['DATA']['POLICY_REFCNT']);
+
switch($policy['STATUS']){
case "REMOVED" : $actions['del'] [] = $policy;break;
case "ADDED" :
msg_dialog::display(_("Service infrastructure"),msgPool::siError($o->get_error()),ERROR_DIALOG);
}
}else{
- unset($policy['DATA']['MASK']);
- unset($policy['DATA']['POLICY_REFCNT']);
if(!$o->krb5_add_policy($this->macAddress,$policy['NAME'],$policy['DATA'])){
msg_dialog::display(_("Service infrastructure"),msgPool::siError($o->get_error()),ERROR_DIALOG);
}
diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/krb5_policy.tpl b/gosa-plugins/heimdal/admin/systems/services/kerberos/krb5_policy.tpl
index a33e643c8c3c9cb1892128966f8e771bceaeddc3..246cbdd65e93044e6c9bfef24cf759a8f60f1ab8 100644 (file)
<td>{t}Policy name{/t}</td>
<td><input type="text" name="name" value="{$name}"></td>
</tr>
- <tr>
+<!-- <tr>
<td>{t}Mask{/t}</td>
<td><input type="text" name="MASK" value="{$MASK}"></td>
</tr>
+-->
<tr>
<td>{t}Password minimum length{/t}</td>
<td><input type="text" name="PW_MIN_LENGTH" value="{$PW_MIN_LENGTH}"></td>