smbstatus does not show the locks anymore when run as a non-root user
Issue
On samba-3.5.10 the smbstatus used to show the the locked files when run as a user:
[michele@server ~]$ smbstatus
Samba version 3.5.10-125.el6
....
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
2207 500 DENY_NONE 0x100081 RDONLY NONE /home/michele . Tue Aug 13 18:40:45 2013
On samba-3.6.9 the locks are not displayed any longer when smbstatus is run as a user:
[michele@rhel64x64 ~]$ smbstatus
Samba version 3.6.9-151.el6
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
michele 4498 winxp32 Tue Aug 13 18:34:30 2013
IPC$ 4498 winxp32 Tue Aug 13 18:34:24 2013
Environment
- Red Hat Enterprise Linux
- Samba 3.6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
