LDAP Account Manager\n"; echo "\n"; echo "\n"; $dn = isset( $_GET['dn'] ) ? $_GET['dn'] : null; $encoded_dn = rawurlencode( $dn ); if( null != $dn ) { $rdn = get_rdn( $dn ); } else { $rdn = null; } $attr = $_GET['attr']; $encoded_attr = rawurlencode( $attr ); $current_values = get_object_attr( $dn, $attr ); $num_current_values = ( is_array($current_values) ? count($current_values) : 1 ); $is_object_class = ( 0 == strcasecmp( $attr, 'objectClass' ) ) ? true : false; $is_jpeg_photo = is_jpeg_photo( $attr ); //( 0 == strcasecmp( $attr, 'jpegPhoto' ) ) ? true : false; if( $is_object_class ) { // fetch all available objectClasses and remove those from the list that are already defined in the entry $schema_oclasses = get_schema_objectclasses(); foreach( $current_values as $oclass ) unset( $schema_oclasses[ strtolower( $oclass ) ] ); } else { $schema_attr = get_schema_attribute( $attr ); } ?>

:

:

" . htmlspecialchars($attr); ?>




> getMaxLength() ) echo "maxlength=\"" . $schema_attr->getMaxLength() . "\" "; ?>name="new_value" size="40" value="" />
getDescription() ) { ?> : getDescription(); ?>
getType() ) { ?> : getType(); ?>
getMaxLength() ) { ?> : getMaxLength() ); ?>