diff options
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/rootdse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index ebe09ded4a..f905aa2423 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -481,7 +481,7 @@ static int rootdse_add_dynamic(struct rootdse_context *ac, struct ldb_message *m } if (ac->netlogon.length > 0) { - if (ldb_msg_add_value(msg, "netlogon", &ac->netlogon, NULL) != LDB_SUCCESS) { + if (ldb_msg_add_steal_value(msg, "netlogon", &ac->netlogon) != LDB_SUCCESS) { goto failed; } } |