1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

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)
This commit is contained in:
Andrew Tridgell 2005-07-21 10:57:52 +00:00 committed by Gerald (Jerry) Carter
parent d3a2b03f76
commit 989a4b673d

View File

@ -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 */