summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8274ffa)
raw | patch | inline | side by side (parent: 8274ffa)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Apr 2007 12:37:58 +0000 (12:37 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Apr 2007 12:37:58 +0000 (12:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6205 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Schema.inc | patch | blob | history |
index cf4e68d97b33c0aa2c4e50086f15033d67a1f5db..25d6d68c0df2f9b3087117b9fe07b4c312dce3b0 100644 (file)
$checks['posixGroup']['INFO'] = "";
if(isset($tmp['posixGroup'])){
- $posixGroup = $tmp['posixGroup'];
- $structural = preg_match("/STRUCTURAL/i",$posixGroup);
- if($rfc2307bis && $structural){
+ if($rfc2307bis && isset($tmp['posixGroup']['STRUCTURAL'])){
$checks['posixGroup']['STATUS'] = FALSE;
$checks['posixGroup']['MSG'] = _("You have enabled the rfc2307bis option on the 'ldap setup' step, but your schema configuration do not support this option.");
$checks['posixGroup']['INFO'] = _("In order to use rfc2307bis corform groups the objectClass 'posixGroup' must be AUXILIARY");
}
- if(!$rfc2307bis && !$structural){
+ if(!$rfc2307bis && !isset($tmp['posixGroup']['STRUCTURAL'])){
$checks['posixGroup']['STATUS'] = FALSE;
$checks['posixGroup']['MSG'] = _("You have disabled the rfc2307bis option on the 'ldap setup' step, but your schema configuration do not support this option.");
$checks['posixGroup']['INFO'] = _("The objectClass 'posixGroup' must be STRUCTURAL");