summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_ridalloc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-07-08 16:20:11 +0200
committerStefan Metzmacher <metze@samba.org>2010-07-09 09:27:16 +0200
commit538bb9b3ec2d3250bb97fe6f6f01e6917399fd01 (patch)
tree38cdc716ee5172b55de6ed2b0afdd6b1e6f35c6d /source4/dsdb/repl/drepl_ridalloc.c
parent49deed5a77af0a774cf186c2332416fbf6bba05b (diff)
downloadsamba-538bb9b3ec2d3250bb97fe6f6f01e6917399fd01.tar.gz
samba-538bb9b3ec2d3250bb97fe6f6f01e6917399fd01.tar.bz2
samba-538bb9b3ec2d3250bb97fe6f6f01e6917399fd01.zip
s4:dsdb/repl: expose drsuapi_DsExtendedError to the caller (e.g. the ridalloc client)
metze
Diffstat (limited to 'source4/dsdb/repl/drepl_ridalloc.c')
-rw-r--r--source4/dsdb/repl/drepl_ridalloc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/dsdb/repl/drepl_ridalloc.c b/source4/dsdb/repl/drepl_ridalloc.c
index 918307b363..eaff581083 100644
--- a/source4/dsdb/repl/drepl_ridalloc.c
+++ b/source4/dsdb/repl/drepl_ridalloc.c
@@ -100,11 +100,13 @@ static WERROR drepl_create_rid_manager_source_dsa(struct dreplsrv_service *servi
/*
called when a rid allocation request has completed
*/
-static void drepl_new_rid_pool_callback(struct dreplsrv_service *service, WERROR werr)
+static void drepl_new_rid_pool_callback(struct dreplsrv_service *service,
+ WERROR werr,
+ enum drsuapi_DsExtendedError ext_err)
{
if (!W_ERROR_IS_OK(werr)) {
- DEBUG(0,(__location__ ": RID Manager failed RID allocation - %s\n",
- win_errstr(werr)));
+ DEBUG(0,(__location__ ": RID Manager failed RID allocation - %s - extended_ret[0x%X]\n",
+ win_errstr(werr), ext_err));
} else {
DEBUG(3,(__location__ ": RID Manager completed RID allocation OK\n"));
}