Displaying 20 results from an estimated 7000 matches similar to: "libsmbclient: poor performance using SMB2/3"
2012 Aug 31
1
Does samba-3.6.7's libsmbclient supports SMB2 protocol?
Hi,
I'm using libsmbclient library built from source3 directory of samba-3.6.7.
When I connect to a vista/2008 server using this libsmbclient library, communication is happening in SMB1 protocol and NOT in SMB2.
Please note that I've enabled SMB2 by adding following line to smb.conf
max protocol = SMB2
Does libsmbclient library built from source3 directory of samba-3.6.7 supports SMB2?
2019 Jul 13
0
rsync alternative -- smbclient?
I, too have been looking into alternatives to the rsync-based sysvol
replication workaround, and really liked the idea of using the
existing Sysvol SMB share, rather than a secondary protocol (with its
own authentication, etc).
When I realized that Andrew Bartlett was a primary developer of both
Samba and Rsync, I was even more surprised that Rsync doesn't support
an smb:// URL.
csync [1] is
2019 Jul 03
2
Problem with libsmbclient notify
Hello,
I'm trying to use the "notify" API of libsmbclient, testing against a
Samba AD DC. The function is returning with errno=22 (mapped from
NT_STATUS_REVISION_MISMATCH), and I'm getting the following error
message:
smb1cli_req_writev_submit: called for dialect[SMB3_11]
server[dc1.example.com]
It looks like libsmbclient is, for some reason, using SMB1 but needs
to be
2019 Jul 03
0
Problem with libsmbclient notify
On Tue, Jul 02, 2019 at 11:24:55PM -0400, Jonathon Reinhart via samba wrote:
> Hello,
>
> I'm trying to use the "notify" API of libsmbclient, testing against a
> Samba AD DC. The function is returning with errno=22 (mapped from
> NT_STATUS_REVISION_MISMATCH), and I'm getting the following error
> message:
>
> smb1cli_req_writev_submit: called for
2014 Jun 10
1
Samba protocol version in libsmbclient
Hi,
What determines the protocol version that libsmbclient uses?
Changing min and max protocol version in the client smb.conf seems to have
no effect.
I'm chasing up the performance issues I posted about earlier which may be
caused by my Linux clients defaulting to SMB1 (via gvfsd-smb) while Windows
happily negotiates SMB2 with the servers.
If I restrict the servers to SMB2, gvfs can't
2020 May 27
0
Question about smbc_stat() and smbc_statvfs() in libsmbclient
On Mon, May 25, 2020 at 11:36:18PM +0200, Peter Eriksson via samba wrote:
> I?ve been writing some code that uses libsmbclient to talk to SMB servers
> and I?m a little bit confused why ?smbc_stat()? sets the
> st_uid & st_gid to the uid & gid of the process calling it,
> instead of trying to map the real owner & group of the path or setting it to -1:-1 if it can?t do
2024 Oct 25
0
Could not find a suitable mechtype in NEG_TOKEN_INIT error in libsmbclient 4.19.4
>
>> Looking at the packet captures, when its working on libsmbclient 4.10,
>> it first sends a SMB1 negotiate protocol request, to which server
>> sends back a SMB2 response. Then there is a SMB2 negotiate protocol
>> request/response again.
>>
>> In 4.19, there is a SMB2 client negotiate protocol request
>> straightaway and to which the server
2020 May 28
2
Question about smbc_stat() and smbc_statvfs() in libsmbclient
Re: the smbc_stat() returning wrong st_uid/st_gid: Yeah, I get why it?s difficult, but perhaps it should just return -1/-1 instead? It too is wrong but probably less confusing than seeing the local user?s uid/gid there??
Anyway, I?ve been working on a ?grand unifying :-)? ACL managing (CLI) tool since I got tired of all the different and quite frankly confusing/frustrating tools to manage ACL
2016 Nov 02
0
Samba and BTRFS server-side copy
On Fri, 28 Oct 2016 19:10:12 +0200, Achim Gottinger via samba
<samba at lists.samba.org> wrote :
>
>
> Am 28.10.2016 um 08:18 schrieb Saint Germain via samba:
> > On Thu, 27 Oct 2016 17:30:09 -0700, Jeremy Allison <jra at samba.org>
> > wrote :
> >
> >> On Thu, Oct 27, 2016 at 05:22:14PM -0700, Jeremy Allison via samba
> >> wrote:
>
2020 May 25
2
Question about smbc_stat() and smbc_statvfs() in libsmbclient
I?ve been writing some code that uses libsmbclient to talk to SMB servers and I?m a little bit confused why ?smbc_stat()? sets the
st_uid & st_gid to the uid & gid of the process calling it, instead of trying to map the real owner & group of the path or setting it to -1:-1 if it can?t do that...
But there is probably some good reason for this?
Ie, if I call something like this:
>
2005 Mar 16
1
Compile error: libsmbclient on 12rc1 on Solaris 9
snip from make.log:
Compiling libsmb/libsmbclient.c with -KPIC
"libsmb/libsmbclient.c", line 3249: warning: argument #3 is incompatible
with prototype:
prototype: pointer to char : "libsmb/libsmbclient.c", line 1167
argument : pointer to const char
"libsmb/libsmbclient.c", line 3843: warning: argument #5 is incompatible
with prototype:
2017 Aug 31
0
Windows SMB2 client doing excessive, inefficient SMB2 Find (and other) requests
Hello Ralph,
many thanks for your fast reply and help with this issue! :-)
Am 31.08.2017 um 15:43 schrieb Ralph Böhme:
> On Thu, Aug 24, 2017 at 03:37:07PM +0200, awl1 via samba wrote:
>> Before I follow your advice to move this whole issue/topic to the
>> samba-technical alias and start over there with a clean description of the
>> scenario and the findings, I have two
2003 Jun 22
0
samba-2.2.8a libsmbclient install
Samba project,
I recently downloaded samba-2.2.8a.tar.bz2 and tried to install it
"--with-libsmbclient" but it failed in the install for one file :
Installing libsmbclient as /home/somos/u/samba/bin/libsmbclient
cp: cannot stat `libsmbclient': No such file or directory
chmod: getting attributes of `/home/somos/u/samba/bin/libsmbclient': No such fil
The reason is a slight
2014 Feb 20
1
Samba 4.1.4 on Solaris 10 fails linking 'default/examples/libsmbclient/teststatvfs'
Building Samba 4.1.4 on Solaris 10 with command line:
CC=gcc LDFLAGS='-R /opt/local/samba/lib:/opt/local/samba/lib/private' \
./configure --prefix=/opt/local/samba
make
fails linking 'default/examples/libsmbclient/teststatvfs':
[3505/3811] Linking default/examples/libsmbclient/teststatvfs
ld: warning: symbol 'dyn_LIBDIR' has differing sizes:
(file
2007 Sep 13
0
Compilation error when linking libsmbclient.so :-(
Hi All,
I am using libsmbclient.so (3.0.25b).
But I am getting following error when I try to compile my program.
Could any one of you please let me know as how should I go about resolving
this error ?
Thanks and Regards,
Avinash
g++ -g -O2 -o GenericCrwl crwl_cmdargs.o crwl_main.o crwl_crawl.o
../thirdparty/libs/libdb_cxx-4.3.so
2004 Mar 05
1
FW: What version started building libsmbclient.so?
Ok, I have been doing a lot of reading and saw many references to samba
2.2.8a and libsmbclient.so and I thought that I would just go ahead and
download, compile and install it. After going through configure, the make
and make install, I still don't have a libsmbclient.so file to link my
program to. I have never come across this before, there has always been a
.so file created from any of
2007 Nov 16
0
Is there a PAM setup for libsmbclient?
I have a working winbind on my Radados server that let's Ubuntu Gutsy
workstartions authenticate from the server. I works great. A user account
that exists on the server with a home directory is able to login to Ubuntu
with GDM and have a Gnome desktop and their home directory is mounted from
the server, all is good.
The server has many shares that are being offered to users that are members
2016 Nov 02
2
Samba and BTRFS server-side copy
Am 02.11.2016 um 03:05 schrieb Saint Germain via samba:
> On Fri, 28 Oct 2016 19:10:12 +0200, Achim Gottinger via samba
> <samba at lists.samba.org> wrote :
>
>>
>> Am 28.10.2016 um 08:18 schrieb Saint Germain via samba:
>>> On Thu, 27 Oct 2016 17:30:09 -0700, Jeremy Allison <jra at samba.org>
>>> wrote :
>>>
>>>> On Thu, Oct
2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
Hi,
There is some additional work to do (close lsa handle), but the far the
code below is working.
Let me share it with you in case somebody will have the same need that me.
br
Vincent LE TOUX
using Microsoft.Win32.SafeHandles;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Net;
using System.Runtime.InteropServices;
using System.Security.Principal;
namespace
2010 May 28
1
libsmbclient licensing
Dear Samba team,
We have developed cross-platform multiprotocol intranet file searcher
and it includes the module (SMB scanner for *nix) which uses
libsmbclient to enumerate all files on smb shares ("uses" means
including headers and linking with library). Other modules also use some
external libraries, but all other libraries have LGPL license.
We prefer to publish our