autorid: improve a debug message in idmap_autorid_map_sid_to_id()
authorMichael Adam <obnox@samba.org>
Mon, 17 Mar 2014 11:49:19 +0000 (12:49 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 25 Apr 2014 13:35:09 +0000 (15:35 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/idmap_autorid.c

index 1617bbf66e33f13bd2eea8ba59fd4c750a7dfe91..cf82e47fac1cde12292aa00944011481f1459a50 100644 (file)
@@ -346,8 +346,8 @@ static NTSTATUS idmap_autorid_map_sid_to_id(struct idmap_domain *dom,
 
        /* bad things happened */
        if (!NT_STATUS_EQUAL(ret, NT_STATUS_NONE_MAPPED)) {
-               DEBUG(1, ("Looking up SID->ID mapping for %s failed\n",
-                         sid_string_dbg(map->sid)));
+               DEBUG(1, ("Looking up SID->ID mapping for %s failed: %s\n",
+                         sid_string_dbg(map->sid), nt_errstr(ret)));
                return ret;
        }