summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-10-16 01:36:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:06 -0500
commite0294c9f66ef328e3d8dc62494f681a767c673be (patch)
treed7e66abf372a90d68fc85cb833e21b1f220b3ea3 /source4/lib
parent2ac52f809afcd85ee7ed80bbac64594f1e780942 (diff)
downloadsamba-e0294c9f66ef328e3d8dc62494f681a767c673be.tar.gz
samba-e0294c9f66ef328e3d8dc62494f681a767c673be.tar.bz2
samba-e0294c9f66ef328e3d8dc62494f681a767c673be.zip
r19310: Add another conflicting oid
Cope with there being no attributes to skip in the ad2oLscheam tool Andrew Bartlett (This used to be commit 942d7ad0c3534770ad05977b180e1c8111a5b6a6)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/tools/ad2oLschema.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/ad2oLschema.c b/source4/lib/ldb/tools/ad2oLschema.c
index 8b1203bff0..62c6e01c2e 100644
--- a/source4/lib/ldb/tools/ad2oLschema.c
+++ b/source4/lib/ldb/tools/ad2oLschema.c
@@ -330,7 +330,7 @@ static struct schema_conv process_convert(struct ldb_context *ldb, enum convert_
int j;
/* We have been asked to skip some attributes/objectClasses */
- if (str_list_check_ci(attrs_skip, name)) {
+ if (attrs_skip && str_list_check_ci(attrs_skip, name)) {
ret.skipped++;
continue;
}
@@ -436,7 +436,7 @@ static struct schema_conv process_convert(struct ldb_context *ldb, enum convert_
int j;
/* We have been asked to skip some attributes/objectClasses */
- if (str_list_check_ci(attrs_skip, name)) {
+ if (attrs_skip && str_list_check_ci(attrs_skip, name)) {
ret.skipped++;
continue;
}