RELEASE 0.9.8.2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/functions.php,v 1.283.2.32 2006/02/19 03:00:40 wurley Exp $
|
||||
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/functions.php,v 1.283.2.33 2006/03/13 23:13:43 wurley Exp $
|
||||
|
||||
/**
|
||||
* A collection of functions used throughout phpLDAPadmin.
|
||||
@@ -85,6 +85,9 @@ function pretty_print_dn( $dn ) {
|
||||
if (DEBUG_ENABLED)
|
||||
debug_log('pretty_print_dn(): Entered with (%s)',1,$dn);
|
||||
|
||||
if (! is_dn_string($dn))
|
||||
pla_error(sprintf(_('DN %s is not an LDAP distinguished name.'),$dn));
|
||||
|
||||
$dn = pla_explode_dn( $dn );
|
||||
foreach( $dn as $i => $element ) {
|
||||
$element = htmlspecialchars($element);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/schema_functions.php,v 1.88.2.5 2006/01/02 08:35:39 wurley Exp $
|
||||
// $Header: /cvsroot/phpldapadmin/phpldapadmin/lib/schema_functions.php,v 1.88.2.6 2006/03/08 08:22:56 wurley Exp $
|
||||
|
||||
/**
|
||||
* Classes and functions for fetching and parsing schema from an LDAP server.
|
||||
@@ -145,6 +145,7 @@ class ObjectClass extends SchemaItem {
|
||||
|
||||
/**
|
||||
* Creates a new ObjectClass object given a raw LDAP objectClass string.
|
||||
* @todo: Unfortunately, some schemas are not well defined - eg: dNSDomain. Where the schema definition is not case consistent with the attribute definitions. This causes us some problems, which we need to resolve.
|
||||
*/
|
||||
function ObjectClass($raw_ldap_schema_string,$ldapserver) {
|
||||
if (DEBUG_ENABLED)
|
||||
|
Reference in New Issue
Block a user