diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-21 02:31:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:18:54 -0500 |
commit | 54ea3c23e3bfd25008198e85fdcc1f48b0325eab (patch) | |
tree | f3aa0f84b563d6b6dc9a8cd7f682fffa5bf22e96 /source3/utils | |
parent | 607f9ffc8e3b4018741db277d9240b2b19c5379e (diff) | |
download | samba-54ea3c23e3bfd25008198e85fdcc1f48b0325eab.tar.gz samba-54ea3c23e3bfd25008198e85fdcc1f48b0325eab.tar.bz2 samba-54ea3c23e3bfd25008198e85fdcc1f48b0325eab.zip |
r16435: Add in the uid info that Jerry needs into the
share_mode struct. Allows us to know the unix
uid of the opener of the file/directory. Needed
for info level queries on open files.
Jeremy.
(This used to be commit d929323d6f513902381369d77bcd7b714346d713)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/status.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index 2566c8a50d..163d99a2f6 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -108,13 +108,14 @@ static void print_share_mode(const struct share_mode_entry *e, const char *share if (count==0) { d_printf("Locked files:\n"); - d_printf("Pid DenyMode Access R/W Oplock SharePath Name\n"); - d_printf("----------------------------------------------------------------------------------------\n"); + d_printf("Pid Uid DenyMode Access R/W Oplock SharePath Name Time\n"); + d_printf("--------------------------------------------------------------------------------------------------\n"); } count++; if (Ucrit_checkPid(procid_to_pid(&e->pid))) { d_printf("%-11s ",procid_str_static(&e->pid)); + d_printf("%-9u ", (unsigned int)e->uid); switch (map_share_mode_to_deny_mode(e->share_access, e->private_options)) { case DENY_NONE: d_printf("DENY_NONE "); break; |