git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d841d2
)
s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'
author
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Sep 2013 22:49:19 +0000
(
00:49
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Sep 2013 22:49:19 +0000
(
00:49
+0200)
The attribute on the RootDSE object is called 'dnsHostName'
instead of 'dNSHostName' (which is used in the schema and on
all other directory objects).
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/rootdse.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/rootdse.c
b/source4/dsdb/samdb/ldb_modules/rootdse.c
index eaf64517d98432ec81524167b8daf91ee36bf4f0..167201ec60a1378473b5c4bbc8a42d499bebd65b 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/
source4/dsdb/samdb/ldb_modules/rootdse.c
@@
-270,7
+270,7
@@
static int rootdse_add_dynamic(struct ldb_module *module, struct ldb_message *ms
if (ret == LDB_SUCCESS) {
const char *hostname = ldb_msg_find_attr_as_string(res->msgs[0], "dNSHostName", NULL);
if (hostname != NULL) {
- if (ldb_msg_add_string(msg, "d
NS
HostName", hostname)) {
+ if (ldb_msg_add_string(msg, "d
ns
HostName", hostname)) {
goto failed;
}
}