mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r14390: the rootdse does not show a distinguishedName attribute
(This used to be commit 179e62d093
)
This commit is contained in:
parent
3312888119
commit
265f596e50
@ -54,6 +54,9 @@ static int rootdse_add_dynamic(struct ldb_module *module, struct ldb_message *ms
|
||||
|
||||
msg->dn = ldb_dn_explode(msg, "");
|
||||
|
||||
/* don't return the distinduishedName attribute if any */
|
||||
ldb_msg_remove_attr(msg, "distinguishedName");
|
||||
|
||||
if (do_attribute(attrs, "currentTime")) {
|
||||
if (ldb_msg_add_steal_string(msg, "currentTime",
|
||||
ldb_timestring(msg, time(NULL))) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user