summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-03-20 15:26:33 +0100
committerJeremy Allison <jra@samba.org>2014-04-03 00:26:28 +0200
commitd9c216343b787502c91e88ed19b43810db8352f1 (patch)
tree40b4951b401ef9ee59affafc5cb59c7d71642b78
parentfd56a63a871be01822f47bdb123413f1541fd68b (diff)
downloadsamba-d9c216343b787502c91e88ed19b43810db8352f1.tar.gz
samba-d9c216343b787502c91e88ed19b43810db8352f1.tar.xz
samba-d9c216343b787502c91e88ed19b43810db8352f1.zip
autorid: improve the precision of the DEBUG at the end of add_range
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/winbindd/idmap_autorid_tdb.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_autorid_tdb.c b/source3/winbindd/idmap_autorid_tdb.c
index 4a866bf70a..04b7fd4674 100644
--- a/source3/winbindd/idmap_autorid_tdb.c
+++ b/source3/winbindd/idmap_autorid_tdb.c
@@ -247,8 +247,11 @@ static NTSTATUS idmap_autorid_addrange_action(struct db_context *db,
"domain->range assignment: %s\n", nt_errstr(ret)));
goto error;
}
- DEBUG(5, ("Acquired new range #%d for domain %s "
- "(domain_range_index=%"PRIu32")\n", requested_rangenum, keystr,
+
+ DEBUG(5, ("%s new range #%d for domain %s "
+ "(domain_range_index=%"PRIu32")\n",
+ (acquire?"Acquired":"Stored"),
+ requested_rangenum, keystr,
range->domain_range_index));
range->rangenum = requested_rangenum;