search for: smb_ioc_newconn

Displaying 12 results from an estimated 12 matches for "smb_ioc_newconn".

1999 Sep 17
1
Compiling with smbmount option
...on, which is what we need for mounting. The following wor " ----------- client/smbmount.c: In function `send_fs_socket` : client/smbmount.c:295: storage size of `conn_options` isn't known client/smbmount.c:314: `SMB_CASE_DEFAULT` Undeclared (first use this function) client/smbmount.c:325: `SMB_IOC_NEWCONN` Undeclared (first use this function) Please suggest me how I should proceed with the compilation. thanx in advance --- GBS
2003 Oct 01
2
smbmount not exiting
...t(383) mount.smbfs: entering daemon mode for service \\machine\c, pid=3487 and nothing else. Running mount with strace -v -f -s 128 gives the following: <snip endless normal-looking output> [pid 3493] open("/mnt/machine", O_RDONLY|O_LARGEFILE) = 6 [pid 3493] ioctl(6, SMB_IOC_NEWCONN, 0xbfffd080) = 0 [pid 3493] setsid() = 3493 [pid 3493] kill(3492, SIGTERM) = 0 [pid 3493] close(6) = 0 [pid 3493] brk(0) = 0x811e000 [pid 3493] brk(0) = 0x811e000 [pid 3493] brk(0x80fe000)...
1999 Jul 26
0
"smbmount" and Linux kernel-2.0.37
...ount.c:295: storage size of `conn_options' isn't known client/smbmount.c:314: `SMB_CASE_DEFAULT' undeclared (first use this function) client/smbmount.c:314: (Each undeclared identifier is reported only once client/smbmount.c:314: for each function it appears in.) client/smbmount.c:325: `SMB_IOC_NEWCONN' undeclared (first use this function) make: *** [client/smbmount.o] Error 1 After that I compiled Samba-2.0.5a (with smbmount) on two SuSE 6.1 machines running the most recent stable Linux kernel (2.2.10) without any problems. Has anybody encountered this problem yet? Bye, Steffen
2005 Nov 05
2
[PATCH 00/25] reduce code in fs/compat_ioctl.c
On S?nnavend 05 November 2005 00:51, Christoph Hellwig wrote: > On Sat, Nov 05, 2005 at 12:10:46AM +0100, Arnd Bergmann wrote: > > > > BTW, I now have a set of 25 patches that moves all handlers from > > fs/compat_ioctl.c over to the respective drivers and subsystems, > > but I'm not sure how to best test that. > > I intend to at least give it a test run on my
2005 Nov 05
2
[PATCH 00/25] reduce code in fs/compat_ioctl.c
On S?nnavend 05 November 2005 00:51, Christoph Hellwig wrote: > On Sat, Nov 05, 2005 at 12:10:46AM +0100, Arnd Bergmann wrote: > > > > BTW, I now have a set of 25 patches that moves all handlers from > > fs/compat_ioctl.c over to the respective drivers and subsystems, > > but I'm not sure how to best test that. > > I intend to at least give it a test run on my
2000 Apr 03
2
problem compiling 2.0.6 --with-smbmount
...les, then about 40 lines of conflicting types errors. The final errors before it bombs are client/smbmount.c: In function `send_fs_socket': client/smbmount.c:296: storage size of `conn_options' isn't known client/smbmount.c:308: `SMB_CASE_DEFAULT' undeclared client/smbmount.c:319: `SMB_IOC_NEWCONN' undeclared There is a 2.2.2 kernel on this machine also, and I checked and the link from /usr/include/linux does point to the directory with the correct header files for the running kernel. Sorry if I'm blundering on something painfully obvious, or if this isn't samba enough for the...
1999 Oct 13
2
Samba 2.0.6pre1 released
I've just released a snapshot of 2.0.6 in the alpha directory on samba.org. This is intended for testing to make sure some of the recent changes work well on a wider range of sites. I have also built a RedHat Linux 6.X RPM and put it in the same dircetory. If you are not running a mission critical site then we would appreciate feedback on this snapshot. If you have reported a bug in Samba
1999 Sep 29
0
building on Red Hat 5.2
...ount.c:295: storage size of `conn_options' isn't known client/smbmount.c:314: `SMB_CASE_DEFAULT' undeclared (first use this function) client/smbmount.c:314: (Each undeclared identifier is reported only once client/smbmount.c:314: for each function it appears in.) client/smbmount.c:325: `SMB_IOC_NEWCONN' undeclared (first use this function) make: *** [client/smbmount.o] Error 1 Thanks for any pointers.
2004 Dec 19
0
[2.6 patch] remove outdated smbfs ChangeLog
...1-07-13 Rob Radez <rob@osinvestor.com> - - * proc.c: make smb_errno return negative error values - -2001-07-09 Jochen Dolze <dolze@epcnet.de> - - * inode.c: smb_statfs always returned success. - * proc.c, ioctl.c: Allow smbmount to signal failure to reconnect with - a NULL argument to SMB_IOC_NEWCONN (speeds up error detection). - * proc.c: Add some of the missing error codes to smb_errno - -2001-06-12 Urban Widmark <urban@teststation.com> - - * proc.c: replace the win95-flush fix with smb_seek, when needed. - * proc.c: readdir 'lastname' bug (NetApp dir listing fix) - -2001-05-08...
2005 Jan 08
0
[2.6 patch] remove outdated smbfs ChangeLog (fwd)
...1-07-13 Rob Radez <rob@osinvestor.com> - - * proc.c: make smb_errno return negative error values - -2001-07-09 Jochen Dolze <dolze@epcnet.de> - - * inode.c: smb_statfs always returned success. - * proc.c, ioctl.c: Allow smbmount to signal failure to reconnect with - a NULL argument to SMB_IOC_NEWCONN (speeds up error detection). - * proc.c: Add some of the missing error codes to smb_errno - -2001-06-12 Urban Widmark <urban@teststation.com> - - * proc.c: replace the win95-flush fix with smb_seek, when needed. - * proc.c: readdir 'lastname' bug (NetApp dir listing fix) - -2001-05-08...
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...0) { - fprintf(stderr, "mount.smbfs: can't open %s\n", mount_point); + DEBUG(0,("mount.smbfs: can't open %s\n", mount_point)); break; - } + } conn_options.fd = c->fd; conn_options.protocol = c->protocol; @@ -317,7 +311,8 @@ res = ioctl(fd, SMB_IOC_NEWCONN, &conn_options); if (res != 0) { - fprintf(stderr, "mount.smbfs: ioctl failed, res=%d\n", res); + DEBUG(0,("mount.smbfs: ioctl failed, res=%d\n", res)); + close(fd); break; } @@ -332,23 +327,44 @@ close(fd); -#ifndef SMBFS_DEBUG - /* Close all open...
1998 Sep 04
0
Linux SMB Mount utils patch
...opyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke + * Copyright (C) 1997 by Volker Lendecke + * + */ + +#ifndef _LINUX_SMB_FS_H +#define _LINUX_SMB_FS_H + +#include <linux/smb.h> + +/* + * ioctl commands + */ +#define SMB_IOC_GETMOUNTUID _IOR('u', 1, __kernel_uid_t) +#define SMB_IOC_NEWCONN _IOW('u', 2, struct smb_conn_opt) + +#ifdef __KERNEL__ + +#include <asm/unaligned.h> + +#define WVAL(buf,pos) \ +(le16_to_cpu(get_unaligned((__u16 *)((__u8 *)(buf) + (pos))))) +#define DVAL(buf,pos) \ +(le32_to_cpu(get_unaligned((__u32 *)((__u8 *)(buf) + (pos))))) +#de...