diff options
author | CrÃstian Deives <cristiandeives@gmail.com> | 2009-11-23 15:47:51 -0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-11-30 20:22:13 +1100 |
commit | bed9efa6cda17ecca91bdf71227ec656b94dcf94 (patch) | |
tree | 01dded56aa27f3814e97aebc7d172be02c3cb770 /source4/dsdb | |
parent | 7ca2ceb333de6c4daad10890b3e3022e1930235c (diff) | |
download | samba-bed9efa6cda17ecca91bdf71227ec656b94dcf94.tar.gz samba-bed9efa6cda17ecca91bdf71227ec656b94dcf94.tar.bz2 samba-bed9efa6cda17ecca91bdf71227ec656b94dcf94.zip |
s4-ldb: changed ldb_msg_add_dn() to ldb_msg_add_linearized_dn()
this makes the usage clearer
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/extended_dn_out.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c index c52953c206..1463e192e9 100644 --- a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c +++ b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c @@ -377,9 +377,9 @@ static int extended_callback(struct ldb_request *req, struct ldb_reply *ares, ret = ldb_msg_add_steal_string(ares->message, "distinguishedName", ldb_dn_get_extended_linearized(ares->message, ares->message->dn, ac->extended_type)); } else { - ret = ldb_msg_add_dn(ares->message, - "distinguishedName", - ares->message->dn); + ret = ldb_msg_add_linearized_dn(ares->message, + "distinguishedName", + ares->message->dn); } if (ret != LDB_SUCCESS) { ldb_oom(ldb); |