diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-06 12:26:23 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-11-06 12:57:26 +0100 |
commit | 2d972cda69cfdcd80b550816c518393cd75268c7 (patch) | |
tree | f89b187f01d453327b041ff3d407846f5b7d30ef /source4 | |
parent | 97f1e6a978661e8b2218a0a1a85a06eb7377e38f (diff) | |
download | samba-2d972cda69cfdcd80b550816c518393cd75268c7.tar.gz samba-2d972cda69cfdcd80b550816c518393cd75268c7.tar.bz2 samba-2d972cda69cfdcd80b550816c518393cd75268c7.zip |
s4:dsdb/rootdse: Add netlogon to msg via ldb_msg_add_steal_value
Diffstat (limited to 'source4')
-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; } } |