Displaying 20 results from an estimated 40000 matches similar to: "how to delete a locked file in smbclient."
2016 May 13
0
Compile Samba for Windows Use - SMBClient.exe mainly
On Fri, 2016-05-13 at 18:28 +0000, Allan P. Dynes wrote:
> Unfortunately that’s not going to be an option.
I'm not sure there are many good options then.
> I'm using a cloud sharing software package called Pydio and it was
> originally written for *nix platforms. I got it running amazingly
> well on a 2012 R2 server with IIS 8.5 but there is no built in way to
> access
2005 Dec 20
1
Remote Command Execution using jarapac,jcifs.etc.
Hi,
I need to install windows services remotely from linux. Given that the
windows server is running with minimum credentials. On reading hte previous
mails, I found that it is possible using jarapac, midlc, jcifs etc.
So I started with jcifs. I am able to transfer a file(service) from linux to
windows using jcifs API. Now I want to start that service. First I tried
with installing midlc
2016 May 14
3
Compile Samba for Windows Use - SMBClient.exe mainly
When I saw this thread the other day I had to try myself just to see what
would happen. I installed cygwin with all the build tools I'd think I
needed gcc g++ make autoconfig.
I ran "./configure --without-ad-dc" as it complained when I left out that
argument.
the first couple times configure complained about xxx missing and I
installed xxx then
configure just aborted after running a
2012 Mar 19
1
Receiving async directory change notifications from a Windows Server host on a Linux client
Hello everyone,
I need a way to programatically monitor a remote SMB share (hosted on a
Windows server) for new files, in an asynchronous (inotify-like) way from a
Linux machine. The directory I'd be monitoring might have a large number of
files, so I'd like to avoid constant polling. I'm open to just about
anything, from parsing smbclient stdout, to writing my own little C wrapper
2013 Feb 06
1
NTLMv2 with win2003 AD question
Hi
Thanks in advance.
I know my question below is not really related with samba but I'm really confused, and you guys are expert on windows authentication,
I really hope you have patience to read this and I'll appreciate any of your help.
I learned a lot from this post http://lists.samba.org/archive/jcifs/2008-October/008227.html.
I know that a "man in the middle" technique,
1999 Jan 26
0
jCIFS project.
I've started a new project, the goal of which is to implement CIFS in
Java, using Samba as a reference implementation. The Samba Team have
graciously provided us with web space, CVS, and a mailing list. If
you are interested in helping out, please see
http://jcifs.samba.org/
Chris Hertel
Samba Team
jCIFS Team
--
Christopher R. Hertel -)----- University of Minnesota
2002 Sep 12
1
Re: VFS Virus Scanner idea...
Chris;
I am not personally aware of any open source solutions for server based
virus protection and detection on LINUX, but I have used a commercial
product from Trend called Server Protect. More information on it is
available at http://www.trendmicro.com/products/splinux/
Additionally, their Interscan Virus Wall is an excellent product for
scanning E-Mail, Proxy Traffic, and FTP Traffic
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
16.03.2024 21:26, Ralph Boehme wrote:
> On 3/16/24 18:18, Michael Tokarev wrote:
>> Enabling strict renames does not change anything.? Yes it prevents from
>> renaming a directory if a file is open inside.? But not renaming a plain
>> file which is locked.
>
> oh, you mean just rename a plain file that is currently opened by some client? That is possible as long as all
2016 Apr 16
0
How to delete Locked files in Mac
The command:
system("chflags -R nouchg /path/to/your/directory")
... should unlock your files recursively in the directory. Then proceed with
file.remove()
B.
On Apr 16, 2016, at 3:09 PM, Christofer Bogaso <bogaso.christofer at gmail.com> wrote:
> Hi,
>
> I am looking for some R code, which will delete all files in a Folder
> that contains both Locked and
2018 Jan 05
0
smbclient, cannot delete non-empty directory, no error message
On 1/4/2018 3:52 PM, Chris Murphy via samba wrote:
> client: samba-client-4.7.4-0.fc27.x86_64
> client: samba-client-4.6.5-0.fc26.x86_64
> server: samba-4.7.3-3.fc27.x86_64
>
> Reproduce steps:
>
> [chris at f27h ~]$ smbclient //f27s.local/scratch/
> Enter SAMBA\chris's password:
> Try "help" to get a list of possible commands.
> smb: \> cd noperms
2016 Apr 16
2
How to delete Locked files in Mac
Hi,
I am looking for some R code, which will delete all files in a Folder
that contains both Locked and Unlocked files. There are many,
therefore i would like to delete all files programmatically in one go.
I used following code :
## "SS" is the Folder name including entire path which contains Locked
and Unlocked files.
file.remove(file.path(ss, list.files(ss)))
[1] FALSE
Warning
2016 May 13
3
Compile Samba for Windows Use - SMBClient.exe mainly
Unfortunately that’s not going to be an option. I'm using a cloud sharing software package called Pydio and it was originally written for *nix platforms. I got it running amazingly well on a 2012 R2 server with IIS 8.5 but there is no built in way to access another server share from the platform other than FTP over SSH or Samba. Again it was written for *nix so those options make sense.
2004 Oct 11
2
Legal questions with jCIFS 0.8.2
I work for IBM and our developers have used jCIFS 0.8.2 in our product. We
are now going through legal approval and have some questions.
If people submit code changes to your product, do you find out if the
submitter has the right to distribute the code? If so, do they need to
sign any kind of statement?
I couldn't find version 0.8.2 on your web site. The legal question is
2018 Jan 05
0
smbclient, cannot delete non-empty directory, no error message
On Fri, Jan 05, 2018 at 11:15:54AM -0700, Chris Murphy via samba wrote:
> On Fri, Jan 5, 2018 at 6:37 AM, lingpanda101 <lingpanda101 at gmail.com> wrote:
>
> > I would assume you would need to use 'rm -r' to remove a directory and
> > it's contents.
>
> That doesn't work and the man page doesn't list flags for any
> commands, plus it looks
2018 Jan 05
2
smbclient, cannot delete non-empty directory, no error message
On Fri, Jan 5, 2018 at 6:37 AM, lingpanda101 <lingpanda101 at gmail.com> wrote:
> I would assume you would need to use 'rm -r' to remove a directory and
> it's contents.
That doesn't work and the man page doesn't list flags for any
commands, plus it looks like rm is strictly for files not for
directories.
smb: \noperms\> rm -r test1
NT_STATUS_NO_SUCH_FILE
2018 Jan 04
2
smbclient, cannot delete non-empty directory, no error message
client: samba-client-4.7.4-0.fc27.x86_64
client: samba-client-4.6.5-0.fc26.x86_64
server: samba-4.7.3-3.fc27.x86_64
Reproduce steps:
[chris at f27h ~]$ smbclient //f27s.local/scratch/
Enter SAMBA\chris's password:
Try "help" to get a list of possible commands.
smb: \> cd noperms
smb: \noperms\> ls
. D 0 Wed Jan 3 12:00:27 2018
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
On 3/16/24 18:18, Michael Tokarev wrote:
> 16.03.2024 20:11, Ralph Boehme wrote:
>> On 3/16/24 14:18, Michael Tokarev wrote:
>>> So I'm trying to go exactly the opposite route: I'm mounting a samba
>>> share on linux (with cifs, see $subject).
>>
>> ah, missed that. Had read it as if you were acting on the Samba server
>> directly.
>>
2008 Jul 09
2
client cannot list subfolders
Hi,
I'm having a problem with the Sylpheed mail client and dovcot
1.0.rc15. Sylpheed does not like how dovecot is returning LIST output
so it cannot see subfolders.
Note: Sylpheed 2.4 actually works with the same server so apparently
something in a newer version of Sylpheed has changed.
This is some dialog with the Sylpheed mailing list:
> > Apparently it sees them but they're
2013 May 23
2
File deleted while locked
Hi,
I'm running Samba 4.0.0 on a RHEL 6.4 machine and have created a simple share with all the default configuration options. I've also created an application (running on the RHEL box) that does the following:
- detects a file appearing in the share (using Inotify looking for the IN_CLOSE_WRITE event)
- open and fcntl lock the file
- do some processing
- move the file to somewhere else
2011 Dec 13
1
linux smbclient NT_STATUS_LOGON_FAILURE, mount.cifs works
From linux, I can mount.cifs, but smbclient fails:
Searching through the archives, I found: "IIRC you should use mount.cifs
instead of smbclient on an ADS"
But for my application, it would be *really nice* to be able to use
smbclient, but if I have to, I can setup an
intermediate server that can run mount.cifs (the main application server
is locked into an old kernel version
that