From 989a4b673da1ac77be48cd3bff43305ff1352d05 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Jul 2005 10:57:52 +0000 Subject: [PATCH] r8676: attribute lists in ldb searches must be NULL terminated this is what was causing the panic on the s390 box (This used to be commit 3a49626ae17d6076f0fc54b0453acb459d88297c) --- source4/auth/auth_sam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c index 3318238fda5..7f5f41e58c6 100644 --- a/source4/auth/auth_sam.c +++ b/source4/auth/auth_sam.c @@ -211,7 +211,7 @@ static NTSTATUS authsam_search_account(TALLOC_CTX *mem_ctx, struct ldb_context * NULL, }; - const char *domain_attrs[] = {"nETBIOSName", "nCName"}; + const char *domain_attrs[] = {"nETBIOSName", "nCName", NULL}; if (domain_name) { /* find the domain's DN */ -- 2.34.1