r23115: the attribute array needs to be NULL terminated...
authorStefan Metzmacher <metze@samba.org>
Thu, 24 May 2007 12:40:46 +0000 (12:40 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 May 2007 12:40:46 +0000 (12:40 +0000)
hopefully fix the crash on some hosts in the farm...

metze

source/dsdb/samdb/cracknames.c

index 2e26f1c308da3e2abd0fbe8baa8602ac22dbee56..87522d1dedefbd0149d72e97d8d6366135990e8d 100644 (file)
@@ -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 */