search for: smb_request

Displaying 20 results from an estimated 54 matches for "smb_request".

2005 Jan 04
0
[2.6 patch] smbfs: make some functions static
...extern int smb_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat); extern int smb_notify_change(struct dentry *dentry, struct iattr *attr); /* file.c */ @@ -81,10 +78,8 @@ extern int smb_init_request_cache(void); extern void smb_destroy_request_cache(void); extern struct smb_request *smb_alloc_request(struct smb_sb_info *server, int bufsize); -extern void smb_rget(struct smb_request *req); extern void smb_rput(struct smb_request *req); extern int smb_add_request(struct smb_request *req); -extern int smb_request_send_req(struct smb_request *req); extern int smb_request_send_...
2001 Nov 27
2
kernel: smb_request: result -104, setting invalid
While using smbmounted shares I get the following errors in my syslog: ---<snip>-- Nov 27 18:27:45 cayman kernel: smb_request: result -104, setting invalid Nov 27 18:27:46 cayman kernel: smb_retry: successful, new pid=529, generation=2 --</snip>-- Is this something I should worry about? I am using RH 6.2, linux 2.4.16 and samba-2.0.10-0.62 installed from RPM. Regards, Peter
2004 Oct 31
0
RE: smb_request: result -512, setting invalid
...he.tdb): tdb_lock failed on list 4 ltype=1 (Bad file descriptor) <shrug>, oplocks is turned off, so not sure I understand this lock -----Original Message----- From: Tory M Blue [mailto:tmblue@pacbell.net] Sent: Saturday, October 30, 2004 7:56 PM To: 'samba@lists.samba.org' Subject: smb_request: result -512, setting invalid Hello seeing the following errors in my /var/log/mEssages file Samba 3.06 RH 2.4.21-20 kernel Connection to Network Appliance Filesystem Oct 30 19:37:00 sc8-a7-lri1 kernel: smb_get_length: recv error = 512 Oct 30 19:37:00 sc8-a7-lri1 kernel: smb_request: result -5...
2004 May 16
0
smb_request error
Hi, I am running samba 3.0.4 on my fedora box and I have been noticing a message like this showing up in /var/log/messages every hour, on the hour. May 16 10:01:00 box kernel: smb_request: result -104, setting invalid May 16 10:01:00 box kernel: smb_retry: successful, new pid=21347, generation=9 I assume that this message is being caused somehow by a cron job (diskcheck) that is going through and accessing all of my mounted volumes. It doesn't seem however that I should be rec...
2005 Sep 06
0
smb_request: result -104, setting invalid
smb_request: result -104, setting invalid this repeatedly occurs in the messages log and the kernel log. does anyone know how i can look this up and find out what it means? samba appears to be working fine but i'd like to get to the bottom of it. cheers, kev
2003 Feb 25
0
smb_request: result -104, setting invalid
I have a number of RedHat 7.3 computers. Kernel 2.4.18-3. Samba version 2.2.3a, installed from RPM that came on the RedHat CD. All the computers share some directories, but I don't think this is the issue. They also mount some windows shares like this: //host/unc /mnt/host/unc smbfs username=admin,password=pwd,workgrou=support,uid=user,gid=user 0 0 Sometimes on access to these shares
1999 Nov 10
0
Errors in /var/log/messages and "dmesg"
...29 (Home: Chelmsford, MA) +1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX) *************************************************************************** >From dmesg *************************************************************************** smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_retry: new pid=7299, generation=3 smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_retry: new pid=7299, generation=4 (this continued up to "generation=7") smb_get_length: recv error = 5 smb_request: result -5, setting invalid sm...
2001 Feb 28
2
Lock up issue
...appears to be some type of problem when 2 applications issue SMB calls at the same time. Once it freezes, the shares are dead. Any application tryin gto access them (even 'df') will freeze when it gets to the SMB shares. The shares cannot be unmounted. Durin gshutdown, I get errors from smb_request as the system tries to unmount the shares. I get smb_request error=-512 setting invalid and then a few error=-3. It should be noted that sometimes during a shutdown when the shares are NOT forzen, I'll get error=-104 I believe though the shares to that point were functioning fine. When I'...
2002 Aug 30
1
Problem on mount.smbfs
...r version : samba-2.0.6-9 I have configured our samba server as member of NT domain. Everything works well, ie: I can join to PDC server and also mount our file server into our samba server But everyday in our samba server on file /var/log/messages, I got messages: Aug 30 14:49:49 ultest kernel: smb_request: result -32, setting invalid Aug 30 14:49:49 ultest kernel: smb_retry: new pid=28360, generation=3 for your information below the result of testparm on smb.conf # Global parameters [global] workgroup = SNYL-JKT netbios name = netbios aliases = server string = ULTES...
2005 Jul 20
2
smb_get_length 2GB error
Hello, I have a problem, I'm mounting a ntfs directory shared with w2k. I made "cd" to the mounted directory, I excute tar ... and the limit is 2Gb, and I receive the error: Jul 20 10:04:30 mail kernel: smb_get_length: recv error = 512 Jul 20 10:04:30 mail kernel: smb_request: result -512, setting invalid Jul 20 10:04:30 mail kernel: smb_retry: caught signal Jul 20 10:04:30 mail kernel: smb_retry: caught signal S.O.: RHEL 3 samba: 3.0.7-1.3E.1 I'll appreciate any help. Alberto.
2005 Aug 26
1
Cannot copy Files > 2GB
...cp command starts and everything works fine until the 2GB are reached. Then the bash gives me the error: "The maximum file size is exceeded" the /var/log/messages file gives the following output: Aug 26 10:17:50 mypc kernel: smb_get_length: recv error = 512 Aug 26 10:17:50 mypc kernel: smb_request: result -512, setting invalid Aug 26 10:17:50 mypc kernel: smb_retry: caught signal Aug 26 10:17:50 mypc kernel: smb_retry: caught signal Aug 26 10:17:51 mypc kernel: smb_retry: successful, new pid=6082, generation=10 What can I do to solve this? thanks martin
2006 Jan 11
0
About smbfs: smb_get_length error
...onnection is "reconnected"! Does it right? How to ward off the error? Is there any potential problem if I ignore it? My actions are smbmount and smbumount some shares. Sometimes some shares are smbumount before they mounted (thus cause a smbumount fail). smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_retry: successful, new pid=1172, generation=2 smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_retry: successful, new pid=1195, generation=2 Thanks for your help. Latrell.
2004 Sep 10
0
Smbfs problems after upgrading from Woody to Sarge
...get into trouble. Error on the command line: aslan:/backup/test# cp wardrobe.tar.gz.1 wardrobe.tar.gz_test123 cp: writing `wardrobe.tar.gz_test123': Input/output error Errors from syslog: Sep 10 07:53:06 aslan kernel: smb_get_length: Invalid NBT packet, code=39 Sep 10 07:53:06 aslan kernel: smb_request: result -5, setting invalid Sep 10 07:53:06 aslan kernel: smb_writepage_sync: failed write, wsize=4096, result=-5 Sep 10 07:53:09 aslan kernel: smb_retry: successful, new pid=28697, generation=2 Sep 10 07:53:09 aslan kernel: smb_get_length: recv error = 5 Sep 10 07:53:09 aslan kernel: smb_request:...
2000 Aug 02
1
smbmount errors
On Wed, 2 Aug 2000, Bojana Bjeljac wrote: (questions on use and bug reports are more appropriate in samba@samba.org, not on samba-technical. If you subscribed to samba-technical you may want to subscribe to samba@samba.org instead/also) > I have Samba 2.0.7 ( configured with "--with-smbwrapper" and "-smbmount" > options ), running on RedHat 6.0 and I mount Win2000
2004 Jun 24
1
Interesting errors...
...ronment: smb_get_length: recv error = 5 smb_trans2_request: result=-5, setting invalid smb_retry: successful, new pid=818, generation=114 smb_get_length: recv error = 5 smb_trans2_request: result=-5, setting invalid smb_retry: successful, new pid=818, generation=115 smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_retry: successful, new pid=818, generation=116 smb_get_length: recv error = 5 smb_request: result -5, setting invalid smb_retry: successful, new pid=818, generation=117 smb_get_length: recv error = 5 smb_trans2_request: result=-5, setting invalid smb_retry: successfu...
2004 Apr 16
1
smbfs linux 2.4.24; connection loss causes total machine hang
I'm running smbfs on a Debian box with kernel 2.4.24. I would give you more information (such as my samba tools versions) if I could get into the box, but it's hung right now due to this bug. I'm mounting a filesystem from my desktop Windows box (which is right next to it; there's a D-Link in the way, though) and passing large amounts of data to it (backups). If the connection
1997 Sep 24
21
Samba Problems
I have a couple of problems with Samba that I would appreciate help with: 1. Since installing version 1.9.17p1, error messages such as "ERROR: set_share_mode: failed to ftruncate share mode file /var/smb/locks/share.9175085.1500224 to size 42 (Permission denied)" are appearing in log.smb. 2. When a directory on a UNIX machine contains a file named *, this file appears with the name ~16
2016 Jan 06
1
wide links and privileges
...UG(2, ("check_reduced_name: Bad access " "attempt: %s is a symlink outside the " "share path\n", fname)); ``` and ``` NTSTATUS check_reduced_name_with_privilege(connection_struct *conn, const char *fname, struct smb_request *smbreq) [...] if (strncmp(conn_rootdir, resolved_name, rootdir_len) != 0) { DEBUG(2, ("check_reduced_name_with_privilege: Bad access " "attempt: %s is a symlink outside the " "share path\n", dir_name)...
2016 Jan 06
3
wide links and privileges
...> "attempt: %s is a symlink outside the " > "share path\n", fname)); > > ``` > and > > ``` > NTSTATUS check_reduced_name_with_privilege(connection_struct *conn, > const char *fname, > struct smb_request *smbreq) > [...] > if (strncmp(conn_rootdir, resolved_name, rootdir_len) != 0) { > DEBUG(2, ("check_reduced_name_with_privilege: Bad access " > "attempt: %s is a symlink outside the " > "share path\n",...
2005 Mar 25
2
[2.6 patch] fs/smbfs/request.c: fix NULL dereference
...ferenced (look at the last line of this patch). Signed-off-by: Adrian Bunk <bunk@stusta.de> --- linux-2.6.12-rc1-mm2-full/fs/smbfs/request.c.old 2005-03-25 00:45:08.000000000 +0100 +++ linux-2.6.12-rc1-mm2-full/fs/smbfs/request.c 2005-03-25 00:47:14.000000000 +0100 @@ -783,20 +783,23 @@ int smb_request_recv(struct smb_sb_info break; break; /* We should never be called with any of these states */ case SMB_RECV_END: case SMB_RECV_REQUEST: server->rstate = SMB_RECV_END; break; } + if (!req) + return -ENOMEM; + if (result < 0) { /* We saw an error */ return r...