[SCM] Samba Shared Repository - branch master updated
Kamen Mazdrashki
kamenim at samba.org
Mon Aug 2 19:39:15 MDT 2010
The branch, master has been updated
via f827904... s4-schema: More verbose error log when subClassOf is not found in schema
via a268e08... s4: fix comment typos
from eab6d8c... s3-spoolss: remove duplicate (and incorrect) header.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f8279045964cd0140be23b436ead1169096a8d18
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 3 04:26:57 2010 +0300
s4-schema: More verbose error log when subClassOf is not found in schema
Error message show failing classSchema object
but not the specific value for the failure,
which makes diagnostics by log files really hard.
commit a268e0846f1bc37a3dd63d2085884edc91b83e2a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Aug 3 04:14:45 2010 +0300
s4: fix comment typos
-----------------------------------------------------------------------
Summary of changes:
source4/dsdb/schema/schema_inferiors.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/dsdb/schema/schema_inferiors.c b/source4/dsdb/schema/schema_inferiors.c
index b3f5f31..d2c134e 100644
--- a/source4/dsdb/schema/schema_inferiors.c
+++ b/source4/dsdb/schema/schema_inferiors.c
@@ -1,5 +1,5 @@
/*
- Unix SMB/CIFS mplementation.
+ Unix SMB/CIFS implementation.
implement possibleInferiors calculation
@@ -49,7 +49,7 @@ static const char **schema_supclasses(const struct dsdb_schema *schema,
return NULL;
}
- /* Cope with 'top SUP top', ie top is subClassOf top */
+ /* Cope with 'top SUP top', i.e. top is subClassOf top */
if (schema_class->subClassOf &&
strcmp(schema_class->lDAPDisplayName, schema_class->subClassOf) == 0) {
schema_class->supclasses = list;
@@ -163,7 +163,9 @@ static int schema_create_subclasses(const struct dsdb_schema *schema)
struct dsdb_class *schema_class2 = discard_const_p(struct dsdb_class,
dsdb_class_by_lDAPDisplayName(schema, schema_class->subClassOf));
if (schema_class2 == NULL) {
- DEBUG(0,("ERROR: no subClassOf for '%s'\n", schema_class->lDAPDisplayName));
+ DEBUG(0,("ERROR: no subClassOf '%s' for '%s'\n",
+ schema_class->subClassOf,
+ schema_class->lDAPDisplayName));
return LDB_ERR_OPERATIONS_ERROR;
}
if (schema_class2 && schema_class != schema_class2) {
@@ -181,7 +183,7 @@ static int schema_create_subclasses(const struct dsdb_schema *schema)
for (schema_class=schema->classes; schema_class; schema_class=schema_class->next) {
schema_class->subclasses = str_list_unique(schema_subclasses_recurse(schema, schema_class));
- /* Initilise the subClass order, to ensure we can't have uninitilised sort on the subClass hirarchy */
+ /* Initialize the subClass order, to ensure we can't have uninitialized sort on the subClass hierarchy */
schema_class->subClass_order = 0;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list