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 08:49:17 +0000 (10:49 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
source3/winbindd/idmap_autorid_tdb.c

index 6966e65b8e98c605692a8805bcb5a9ca8570f179..a9c4014e207c01074ec57ec04e93d461551e9903 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;
        }