diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-16 17:05:48 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-17 13:01:02 +1100 |
commit | f3f695f18f9c5df90d464e4424e757aa813ce971 (patch) | |
tree | a765de6e0bc199155e4ab4638707edac07c25946 | |
parent | 30be3fd143bc558ffdac2a6fcf992d5a39f8f7d9 (diff) | |
download | samba-f3f695f18f9c5df90d464e4424e757aa813ce971.tar.gz samba-f3f695f18f9c5df90d464e4424e757aa813ce971.tar.bz2 samba-f3f695f18f9c5df90d464e4424e757aa813ce971.zip |
s4-torture: show the sid we are basing privilege tests on
-rw-r--r-- | source4/torture/basic/denytest.c | 8 |
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); |