Hello ! My problem is : I have very slow transfer if I copy files from server samba to windows 2000. In the opposite direction transfer is very good. Please help Greet All
Did you try putting the w2k's ip in your samba server's host file? Norman Dariusz Blada wrote:>Hello ! > >My problem is : > >I have very slow transfer if I copy files from server samba to windows 2000. >In the opposite direction transfer is very good. > >Please help > >Greet All > >
----- Original Message ----- From: "Norman Zhang" <nzhang@arkon-group.com> To: <samba@lists.samba.org> Sent: Friday, March 14, 2003 6:20 PM Subject: Re: [Samba] slow connect> Add the IP address and host name of your W2K machine to the hosts file (ona> separate line below 127.0.0.1 localhost). > > e.g., > > your.w2k.ip.address your.w2k.host.name > > HTH, > Norman > > ----- Original Message ----- > From: "Dariusz Blada" <darek@bdfelin.com.pl> > To: "Norman Zhang" <nzhang@arkon-group.com>; <samba@lists.samba.org> > Sent: Friday, March 14, 2003 8:51 AM > Subject: Re: [Samba] slow connect > > > My file named lmhosts contain : > > 127.0.0.1 localhost > > Is it good? if not what have I should do? > > Thanks > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/sambahello I added lines in files /etc/samba/lmhosts (is it correct file) or I should add these lines in files /etc/hosts ? Thanks
Hi Dariusz, Please add the entries in both lmhosts and hosts. lmhosts requires NetBIOS name rather than host name. Even tough, your W2K receives IP from a DHCP, if you set the lease time to long enough, most of the time the IP does not change. Try this first see if it helps. Norman ----- Original Message ----- From: "Dariusz Blada" <darek@bdfelin.com.pl> To: "Norman Zhang" <nzhang@arkon-group.com>; <samba@lists.samba.org> Sent: Friday, March 14, 2003 9:29 AM Subject: Re: [Samba] slow connect hello I added lines in files /etc/samba/lmhosts (is it correct file) or I should add these lines in files /etc/hosts ? Thanks
[root@ws49 etc]# /sbin/service smb restart Shutting down SMB services: [ OK ] Shutting down NMB services: [ OK ] Starting SMB services: [ OK ] Starting NMB services: [ OK ] [root@ws49 etc]# /sbin/service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ] [root@ws49 etc]# Hi Norman I putted these entries and without results :( and I restarted services (look above) Darek (Dariusz)
Maybe your Server does not have the one and only master browser table. To guarantee, that the server is the maste browser ad in smb.conf : os level = 250 name resolve order = wins lmhosts host bcast wins support = yes preferred master = yes local master = yes The higher the os level, the more possible is the election of the server as master brower, a value of 250 is higher than any MS server or client will have by default. Make shure nmbd is started. preferred master and local master will help to make shure your server hast the one and only master browser table. The installation of a wins server will reduce the amount of broadcast clients will perform just to say "hello my name is .... and im still in the network" To guarantee the client is using the wins server add in dhcpd.conf in the host section, where 192.168.0.1 should be replaced by your wins servers ip: # WINS Server option netbios-node-type 8; option netbios-name-servers 192.168.0.1; Every workstation or server that ist not ip configured by dhcp add the wins server by hand. ----------------------------------------------------------------------------------------------- J?rg Junge EDV-Koordinator Parit?tischer Wohlfahrtsverband Landesverband Th?ringen e.V. Bergstr. 11 99192 Neudietendorf Tel : +49 36202 26 204 Fax: +49 36202 26 234 Hi Norman, It's my smb.conf file How do you think ? What is wrong ? to slow connect :( Dariusz Thanks