summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-08 03:52:14 +0200
committerKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-24 17:34:34 +0200
commit58ddf31ad1aad26b4a1bff885c9e7a66a51cd3f6 (patch)
treec509575701f01b7e8ffe5ce025761db942714aea /source4
parent4cdf4627a12751b821932e298450e80628f16158 (diff)
downloadsamba-58ddf31ad1aad26b4a1bff885c9e7a66a51cd3f6.tar.gz
samba-58ddf31ad1aad26b4a1bff885c9e7a66a51cd3f6.tar.bz2
samba-58ddf31ad1aad26b4a1bff885c9e7a66a51cd3f6.zip
s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source code
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_become_dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index ea4c620855..2dc1ee955e 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -2314,7 +2314,7 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq)
case 5:
case 6:
case 7:
- status = r->out.ctr->ctr3.error->info1.info->errorX.status;
+ status = r->out.ctr->ctr3.error->info1.info->errorX.extended_err;
break;
}
@@ -2325,7 +2325,7 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq)
s->dest_dsa.ntds_guid = r->out.ctr->ctr3.objects[0].guid;
} else if (*r->out.level_out == 2) {
if (r->out.ctr->ctr2.count != 1) {
- composite_error(c, werror_to_ntstatus(r->out.ctr->ctr2.error.status));
+ composite_error(c, werror_to_ntstatus(r->out.ctr->ctr2.error.extended_err));
return;
}