diff options
Diffstat (limited to 'source/cldap_server/rootdse.c')
-rw-r--r-- | source/cldap_server/rootdse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cldap_server/rootdse.c b/source/cldap_server/rootdse.c index 0690e8769ab..e40f6e00a4a 100644 --- a/source/cldap_server/rootdse.c +++ b/source/cldap_server/rootdse.c @@ -107,7 +107,7 @@ static void cldapd_rootdse_fill(struct cldapd_server *cldapd, ent = talloc(mem_ctx, struct ldap_SearchResEntry); if (ent == NULL) goto nomem; - ent->dn = ldb_dn_linearize(ent, res->msgs[0]->dn); + ent->dn = ldb_dn_alloc_linearized(ent, res->msgs[0]->dn); if (ent->dn == NULL) goto nomem; ent->num_attributes = 0; ent->attributes = NULL; |