1
0
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:
Simo Sorce 2006-03-14 17:39:02 +00:00 committed by Gerald (Jerry) Carter
parent 3312888119
commit 265f596e50

View File

@ -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) {