Sponsored Content
Full Discussion: Samba Slow ?
Special Forums IP Networking Samba Slow ? Post 302191646 by jwmurphy on Sunday 4th of May 2008 04:51:52 AM
Old 05-04-2008
I'm reviving this ancient thread because I couldn't easily find an answer to this problem myself, so I hope this answer will help some people out.

I fixed the very slow loading of folders by adding this line:
Code:
name resolve order = wins lmhosts hosts

If you look in the Samba HOWTO Collection, you'll see that the default order is host, lmhost, wins, bcast. I think the crucial thing is to have wins first. Try for yourself, hope it helps, cheers.
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Slow

The site has gone slow for quite some time... Can you do somethin abt it (2 Replies)
Discussion started by: DPAI
2 Replies

2. UNIX for Advanced & Expert Users

ls -l over NFS slow

I have an HP-UX server with a Network Appliance Filer attached over Gigabit Ethernet. I am noticing very slow response time when using "ls -l" on one directory on one of the several NFS mounted filesystems. The "ls" command by itself does not seem to be a problem. Typically I get a response within... (3 Replies)
Discussion started by: keelba
3 Replies

3. SCO

Slow cd response

Hi All We have one SCO Server here and it never gives us any trouble. Until Now!! Well its not earth shattering but we have one user who is complaining of a very slow response time when changing to his Home Directory. Other users who have similar profiles are OK. I have su'd to this user and I can... (0 Replies)
Discussion started by: JohnOB
0 Replies

4. Shell Programming and Scripting

Cut too slow

Hi I am using a cut command in the script which is slowing down the performance of the script .can anyone suggest the other ways of doing the same cut command Record_Type=`echo "$line" | cut -c19-20` *******this is slowing down********* i have 4 more cut commands 2 in one loop and 2 in inner... (3 Replies)
Discussion started by: pukars4u
3 Replies

5. IP Networking

Samba Slow to Connect Xp to Solaris

Hi everyone, I posted this on the Solaris forums but so far no one has been able to help... I'm new to solaris and I've installed 10, update 5. I've configured samba (very badly I believe) so that I can access my solaris box from my XP 64 computer. Both are on a local network (connected via... (1 Reply)
Discussion started by: ciscocbee
1 Replies

6. UNIX and Linux Applications

e-mail is slow

The problem is between 2:00 and 5:00 PM. The email (procmail) proccess load up big time. If I do a prstat at 8:00 AM I have about 100 proccess and 30 mails in mailq. Now at 3:50 PM, I have over 1000 proccess from prstat and 600 e-mail in mailq. Some mail takes 2 hours to get out or in. ... (1 Reply)
Discussion started by: photon
1 Replies

7. AIX

SLOW mksysb

Hello. I am running AIX 5.2 on a 9131-52A I am trying to run a mksysb. I ran one on a similar 9131 and it did not take long at all. But this one is taking forever. My output is as follows: ********************************************************* AIX:/ # mksysb -i /dev/rmt0 Creating... (2 Replies)
Discussion started by: mhenryj
2 Replies

8. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

9. Red Hat

VM becomes slow every 3-4 days

Hi, I have RHEL 6.1 on VM, where Big data is installed. Every 3-4 days, its web interface become very slow and I had to reboot this VM. I was checking with "top" and that shows that free memory is less. Can this be a reason for slowness ? No big load on CPU. # free -m total ... (6 Replies)
Discussion started by: solaris_1977
6 Replies
LMHOSTS(4)						   File Formats and Conventions 						LMHOSTS(4)

NAME
lmhosts - The Samba NetBIOS hosts file SYNOPSIS
lmhosts is the samba(7) NetBIOS name to IP address mapping file. DESCRIPTION
This file is part of the samba(7) suite. lmhosts is the Samba NetBIOS name to IP address mapping file. It is very similar to the /etc/hosts file format, except that the hostname component must correspond to the NetBIOS naming format. FILE FORMAT
It is an ASCII file containing one line for NetBIOS name. The two fields on each line are separated from each other by white space. Any entry beginning with '#' is ignored. Each line in the lmhosts file contains the following information: o IP Address - in dotted decimal format. o NetBIOS Name - This name format is a maximum fifteen character host name, with an optional trailing '#' character followed by the NetBIOS name type as two hexadecimal digits. If the trailing '#' is omitted then the given IP address will be returned for all names that match the given name, whatever the NetBIOS name type in the lookup. An example follows: # # Sample Samba lmhosts file. # 192.9.200.1 TESTPC 192.9.200.20 NTSERVER#20 192.9.200.21 SAMBASERVER Contains three IP to NetBIOS name mappings. The first and third will be returned for any queries for the names "TESTPC" and "SAMBASERVER" respectively, whatever the type component of the NetBIOS name requested. The second mapping will be returned only when the "0x20" name type for a name "NTSERVER" is queried. Any other name type will not be resolved. The default location of the lmhosts file is in the same directory as the smb.conf(4) file. FILES
lmhosts is loaded from the configuration directory. This is usually /etc/samba or /usr/local/samba/lib. VERSION
This man page is correct for version 3.0 of the Samba suite. SEE ALSO
smbclient(1), smb.conf(4), and smbpasswd(1M) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 was done by Alexander Bokovoy. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+----------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+----------------------+ |Availability | SUNWsmbar, SUNWsmbau | +--------------------+----------------------+ |Interface Stability | External | +--------------------+----------------------+ NOTES
Source for Samba is available on http://opensolaris.org. Samba(7) delivers the set of four SMF(5) services as can be seen from the following example: $ svcs samba wins winbind swat STATE STIME FMRI disabled Apr_21 svc:/network/samba:default disabled Apr_21 svc:/network/winbind:default disabled Apr_21 svc:/network/wins:default disabled Apr_21 svc:/network/swat:default where the services are: "samba" runs the smbd daemon managing the CIFS sessions "wins" runs the nmbd daemon enabling the browsing (WINS) "winbind" runs the winbindd daemon making the domain idmap "swat" Samba Web Administration Tool is a service providing access to browser-based Samba administration interface and on-line documentation. The service runs on software loopback network interface on port 901/tcp, i.e. opening "http://localhost:901/" in browser will access the SWAT service on local machine. Please note: SWAT uses HTTP Basic Authentication scheme where user name and passwords are sent over the network in clear text. In the SWAT case the user name is root. Transferring such sensitive data is advisable only on the software loopback network interface or over secure networks. Samba 3.0 01/19/2009 LMHOSTS(4)
All times are GMT -4. The time now is 01:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy