summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-16 17:05:48 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-17 13:01:02 +1100
commitf3f695f18f9c5df90d464e4424e757aa813ce971 (patch)
treea765de6e0bc199155e4ab4638707edac07c25946 /source4/torture
parent30be3fd143bc558ffdac2a6fcf992d5a39f8f7d9 (diff)
downloadsamba-f3f695f18f9c5df90d464e4424e757aa813ce971.tar.gz
samba-f3f695f18f9c5df90d464e4424e757aa813ce971.tar.bz2
samba-f3f695f18f9c5df90d464e4424e757aa813ce971.zip
s4-torture: show the sid we are basing privilege tests on
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/basic/denytest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c
index 3414edf656..6b7ae2614f 100644
--- a/source4/torture/basic/denytest.c
+++ b/source4/torture/basic/denytest.c
@@ -2719,13 +2719,17 @@ bool torture_maximum_allowed(struct torture_context *tctx,
owner_sid,
sec_privilege_name(SEC_PRIV_RESTORE));
has_restore_privilege = NT_STATUS_IS_OK(status);
- torture_comment(tctx, "Checked SEC_PRIV_RESTORE - %s\n", has_restore_privilege?"Yes":"No");
+ torture_comment(tctx, "Checked SEC_PRIV_RESTORE for %s - %s\n",
+ owner_sid,
+ has_restore_privilege?"Yes":"No");
status = smblsa_sid_check_privilege(cli,
owner_sid,
sec_privilege_name(SEC_PRIV_BACKUP));
has_backup_privilege = NT_STATUS_IS_OK(status);
- torture_comment(tctx, "Checked SEC_PRIV_BACKUP - %s\n", has_backup_privilege?"Yes":"No");
+ torture_comment(tctx, "Checked SEC_PRIV_BACKUP for %s - %s\n",
+ owner_sid,
+ has_backup_privilege?"Yes":"No");
smbcli_close(cli->tree, fnum);