Hello. I hope that this is the proper place to ask this. Here is my problem. I have several smbmounts under Red Hat Linux 5.1. They need to be accessed by my apache web server. One of the mounts keeps getting disconnected, but this is not noticed by Linux. So the Linux box thinks that the files under the smbmount are still accessable when they aren't actually mounted. What would be the best way to keep the mount alive and the files accessable? Thanks!! -Douglas S. Keester>From Mon Aug 24 11:13:59 1998Return-Path: <d-keester> Received: (from d-keester@localhost) by linux1.cornell-iowa.edu (8.8.7/8.8.7) id LAA01705; Mon, 24 Aug 1998 11:13:59 -0500 Date: Mon, 24 Aug 1998 11:13:59 -0500 From: "Douglas S. Keester" <d-keester> Message-Id: <199808241613.LAA01705@linux1.cornell-iowa.edu> To: samba@samba.anu.edu Subject: smbmount problem Cc: d-keester Hello. I hope that this is the proper place to ask this. Here is my problem. I have several smbmounts under Red Hat Linux 5.1. They need to be accessed by my apache web server. One of the mounts keeps getting disconnected, but this is not noticed by Linux. So the Linux box thinks that the files under the smbmount are still accessable when they aren't actually mounted. What would be the best way to keep the mount alive and the files accessable? Thanks!! -Douglas S. Keester
Environment: the machine montague is a Linux P266, and lansky is a SGI Indigo. The entry in /etc/init.d/ on montague says /usr/bin/smbmount /lansky/jpf /net/lansky/jpff -n -u 1000 -g 1000 and it runs OK as root when all booted. But as a startup line in rc2.d (S98smb so as to be late) it says Dec 17 09:37:35 montague kernel: smb_dont_catch_keepalive: server->data_ready == NULL I am starting smbd/nmbd from /etc/service and /etc/inet.conf as daemons. It seems that it is not able to mount this disk on boot, possibly because something is not yet ready? What am I doing wrong? ==John ffitch
Hello world, I'm stuck. I need to be able to smbmount home directories from the school NT box. It works for me at home. I can smbmount dirs from both W98 and my practice NT4/6a box. But I cannot smbmount from the school's NT4/6 box, even though it has NT4_PlainPassword.reg installed plus a reboot. The command used is "smbmount //edmund/allen$ mnt username=allen" and the error message is session setup failed: ERRDOS - ERRnoaccess (Access denied.) I am running a debian box with samba 2.0.7. My home NT box is configured as a stand-alone server and the school's as a PDC. Thanks for any assistance. If this is not the right list for this sort of thing, then please let me know. Lindsay -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Lindsay Allen <allen@cleo.murdoch.edu.au> Perth, Western Australia voice +61 8 9316 2486, 0403 272 564 32.0125S 115.8445E Debian Linux =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I have a problem with smbmount and permissions. I have several mount points setup to mount shares from various NT 4.0 Server machines on my linux box. Before the smbmount it looks like this: drwxrwxrwx 12 root root 4096 Feb 2 15:17 ./ drwxr-xr-x 22 root root 4096 Jan 16 18:04 ../ drwxrwxrwx 2 root root 4096 Jan 16 12:14 a2002/ drwxrwxrwx 2 root root 4096 Jan 16 12:14 a2003/ drwxrwxrwx 2 root root 4096 Jan 16 12:14 mas/ drwxrwxrwx 2 root root 4096 Jan 16 12:14 q2002/ Then I run the smbmount commands for these: smbmount //txs-q/q2002 /share/q2002 -o username=uname,password=passwd,fmask=0777,dmask=0777,rw smbmount //txs-a/a2002 /share/a2002 -o username=uname,password=passwd,fmask=0777,dmask=0777,rw smbmount //txs-a/a2003 /share/a2003 -o username=uname,password=passwd,fmask=0777,dmask=0777,rw smbmount //txs-mas/mas /share/mas -o username=uname,password=passwd,fmask=0777,dmask=0777,rw Then the permissions end up as such: drwxrwxrwx 12 root root 4096 Feb 2 15:17 ./ drwxr-xr-x 22 root root 4096 Jan 16 18:04 ../ drwxrwxrwx 1 root root 512 Feb 7 14:36 a2002/ dr-xr-xr-x 1 root root 512 Feb 7 15:22 a2003/ dr-xr-xr-x 1 root root 512 Feb 7 16:08 mas/ dr-xr-xr-x 1 root root 512 Feb 6 11:56 q2002/ Where only the a2002 folder ends up having 777 permissions and, hence, the ability to have my users write to this directory. Every other share the users cannot write to the share, which I cannot figure out. I checked the NT side and the uname I'm using is a member of the group that has Full Access on the shares and there isn't really any difference between the a2002 share and a2003 share, but yet the users can ONLY write to the a2002 samba share. This is driving me crazy! Any ideas??
Dear Everybody, I have in my system,Suse 7.1 kernel 2.4.10 and Samba 2.0.10, mounted with the command mount -t smbfs etc etc , resource exported of a Nt server, after a indeterminate time the process ad example smbmount //172.20.200.53/sipal /mnt/oci/sipal crash, in the my log I have this messages: Oct 2 11:53:52 linux kernel: smb_trans2_request: result=-104, setting invalid Oct 2 11:53:52 linux kernel: smb_retry: successful, new pid=501, generation=2 Oct 2 11:53:52 linux kernel: smb_trans2_request: result=-104, setting invalid Oct 2 11:53:53 linux kernel: smb_retry: successful, new pid=496, generation=2 Oct 2 12:11:05 linux kernel: smb_trans2_request: result=-104, setting invalid Oct 2 12:11:06 linux kernel: smb_retry: successful, new pid=506, generation=2 Have You an idea of solution to my problem? Thanks in advanced Giovanni Affuso Sipal Spa Sede sociale ed Uffici: Via Invorio, 24/a Torino tel. +390117176324 fax: +39011726766 mailto:affuso@sipal.it -------------- next part -------------- HTML attachment scrubbed and removed
Dear Everybody, I have in my system,Suse 7.1 kernel 2.4.10 and Samba 2.0.10, mounted with the command mount -t smbfs etc etc , resource exported of a Nt server, after a indeterminate time the process ad example smbmount //172.20.200.53/sipal /mnt/oci/sipal crash, in the my log I have this messages: Oct 2 11:53:52 linux kernel: smb_trans2_request: result=-104, setting invalid Oct 2 11:53:52 linux kernel: smb_retry: successful, new pid=501, generation=2 Oct 2 11:53:52 linux kernel: smb_trans2_request: result=-104, setting invalid Oct 2 11:53:53 linux kernel: smb_retry: successful, new pid=496, generation=2 Oct 2 12:11:05 linux kernel: smb_trans2_request: result=-104, setting invalid Oct 2 12:11:06 linux kernel: smb_retry: successful, new pid=506, generation=2 Have You an idea of solution to my problem? Thanks in advanced Giovanni Affuso Sipal Spa Sede sociale ed Uffici: Via Invorio, 24/a Torino tel. +390117176324 fax: +39011726766 mailto:affuso@sipal.it -------------- next part -------------- HTML attachment scrubbed and removed
On Wed, 3 Oct 2001, Giovanni Affuso wrote:> Oct 2 11:53:52 linux kernel: smb_trans2_request: result=-104, setting invalid > Oct 2 11:53:52 linux kernel: smb_retry: successful, new pid=501, generation=2 > Oct 2 11:53:52 linux kernel: smb_trans2_request: result=-104, setting invalid > Oct 2 11:53:53 linux kernel: smb_retry: successful, new pid=496, generation=2 > Oct 2 12:11:05 linux kernel: smb_trans2_request: result=-104, setting invalid > Oct 2 12:11:06 linux kernel: smb_retry: successful, new pid=506, generation=2None of those are error messages (yes, setting invalid does sound like an error message) and they do not show that smbmount crashed.> Have You an idea of solution to my problem?What is your problem? /Urban
Hi, I've been used smbmount (or mount -t smbfs) to connect share folder on NT. I could not used this mount point for a long time. I donot know what's wrong! this is my command smbmount -o username=root,password=root //nt_machinename/share_folder /mnt/nt_share_folder SF
Hi I want to replace nfs mounting with smbmount I have 50 users I tried to put on /etc/fstab the line - manually per user I'm using mount -t smbfs -o username=$USER //server/share /mnt/home and it prompt for a password But I need it on boot automatically for any user so I tried this //server/share /mnt/home user 0 0 and it's not working Tank's Yair
Hi I want to replace nfs mounting with smbmount I have 50 users I tried to put on /etc/fstab the line - manually per user I'm using mount -t smbfs -o username=$USER //server/share /mnt/home and it prompt for a password But I need it on boot automatically for any user so I tried this //server/share /mnt/home user 0 0 and it's not working Tank's Yair
Greetings, I am having an issue dealing with smbmount. My problem deals with a Linux box using smbmount to mount and access files on a Win2k server. Any shares that I mount on my Linux box from the Win2k box are owned by ROOT with 755 perms. But I need these shares to be writeable to from other users on the system (777). I have been searching for a solution on this, but everything I have found online does not solve this. I am using the following to mount the shares: smbmount -o //Win2k/share /mnt/share, username=USERNAME, password=PASSWORD, ip=IPADDRESS, debug=4 I have tried setting : dmask=777 and fmask=777 in this line, as well as trying to set the UID and GID settings here as well. But nothing seems to work. Anyone have a clue on this....pleeeaassse help!!! TIA -Chris