Displaying 20 results from an estimated 160 matches similar to: "libsmbclient programming"
2006 Jan 14
1
Restrict users with their IPs
Hi All!
On my samba server I`ve got some stuff with require authorization. I create
needed users for that. These users belong to the same group - private. But
now I want to restrict them even more - I want to bind them to particular
IPs. Eg user1 will be able to connect to private share only from user1_IP,
user2 from user2_IP. How can I do this with samba ?
Here is my private share
2009 Feb 05
1
extensions ending with "#"...
Hi everyone!
I've set up asterisk ip-pbx to implement IVR menu and encountered such a
problem: when users dial the destinaion phone number and end it up with
"#" asterisk still waits until timeout in WaitExten() is reached.
// Here comes the context where user is prompted for a dest. number:
context ivr-dialout {
s => {
Background(enter-your-dest-number);
2011 May 03
2
Bug#625506: /etc/xen/scripts/network-bridge script fails with additional bridges
Package: xen-utils-common
Version: 4.1.0~rc6-1
Recently I had troubles with creating more than one network bridge for my domU. For example, I have 2 domU running with xenbr0 bridge for both with peth0 and two vif#.0 interfaces in it. Everything is fine.
Now I need to run another one domU with a different bridge attached to a different interface. I'm trying to bring up a new bridge manually
2011 May 01
1
Bug#624788: Python version issue: "ImportError: No module named lxml"
Package: xen-utils-4.0
Version: 4.0.1-2
Right after another Wheezy distribution update I've faced the following issue with "xm".
=====
host:~# xm new /etc/xen/domains/test.cfg
Unexpected error: <type 'exceptions.ImportError'>
Please report to xen-devel at lists.xensource.com
Traceback (most recent call last):
File "/usr/lib/xen-4.0/bin/xm", line 8, in
2004 Oct 19
0
libsmbclient ftruncate
All,
I am trying to build some SMB functionality into one of my
existing programs using libsmbclient. The interface has everything I
need, except for the ability to shrink files (basically do an ftruncate).
Looking at some ethereal captures, it looks like when a client wants to
do a shrink of a file, it issues a TRANS2 with SET_FILE_INFO and
SMB_FILE_END_OF_FILE_INFO, and
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?
2006 May 24
1
Building libsmbclient independent of Samba
Hello,
I'm writing an application that is network-aware, and I would like to
add SMB/CIFS support to it. I would like to link against libsmbclient,
but I haven't figured out a way to build the library without installing
the whole Samba package.
First, are there any plans to offer libsmbclient independently?
Second, if not, does anyone know of a well-maintained library that
offers the
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
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
2007 Aug 19
1
Truncate with libsmbclient
Hi,
I'm working on a bug with fusesmb. This is a file system in user space
for Linux that uses libsmbclient to present a share like other VFS file
system.
The truncate operation of fusesmb-0.8.5-1 was not completely implemeted.
It's necessary for some applications, like OpenOffice, that do this
operation when saving a file.
So, I implemented a truncate function with libsmbclient. I
2005 Nov 02
2
libsmbclient.c changes in 3.21-pre ?
Hi all!
I'm using an interface module towards the libsmbclient.c/h and I've
noticed that I get weird results regarding filecreation and
accesstimes after upgrading to latest libsmbclient.
Can someone confirm that there are changes in this code regarding the
File::Stat methods.
Regards,
Henrik
2010 Sep 12
0
Question about programming libsmbclient.so
Hello,
I'm writing a FUSE fs which cooperates with the automounter to offer the
user easy and effective access
to all kinds of resources, like USB and CDrom devices, and SMB shares.
see:
http://linux.bononline.nl/projects/mount.md5key.new/
Now I want to make my FUSE fs aware a share and server are still available.
How can I do that? Where can I find documentation about the smbclient
2010 May 12
0
libsmbclient.so.0 size too big in embedded environment
Hi,
I'm trying to use libsmbclient in my embedded device.
However, it's too big (currently 5.8 MB samba v3.4.4)
I played around with the configure options (removing ldap, etc.) but the
smallest I got was still around 4+ MB.
Has anyone successfully reduced the size of libsmbclient?
I only need basic functionality like browsing hosts and shares.
Thanks for your help.
2011 Apr 01
0
Samba 3.3.8 and libsmbclient 3.0.33
Hi Folks,
I know, that there is Samba Vers. 3..38 for WIN7-Clients.
But what's about libsmbclient?
There's only Vers. 3.033.
Can I use / Have I to use this libraries for samba 3.3.8
Thx
Timothy
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
2002 Nov 03
0
libsmbclient bug ?
Hello,
I've tried using libsmbclient from the 2.2.6 samba package (on a slackware 8.1,
compiled --with-libsmbclient --with-sendfile-support --enable-debug (without
debug also) ) and it segfaults when I call smbc_stat() (or smbc_fstat() ) on a
file. I'm sorry I'm not able to find out the problem with gdb, the output (with
the library compiled with debugging enabled) is:
2002 Dec 12
1
libsmbclient init error
Hi,
I'm trying to use libsmbclient that comes with samba (2.2.7). Even if i
take testsmbc.c that comes with samba (as an example program for
libsmbclient) I get an "No such file or directory" error. Where is the
problem? I though it might be that it cannot find smb.conf, but i don't
know how to fix this.
Thanks
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
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