How can I find locked files under a Samba setup?
Boaz Bezborodko
boaz at mirrotek.com
Sat Jun 16 07:48:55 PDT 2007
Jay R. Ashworth wrote:
<snip>
>> I believe that individual SMB user connection daemons run as the user,
>> actually.
>> -- j
>
>
This this case I *really* have to come down on the side of using Webmin to see
what's going on instead of SWAT for this purpose. Webmin's view of who has what
files open as SMB shares is so much better.
SWAT works, but you have look at two tables, tranfering one number to the other
mentally to figure anything out.
I seem to remember you had Ubuntu
Install perl and libraries this way or with synaptic
$ sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl
libpam-runtime libio-pty-perl libmd5-perl
Get the .deb file
$ wget http://prdownloads.sourceforge.net/webadmin/webmin_1.340_all.deb
click on the .deb file you downloaded or
$ sudo dpkg -i webmin_1.340_all.deb
https://localhost:1000 and login with your ubuntu username and password
========================================================
I did try using Webmin, but I didn't see where the locks were located. I'll have to look again.
I did install SWAT and they have a button at the bottom of the screen that allows you to view the locks by computername as opposed to by PID. But it's still not all that flexible. There seems to be little rhyme or reason to the sorting which makes it a hassle to look for something.
If the Webmin tool is no good I just might set up a cron job to run smbstatus to a file every 15 or 30 seconds and set up a Filepro program to import the file to make it easy to view from the Windows machines in the formats I would prefer. (i.e. I can set it up to list only Filepro files in the order of user or of files and without the entire file tree.)
Boaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20070616/f2b9d36e/attachment.html
More information about the Filepro-list
mailing list