summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-01-26 09:50:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:21 -0500
commit0c45d415ffa1cb96e07fbec805d80a98bcd7547e (patch)
treed2735a8e774cfca91c9c64bf2a85c53e0426d1eb
parenta3c2bc4ba012cfa2827cff91105d7d69c62dc972 (diff)
downloadsamba-0c45d415ffa1cb96e07fbec805d80a98bcd7547e.tar.gz
samba-0c45d415ffa1cb96e07fbec805d80a98bcd7547e.tar.bz2
samba-0c45d415ffa1cb96e07fbec805d80a98bcd7547e.zip
r21027: Print the name we fail on. I need to fix Samba4 to pass this.
Andrew Bartlett (This used to be commit 5e907ae795b49d6c120ddedee3ba6d11c06bfab4)
-rw-r--r--source4/torture/rpc/samba3rpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index 66e941c3cf..280bcc0bba 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -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;
}