similar to: problem with smbc_init in libsmbclient

Displaying 20 results from an estimated 200 matches similar to: "problem with smbc_init in libsmbclient"

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 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
2007 Aug 21
3
Segment violation during the list of directory with smbc_readdir
Dear samba, I have a small piece of code that crashes on Samba 3.0.5: int main() { int smbdh; struct smbc_dirent *smbdi; char *smb_url = "smb://SERVER/Archive/NOT EMPTY"; if(smbc_init(get_auth, 0) < 0) { fprintf(stderr, "error initializing libsmbclient: %s\n", strerror(errno)); return -1; } if((smbdh =
2001 Apr 14
4
Code to hide inaccessible files/directories
I asked about this ability a few weeks ago and the reply was basically that folks would be interested in seeing it happen. Well, the client insisted, so I've put together a hack that accomplishes it. The basic design requirement was that users would not see files/directories that they did not have at least read access to. This request came about because we were migrating from a Novell server,
2013 Oct 14
0
[PATCH-resend] Implement SSH2_FXF_APPEND
Hi, I submitted this a few weeks ago but here it is again since I got no response. If there is somewhere else I should send this, please tell me. This patch implements SSH2_FXF_APPEND in the sftp server. It is a fairly trivial patch and applies against the proper OpenSSH and the Portable edition. I would argue that it is important for OpenSSH to implement SSH2_FXF_APPEND since it is in the
2007 May 29
0
Fw: [RFC] makedumpfile: xen extraction
Hi, I sent the following e-mail to kexec-mailing list (kexec@lists.infradead.org) since subjects of makedumpfile are discussed on the mailing list. I want to inform this to xen developers since I think this function is useful for xen developers. Thanks. Itsuro Oda (see https://sourceforge.net/projects/makedumpfile/ about makedumpfile command.) Forwarded by Itsuro ODA
2000 Apr 24
1
Samba 2.0.6 Compilation Warning under Solaris 7
I am trying to install Samba 2.0.6 under Solaris 7 (latest Sun-recommended patches applied) using the GNU C compiler "gcc version 2.95.1 19990816 (release)". It seems strange to me that there is a compilation warning because the purpose of the wrapper for which the compilation warning is issued is to make sure typing and results are correct. The problem appears to be due to a
2009 Jan 28
3
mount.cifs is not working (smbclient does work), somekind of recursive content in mount-dir
Hi all, When I try to make a connection to our windows server with smbclient: smbclient //server/dira/dirb/dirc -U username -W workgroup Password: ***** I get a working ftp-like connection to our data. When I try to make the same connection with mount.cifs: mount.cifs //server/dira/dirb/dirc /mnt/mnt_dir -o user=877790 dom=workgroup Password: ***** I get a mount to a location which appears
2003 Mar 12
0
can't delete older file/directory links on another local partition after `snapshot' type backup script
Thanks for looking at this, and developing rsync. Really useful program that I rely on. Bit of a newbie but I couldn't find anything on this in these archives. Hopefully it's a really stupid question! I'm trying to backup using cp -al and then rsync -auR --delete backup idea basically as per http://www.mikerubel.org/computers/rsync_snapshots/#Incremental. I have a separate
2004 Nov 12
1
Keeping File Trees in Sync
Hi list, I try to keep a local file tree synchronized with the remote one. However, using the --delete option does not work as expected or at least as I whish it would. Here is an example of the local tree I'd like to sync: /dirA/subDirA /subDirB /dirB/subDirC On the remote machine I have: /dirA/subDirA /subDirB /dirB/subDirC /dirC Here is the rsync call I use: Executing rsync
2007 Nov 11
1
ftp-server patch - restrict user to directory
Hi, please find a patch against openssh-4.7p1 This patch: 1) Allows for an optional configuration file 2) Allows a user to be restricted to a directory and it's children. Enjoy -- Alain Williams Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information:
2016 Aug 01
1
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
On Sat, Jul 30, 2016 at 05:57:02PM +0900, Namhyung Kim wrote: > On Thu, Jul 28, 2016 at 02:22:39PM +0100, Daniel P. Berrange wrote: > > > +static void virtio_pstore_from_filename(VirtIOPstore *s, char *name, > > > + char *buf, size_t sz, > > > + struct virtio_pstore_fileinfo *info) > >
2016 Aug 01
1
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
On Sat, Jul 30, 2016 at 05:57:02PM +0900, Namhyung Kim wrote: > On Thu, Jul 28, 2016 at 02:22:39PM +0100, Daniel P. Berrange wrote: > > > +static void virtio_pstore_from_filename(VirtIOPstore *s, char *name, > > > + char *buf, size_t sz, > > > + struct virtio_pstore_fileinfo *info) > >
2016 Jul 30
0
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
On Thu, Jul 28, 2016 at 02:22:39PM +0100, Daniel P. Berrange wrote: > On Thu, Jul 28, 2016 at 12:08:30AM +0900, Namhyung Kim wrote: > > Add virtio pstore device to allow kernel log files saved on the host. > > It will save the log files on the directory given by pstore device > > option. > > > > $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ...
2009 Jul 27
1
supporting --fake-super on opensolaris (zfs) destination
Hello everybody. I wrote a small patch in order to support what I think is an absolutely needed feature in order to make rsync-based backups retaining complete ownership permission when writing to an opensolaris machine using --fake-super. My goal is making backups of linux boxes to opensolaris/zfs. In order to make it work just do patch -p1 < patch_file.txt inside rsync source tree. and
2016 Jul 27
0
[PATCH 6/7] qemu: Implement virtio-pstore device
Add virtio pstore device to allow kernel log files saved on the host. It will save the log files on the directory given by pstore device option. $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ... (guest) # echo c > /proc/sysrq-trigger $ ls dir-xx dmesg-1.enc.z dmesg-2.enc.z The log files are usually compressed using zlib. Users can see the log messages directly on the
2015 Apr 02
2
SMBC_LINK directory entity type
Hello, I'm trying to write a smb client using the libsmbclient library but I don't know how to handle the SMBC_LINK type of smbc_dirent, which is defined in libsmbclient.h. I've grepped through the samba source code and it doesn't seem to appear anywhere except the mentioned header and examples. Can I safely assume there are no files/directories of such a type? Thanks,
2016 Jul 28
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
On Thu, Jul 28, 2016 at 12:08:30AM +0900, Namhyung Kim wrote: > Add virtio pstore device to allow kernel log files saved on the host. > It will save the log files on the directory given by pstore device > option. > > $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ... > > (guest) # echo c > /proc/sysrq-trigger > > $ ls dir-xx > dmesg-1.enc.z
2016 Jul 28
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
On Thu, Jul 28, 2016 at 12:08:30AM +0900, Namhyung Kim wrote: > Add virtio pstore device to allow kernel log files saved on the host. > It will save the log files on the directory given by pstore device > option. > > $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ... > > (guest) # echo c > /proc/sysrq-trigger > > $ ls dir-xx > dmesg-1.enc.z
2016 Jul 28
3
[PATCH 6/7] qemu: Implement virtio-pstore device
On Thu, Jul 28, 2016 at 12:08:30AM +0900, Namhyung Kim wrote: > Add virtio pstore device to allow kernel log files saved on the host. > It will save the log files on the directory given by pstore device > option. > > $ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ... > > (guest) # echo c > /proc/sysrq-trigger So if the point is handling system crashes, I