motec - Andrew Dennison
1998-Oct-27 02:04 UTC
Sometime cannot connect to samba server, Why ?
I used to have this problem with 1.9.17p4 of samba when PC's had file and printer sharing enabled. I fixed it by stopping the PC's from becoming Browse Masters by changing Browse Master to Disabled in the properties of the "File and printer sharing for Microsoft Networks". I'm sure there is a better fix but this worked for me. I think later versions of samba may fix this, as 1.9.18p7 in redhat 5.1 has not exhibited this problem when some new PC's were recently added to the network. Regards, Andrew Dennison Engineering Manager - MoTeC Australia -----Original Message----- From: samba@samba.anu.edu.au [mailto:samba@samba.anu.edu.au]On Behalf Of Panyarak Aaron Ngamsritragul Sent: Tuesday, 27 October 1998 12:36 To: Multiple recipients of list Subject: Sometime cannot connect to samba server, Why ? I have posted this question 3-4 weeks ago, but still get no response. In my environment, I have one Linux box running Samba 1.8.18p5, and there are about 20 Win95 clients which is in the same network. The porblem I usually encountered is when I click on the samba server icon in the NN icon, sometime I can get thru without any problem. However, there are also many times that I got error message like "cannot access resource" (Something like this, cannot remember precisely). I also discovered that, once the samba server denied connection, I login to the Linux box using Telnet client, become root and kill the smbd process, I will be able to connect to the server w/o problem. But since it is not resonable at all to give root access to everybody so that they can kill the process and get connect to server.... What can be the cause the this problem ? I have included my smb.conf in this mail for your reference too. i would like to add that, I have also tried to disable some unnecessary protocols, such as NetBEUI, unbind Windows Network from IPX/SPX protocol, but still cannot solve the problem. Panyarak Ngamsritragul Department of Mechanical Engineering Prince of Songkla University.
Panyarak Aaron Ngamsritragul
1998-Oct-27 15:33 UTC
Sometime cannot connect to samba server, Why ?
I have posted this question 3-4 weeks ago, but still get no response. In my environment, I have one Linux box running Samba 1.8.18p5, and there are about 20 Win95 clients which is in the same network. The porblem I usually encountered is when I click on the samba server icon in the NN icon, sometime I can get thru without any problem. However, there are also many times that I got error message like "cannot access resource" (Something like this, cannot remember precisely). I also discovered that, once the samba server denied connection, I login to the Linux box using Telnet client, become root and kill the smbd process, I will be able to connect to the server w/o problem. But since it is not resonable at all to give root access to everybody so that they can kill the process and get connect to server.... What can be the cause the this problem ? I have included my smb.conf in this mail for your reference too. i would like to add that, I have also tried to disable some unnecessary protocols, such as NetBEUI, unbind Windows Network from IPX/SPX protocol, but still cannot solve the problem. Panyarak Ngamsritragul Department of Mechanical Engineering Prince of Songkla University.
>Date: Tue, 27 Oct 1998 20:40:08 -0700 (GMT+7) >From: Panyarak Aaron Ngamsritragul <panya@me.psu.ac.th> >To: Multiple recipients of list <samba@samba.anu.edu.au> >Subject: RE: Sometime cannot connect to samba server, Why ? >Message-ID: <Pine.LNX.3.96.981027202844.31975A-100000@me-serv.me.psu.ac.th>>It is also strange that this problem does not happen to the clients >which have been assigned to use the share resource in the samba >server after booted, i.e. I put all the MS Office Program (or CD-ROM) >to a share in samba and install this package in each client at >'run from CD-ROM' option. This means that most of the components >of the MS Office is in the share of samba.I had a similar problem that clients failed to run a software package from a share sometimes. Every client opened about 45 files when the program was running, and after about 20 computers connecting the servers' global file table was full - leading to very confusing error messages. Look how man files are opened from samba using lsof of smbstatus, may be you have to raise the system limit (echo 2048 >/proc/sys/kernel/file-max on Linux) cu.. Stefan +--------------------------------------------------------------+ | Customer: I'm using Windows '95. Hotline: Ok, got that one. | | Customer: It's not working. Hotline: You already said that. | +--------------------------------------------------------------+