getMustAttrNames( $schema_oclasses ), $schema_oclass->getMayAttrNames( $schema_oclasses ), $avail_attrs ); } $avail_attrs = array_unique( $avail_attrs ); $avail_attrs = array_filter( $avail_attrs, "not_an_attr" ); sort( $avail_attrs ); $avail_binary_attrs = array(); foreach( $avail_attrs as $i => $attr ) { if( is_attr_binary( $server_id, $attr ) ) { $avail_binary_attrs[] = $attr; unset( $avail_attrs[ $i ] ); } } } include 'header.php'; ?>

:     :

0 ) { if( $children_count == $max_children ) $children_count = $children_count . '+'; ?> 0 ) { ?> 1 ) { ?>
(mac) (win) (unix)
">
(mac) (win) (unix)

0 ) { ?> $vals ) { $counter++; $schema_href = "schema.php?server_id=$server_id&view=attributes#" . strtolower(real_attr_name($attr)); ?> \n"; } ?> 0 ) foreach( $hidden_attrs as $i => $attr_name ) $hidden_attrs[$i] = strtolower( $attr_name ); else $hidden_attrs = array(); ?> $vals ) { flush(); if( ! is_server_read_only( $server_id ) ) { $schema_attr = get_schema_attribute( $server_id, $attr, $dn ); if( $schema_attr ) $attr_syntax = $schema_attr->getSyntaxOID(); else $attr_syntax = null; } if( 0 == strcasecmp( $attr, 'dn' ) ) continue; // has the config.php specified that this attribute is to be hidden? if( in_array( strtolower( $attr ), $hidden_attrs ) ) continue; // is there a user-friendly translation available for this attribute? if( isset( $friendly_attrs[ strtolower( $attr ) ] ) ) { $attr_display = $friendly_attrs[ strtolower( $attr ) ]; $attr_note = "alias"; } else { $attr_note = ""; $attr_display = $attr; } ?> $val ) { $val = ( $val ); if( $val == "" ) echo "[empty]
\n"; else echo $val . "
"; } } else { echo ( $vals ) . "
"; } continue; } /* * Is this a userPassword attribute? */ if( 0 == strcasecmp( $attr, 'userpassword' ) ) { $user_password = $vals[0]; /* Capture the stuff in the { } to determine if this is crypt, md5, etc. */ if( preg_match( "/{([^}]+)}/", $user_password, $enc_type) ) $enc_type = strtolower($enc_type[1]); else $enc_type = null; // Set the default hashing type if the password is blank (must be newly created) if( $val == '' ) { $enc_type = $servers[$server_id]['default_hash']; } ?> getType() : null; if( 0 == strcasecmp( 'boolean', $type ) ) { $val = $vals[0]; ?> $val ) { $val = ( $val ); ?>

getIsSingleValue() ) { $add_href = "add_value_form.php?server_id=$server_id&" . "dn=$encoded_dn&attr=" . rawurlencode( $attr ); echo "
(" . $lang['add_value'] . ")
\n"; } ?> $vals ) */ ?>
0 ) { ?> ()
()

(" . $lang['none'] . ")


1 ) { for( $i=1; $i<=count($vals); $i++ ) { ?> "> ()

$values ) if( 0 == strcasecmp( $attr, $x ) ) return false; return true; } ?>