summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-24 12:40:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:51 -0500
commitaa9bf7f628d03a90e98a424833cd1a71c0e01676 (patch)
tree0e37aa971d0675dc45ffa956c096902e56ff10d1 /source4
parent77b68a2cdd51e43a1d236f8956cb6ad18df64e64 (diff)
downloadsamba-aa9bf7f628d03a90e98a424833cd1a71c0e01676.tar.gz
samba-aa9bf7f628d03a90e98a424833cd1a71c0e01676.tar.bz2
samba-aa9bf7f628d03a90e98a424833cd1a71c0e01676.zip
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)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/cracknames.c2
1 files changed, 1 insertions, 1 deletions
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 */