summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index 390950bb75..bfc4cac33e 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -992,7 +992,7 @@ static int samldb_find_for_defaultObjectCategory(struct samldb_ctx *ac)
struct ldb_context *ldb;
struct ldb_request *req;
int ret;
- const char *no_attrs[] = { NULL };
+ static const char *no_attrs[] = { NULL };
ldb = ldb_module_get_ctx(ac->module);