summaryrefslogtreecommitdiff
path: root/source4/auth/auth_sam.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-21 10:57:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:53 -0500
commit989a4b673da1ac77be48cd3bff43305ff1352d05 (patch)
treed853f804cd0db63cc614b33fcbaf15d420b611f9 /source4/auth/auth_sam.c
parentd3a2b03f7690ba0b8910d5b5ad37ca0cf67e3221 (diff)
downloadsamba-989a4b673da1ac77be48cd3bff43305ff1352d05.tar.gz
samba-989a4b673da1ac77be48cd3bff43305ff1352d05.tar.bz2
samba-989a4b673da1ac77be48cd3bff43305ff1352d05.zip
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)
Diffstat (limited to 'source4/auth/auth_sam.c')
-rw-r--r--source4/auth/auth_sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index 3318238fda..7f5f41e58c 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 */