similar to: libsmbclient: poor performance using SMB2/3

Displaying 20 results from an estimated 7000 matches similar to: "libsmbclient: poor performance using SMB2/3"

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
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 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
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:
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
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
2015 May 27
2
libsmbclient question
Dear Gents, We are using libsmbclient smbc_getFunctionRead to read from a Microsoft DFS share. Before each 64k read there are a QUERY_PATH_INFO and a GET_DFS_REFERRAL which slow down the transmission. Is there a way to query these only once at the beginning of the transmission and cache it? system: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux lib:
2008 May 17
0
libsmbclient: how to see if authentication succeeded
Hello, I'm looking for a way in libsmbclient to see if authentication succeeded or not. Not finding libsmbclient documentation except examples, I started looking at code and found some doing a trivial operation (stat on a known-readable path for example). However, in my case I have no guarenteed-readable directory or file. I did find a workaround though, but it's a bit of a kludge that
2018 Feb 11
0
libsmbclient conflict problem
On 2018-02-06, me at tdiehl.org <me at tdiehl.org> wrote: > Hi, > > I have a c-6 machine that I noticed the following on: > > (bugs pts10) # package-cleanup --problems Loaded plugins: > fastestmirror, priorities, refresh-packagekit Package > system-config-printer-libs-1.1.16-26.el6.x86_64 requires > libsmbclient.so.0()(64bit) Package >
2002 Oct 21
0
PATCH for libsmbclient.c (samba-2.2.5)
Hello there, we are running samba-2.2.5 under AIX4.3.3 (IBM silver node). As we tried to run the perl module Filesys::SmbClient we found the following problem in samba-2.2.5/source/libsmb/libsmbclient.c : AIX returns for "rlp.rlim_max" (file handler) the largest unsigned integer. Inside the function smbc_init the variable "smbc_start_fd" is calculated by adding a "guard