fix for AD
This commit is contained in:
parent
32f4e3f313
commit
c0da431914
|
@ -127,6 +127,8 @@ class ObjectClass extends SchemaItem
|
||||||
{
|
{
|
||||||
$this->initVars();
|
$this->initVars();
|
||||||
$class = $raw_ldap_schema_string;
|
$class = $raw_ldap_schema_string;
|
||||||
|
$class = preg_replace('/\\(([a-z])/i', '( $1', $class);
|
||||||
|
$class = preg_replace('/([a-z])\\)/i', '$1 )', $class);
|
||||||
$strings = preg_split ('/[\s,]+/', $class, -1,PREG_SPLIT_DELIM_CAPTURE);
|
$strings = preg_split ('/[\s,]+/', $class, -1,PREG_SPLIT_DELIM_CAPTURE);
|
||||||
for($i=0; $i<count($strings); $i++) {
|
for($i=0; $i<count($strings); $i++) {
|
||||||
switch($strings[$i]) {
|
switch($strings[$i]) {
|
||||||
|
|
Loading…
Reference in New Issue