idmap_autorid: fix a debug message in idmap_autorid_addrange()
authorMichael Adam <obnox@samba.org>
Wed, 4 Sep 2013 11:11:28 +0000 (13:11 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 1 Oct 2013 22:06:24 +0000 (00:06 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/idmap_autorid_tdb.c

index a27f79a7071e1c0dd3b0b5c9a1b0d90fa9ee3ebd..419d7553d0e8880ca18930248daed5eb7313eb7a 100644 (file)
@@ -175,8 +175,8 @@ static NTSTATUS idmap_autorid_addrange_action(struct db_context *db,
        /* increase the HWM */
        ret = dbwrap_change_uint32_atomic_bystring(db, HWM, &hwm, increment);
        if (!NT_STATUS_IS_OK(ret)) {
-               DEBUG(1, ("Fatal error while fetching a new "
-                         "domain range value!\n"));
+               DEBUG(1, ("Fatal error while incrementing the HWM value "
+                         "in the database: %s\n", nt_errstr(ret)));
                goto error;
        }