From aa9bf7f628d03a90e98a424833cd1a71c0e01676 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 24 May 2007 12:40:46 +0000 Subject: r23115: the attribute array needs to be NULL terminated... hopefully fix the crash on some hosts in the farm... metze (This used to be commit 4fb9e4a353b1ef4177a6ef60996a366a8b56988f) --- source4/dsdb/samdb/cracknames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/samdb/cracknames.c b/source4/dsdb/samdb/cracknames.c index 2e26f1c308..87522d1ded 100644 --- a/source4/dsdb/samdb/cracknames.c +++ b/source4/dsdb/samdb/cracknames.c @@ -692,7 +692,7 @@ static WERROR DsCrackNameOneFilter(struct ldb_context *sam_ctx, TALLOC_CTX *mem_ const char * const _domain_attrs_display[] = { "ncName", "dnsRoot", NULL}; const char * const _result_attrs_display[] = { "displayName", "samAccountName", NULL}; - const char * const _domain_attrs_none[] = { "ncName", "dnsRoot" }; + const char * const _domain_attrs_none[] = { "ncName", "dnsRoot" , NULL}; const char * const _result_attrs_none[] = { NULL}; /* here we need to set the attrs lists for domain and result lookups */ -- cgit