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 5f153e67e753a16ba3150a845dc6986295a87744..43db540702b76c92a5abd93cdce7f91802f85a26 100644 (file)
/* Send remove policy event
*/
foreach($actions['del'] as $policy){
- if(!in_array($policy['NAME'],$policies)) continue;
+ if(!in_array_strict($policy['NAME'],$policies)) continue;
if(!$o->krb5_del_policy($this->macAddress,$policy['NAME'])){
msg_dialog::display(_("Service infrastructure"),msgPool::siError($o->get_error()),ERROR_DIALOG);
}
/* Send add new/edit policy event
*/
foreach($actions['add_edit'] as $policy){
- if(in_array($policy['NAME'],$policies)){
+ if(in_array_strict($policy['NAME'],$policies)){
if(!$o->krb5_set_policy($this->macAddress,$policy['NAME'],$policy['DATA'])){
msg_dialog::display(_("Service infrastructure"),msgPool::siError($o->get_error()),ERROR_DIALOG);
}