similar to: Truncate with libsmbclient

Displaying 20 results from an estimated 300 matches similar to: "Truncate with libsmbclient"

2008 Nov 03
1
smbtorture : Unknown operation mkdir
Hi, I got problem while using smbtorture with the NBENCH test. The error happens on the "Mkdir" operation. I'm using the file "client.txt" from dbench-3.04. There are "Mkdir" operations, but in the file "torture.c", this operation is not handled. Few other operations are not handled. I did compare operations from run_netbench and those that are present
2008 Nov 12
1
[fdo] Custom printer list for all applicatons
Hi, I would like to discuss issues with printer list displayed to users within open source desktop. In large environment, the cups printer list may get very long, and we need a way to display only relevant printers to the user. There are so much printing panel out there, and they are not using a printing framework other than libcups. So, I changed the libcups library to return only printers
2003 Oct 02
0
group export - print queue
Hello, I'm very happy to provide Linux solutions for windows client, but I'm not completly satisfied on 2 points. 1. Often, when I creat a windows file and print server; I creat it in domain controler. Now I havn't find a possibility to export domain group into local group in each client. Acctualy i must put each domain user into the apporpriate local group. It make so musch time
2007 Dec 07
0
Good idea, but no reply: what to do.
Hello, since some time I've created a construction which: - automatically detects all the smb hosts and their shares (with nbtscan and smbclient) - creates a directory in the homemap of the users logged in which represents the "windows networkneighbourhoud". - when entering a share, it is automatically mounted (with autofs and cifs and or smbfs) It works very good, and now
2015 Jan 22
0
How to do nonblocking writes to CIFS networkshares?
Hi! I'm new to this mailing list, so please help out if I'm adressing the wrong forum. :) I'm working on an application accessing a mounted networkshare. Under normal circumstances there is no problem accessing reading and writing to the networkshare using POSIX open(2)/read(2)/write(2) etc. However if there is intermittent connectivity problems to the networkshare my
2012 May 16
2
Trouble with mount.cifs while smbclient works (Ubuntu 12.04)
I just upgraded from Ubuntu 11.04 to 12.04 and am working to restore access to the windows shares I use at work. smbclient connects immediately: sudo smbclient //server/share -A /etc/.smb_creds.txt mount.cifs fails (with "mount error(13): Permission denied"): sudo mount.cifs //server/share /mnt/ -o credentials=/etc/.smb_creds.txt my credentials file is as
2011 Jun 03
2
missing symbols talloc_* (opensuse 11.4/samba 3.5.7-xxx)
I just recently upgraded to opensuse 11.4. basic smbd is running mostly fine (some name res-errors, login server missing, (can't connect to Domain service). Notably nmbd won't start due to undefined symbols: /usr/sbin/nmbd: symbol lookup error: /usr/sbin/nmbd: undefined symbol: _talloc_realloc_array. ldd -r shows a bunch of similar undefined symbols (shown further below). my samba rpm
2009 Jan 12
0
[ANNOUNCE] xorg-server 1.5.99.901
Ok, this is the first release candidate for X server version 1.6. At this point, I'm interested in seeing only critical bug fixes submitted on the wiki page. Sorry for the delay since 1.5.99.3, but I wanted to get the Enter Leave/FocusIn Out fixes into this release. -keith Adam Jackson (7): randr: Add [GS]etOutputPrimary randr: Mangle compat Xinerama reply based on primary
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
2004 Jul 28
0
libsmbclient programming
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All! I try to create simple program in C. I`ve got in my $HOME/.smb/smb.conf unix charset = KOI8-R dos charset = 866 but my program ignore these params :-(. All message from my prog abot hosts and shares are in utf8, but I want it in koi8-r. How can I fix this ? I use samba-3.0.5 on my gentoo box. P.S.: Samba server works
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
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