Displaying 20 results from an estimated 10000 matches similar to: "libsmbclient: how to see if authentication succeeded"
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
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:
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
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
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:
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
2005 Jan 28
0
question about libsmbclient
Hello!
I'm writing a file scanner that searches shares in SMB network
(http://sf.net/projects/fsmbsearch if it matters).
I would like to use libsmbclient to scan remote server. However, there
is a problem, that I cannot solve. Out network is quite large (more than
2000 hosts). There is no strong administration, so each user choose
whatever name for his computer. As a result, there many hosts
2013 Nov 12
1
static link libsmbclient.a got a lot of error, and how to include "smbtree" feature in program
Hi All:
I have some questions when writing a lib with libsmbclient-dev ,my target environment is on any linux system.
1 I want to static link libsmbclient.a instead of using libsmbclient.so, but I got a lot of error , am I able to use libsmbclient-dev using static link?
2 I found that ?smbtree? command is more stable in finding all those domains and servers than
2002 Nov 29
0
libsmbclient problem
Hi *,
I have a problem (configuration problem probably) using the libsmbclient
library (samba 2.2.6/7).
I use a small c program to open directories (workgroups and servers) and
list the contents of these dirs.
I have two samba servers int the network. The first is everything-master
and wins server, the second is nothing like that. The program works fine
if I run it on the first server (using
2009 Feb 04
1
libsmbclient: readdir caches dirents?
I'm using libsmbclient with smbc contexts.
If I do an smbc_readdir() of a directory X then I get a
bunch of (correct) dirents.
I then smbc_rmdir() a subdirectory X/Y, which succeeds.
A subsequent smbc_readdir(), using the same smbc
context, still gives a dirent for X/Y.
I've observed this with libsmbclient from Samba 3.2.4,
3.2.7 and 3.3.0, talking to Samba and Win2K3 servers.
Two
2018 Feb 11
0
libsmbclient conflict problem
On 2018-02-11, me at tdiehl.org
<me at tdiehl.org> wrote:
> On Sun, 11 Feb 2018, Liam O'Toole wrote:
>
>> 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:
>>>
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?