Displaying 20 results from an estimated 5000 matches similar to: "question about libsmbclient"
2007 May 10
2
programming libsmbclient
hi all,
I have a strange problem using the libsmbclient api..
retrieving or stating files named with percents in is for some
of them impossible. Example: a file located at "smb://test/test/%7C2.txt" cannot be retrieved
with my code, smbc_open fails with the code NT_STATUS_OBJECT_NAME_INVALID.
I am not sure but, url encoding/decoding that would escape strings with "percent"
2007 Sep 19
0
Authentication problems using libsmbclient to traverse DFS links
Hi,
I'm trying to create a map of DFS links to actual server/share's.
I know that you can get this information by logging on to the DFS root
server, but I'm trying to use the libsmbclient API to
get this information.
I have created a fairly simple DFS structure on 2003 servers with
everything on the same domain.
//MyDomain/DFSRoot
/Link1 -> //Fileserv-1/FileShare1
/Link2
2015 May 28
1
libsmbclient question
Hi Jeremy,
It's now clear. We'll do a short term workaround somehow. I created the bug.
https://bugzilla.samba.org/show_bug.cgi?id=11295
Thanks for the useful reply.
Kind regards,
Szilard
2015-05-28 2:27 GMT+02:00 Jeremy Allison <jra at samba.org>:
> On Wed, May 27, 2015 at 11:16:08PM +0200, Szilard Matyas wrote:
> > Dear Gents,
> >
> > We are using
2020 Oct 10
2
Lookup sid with libsmbclient (invoked from c# on mono)
> Hello,
>
> I'm trying to resolve SID from a linux using a program written in c#
> running under mono.
>
> I already know the Windows API LookupSID (
> https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-lookupaccountsida)
> and its underlying raw RPC call (
>
2007 Apr 06
1
Authentication problems using libsmbclient API and DFS shares
Hi,
I'm trying to create a map of DFS links to actual
server/share's.? I know that you can get this information by logging
on to the DFS root server, but I'm trying to use the libsmbclient API to
get this information.
I have created a fairly simple DFS
structure on 2003 servers with everything on the same domain.
//MyDomain/DFSRoot
/Link1 -> //Fileserv-1/FileShare1
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:
2005 Feb 17
0
libsmbclient and closing connections
Hi,
Is there a way to close a connection that was created using
smbc_init/smbc_open?
I have written an apache module that authenticates the user against
the samba permissions of the dir/file being accessed. Everything works
great, except that the samba connections to dot get closed when the http
connection dies. This becomes a major problem after a while as all kinds
of zombie
2016 Oct 28
0
Samba and BTRFS server-side copy
On Fri, Oct 28, 2016 at 02:02:57AM +0200, Saint Germain via samba wrote:
>
> On linux, most current utilities like Nautilus (gvfs) still use SMB1 to
> connect, so there is no chance to trigger a server-side copy.
Oh, just checked the current gvfs source code to copy an
smb file. It does:
static gboolean
copy_file (GVfsBackendSmb *backend,
GVfsJob *job,
const char
2013 Feb 04
0
not able to connect to windows machine
Hi,
I am using samba4 and libsmbclient.h and libsmbclient.so.
I have implemented the below apis locally within linux machines, but now I want to connect to my windows machine for this I am giving my windows machine username and password
In below get_auth_data_fn() function:
static void get_auth_data_fn(const char * m_pserver, const char * m_pshare,
2008 Apr 25
3
[ANNOUNCE] Samba 3.2.0pre3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Release Announcements
=====================
This is the third preview release of Samba 3.2.0. This is *not*
intended for production environments and is designed for testing
purposes only. Please report any defects via the Samba bug reporting
system at https://bugzilla.samba.org/.
Please be aware that Samba is now distributed under the version 3
of
2008 Apr 25
3
[ANNOUNCE] Samba 3.2.0pre3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Release Announcements
=====================
This is the third preview release of Samba 3.2.0. This is *not*
intended for production environments and is designed for testing
purposes only. Please report any defects via the Samba bug reporting
system at https://bugzilla.samba.org/.
Please be aware that Samba is now distributed under the version 3
of
2006 May 16
1
How to handle special characters in filenames
Hi,
I'm using samba 3.0.21 on a FC 4 box.
I'm connecting to Win XP pro clients.
Using smbclient I can get and put files which contain '%' in file names.
Using libsmbclient smbc_open this is not possible. I get 'No such
file or directory Errno::ENOENT' error.
Any ideas how to solve this.
I guess it has to do with escaping special characters in smb urls but
I
2008 Jun 10
4
[ANNOUNCE] Samba 3.2.0rc2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=================================
Release Notes for Samba 3.2.0rc2
June 10, 2008
=================================
This is the second release candidate of Samba 3.2.0. This is *not*
intended for production environments and is designed for testing
purposes only.
2008 Jun 10
4
[ANNOUNCE] Samba 3.2.0rc2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=================================
Release Notes for Samba 3.2.0rc2
June 10, 2008
=================================
This is the second release candidate of Samba 3.2.0. This is *not*
intended for production environments and is designed for testing
purposes only.
2008 May 23
4
[ANNOUNCE] Samba 3.2.0rc1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Preamble:
Please help us testing this release candidate! If there are no major
catastrophes, it will become the first major release of Samba 3.2.0.
It might take a few hours until the files will be spread to all mirrors.
=================================
Release Notes for Samba 3.2.0rc1
2008 May 23
4
[ANNOUNCE] Samba 3.2.0rc1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Preamble:
Please help us testing this release candidate! If there are no major
catastrophes, it will become the first major release of Samba 3.2.0.
It might take a few hours until the files will be spread to all mirrors.
=================================
Release Notes for Samba 3.2.0rc1
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
2017 Jun 11
0
libsmbclient: poor performance using SMB2/3
Hello,
I use libsmbclient from Python, using pysmbc: https://pypi.python.org/pypi/pysmbc (its a very thin wrapper around libsmbclient).
When setting "client max protocol" in smb.conf to SMB2 (or higher), libsmbclient then switches to SMB2 if the server supports it. Performance of opendir() remains much the same, but calling stat() is about 40 times slower when using SMB2.
Time taken
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