summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-09 09:03:45 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-09 10:15:12 +1100
commit196cb6b359f3a8cdca5e1d4bb17a7ab7897095ab (patch)
treee26d59036d777c5591397a636ee93f03722bf2ce /source4/rpc_server
parent39a4e2a38d0a6767ebca13efaee0ac61297ad45b (diff)
downloadsamba-196cb6b359f3a8cdca5e1d4bb17a7ab7897095ab.tar.gz
samba-196cb6b359f3a8cdca5e1d4bb17a7ab7897095ab.tar.bz2
samba-196cb6b359f3a8cdca5e1d4bb17a7ab7897095ab.zip
s4-drs: fixed usage of ldb_dn_new()
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index b9ba6473a5..07e7972dfa 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -592,7 +592,7 @@ static WERROR getncchanges_rid_alloc(struct drsuapi_bind_state *b_state,
return WERR_DS_DRA_INTERNAL_ERROR;
}
- req_dn = ldb_dn_new(ldb, mem_ctx, req8->naming_context->dn);
+ req_dn = ldb_dn_new(mem_ctx, ldb, req8->naming_context->dn);
if (!req_dn ||
!ldb_dn_validate(req_dn) ||
ldb_dn_compare(req_dn, rid_manager_dn) != 0) {