r21027: Print the name we fail on. I need to fix Samba4 to pass this.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 26 Jan 2007 09:50:56 +0000 (09:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:44:21 +0000 (14:44 -0500)
Andrew Bartlett
(This used to be commit 5e907ae795b49d6c120ddedee3ba6d11c06bfab4)

source4/torture/rpc/samba3rpc.c

index 66e941c3cfff084830ae9cdcf7000621d8b63638..280bcc0bba5a3c3d69f610ea5220a83c4a68f6d7 100644 (file)
@@ -1459,7 +1459,8 @@ static struct dom_sid *name2sid(TALLOC_CTX *mem_ctx,
 
        status = dcerpc_lsa_LookupNames(p, tmp_ctx, &l);
        if (!NT_STATUS_IS_OK(status)) {
-               printf("LookupNames failed - %s\n", nt_errstr(status));
+               printf("LookupNames of %s failed - %s\n", lsa_name.string, 
+                      nt_errstr(status));
                talloc_free(tmp_ctx);
                return NULL;
        }