Menu

#14 schema problem with 1 required attribute

open-fixed
nobody
None
5
2003-11-19
2003-02-21
Anonymous
No

if( preg_match( "|MUST\s*\(\s*(.*)\s*\)|Ui", $str, $a )) {
$atrlist = $a[1];
$atrs = split( $attrSplitRegex, $atrlist );
$oc['requires'] = $atrs;
}

This function in the Schema.php, will match all the
required attributes in the form :

MUST ( sn $ cn )

But do not work with :

MUST ou

Many objectclasses from the core.schema
have this systax too. (only 1 required attribute)

Discussion

  • Leo West

    Leo West - 2003-11-19
    • assigned_to: nobody --> leo_west
    • status: open --> open-remind
     
  • Leo West

    Leo West - 2003-11-19
    • status: open-remind --> open-fixed
     
  • Leo West

    Leo West - 2003-11-19
    • assigned_to: leo_west --> nobody
     

Log in to post a comment.

MongoDB Logo MongoDB