25.5 Common Errors


TCP/IP network configuration problems find every network administrator sooner or later. The cause can be anything from keyboard mishaps, forgetfulness, simple mistakes, and carelessness. Of course, no one is ever deliberately careless!

25.5.1 Pinging Works Only in One Way

" I can ping my Samba server from Windows, but I cannot ping my Windows machine from the Samba server ."

Answer: The Windows machine was at IP Address 192.168.1.2 with netmask 255.255.255.0, the Samba server (Linux) was at IP Address 192.168.1.130 with netmask 255.255.255.128. The machines were on a local network with no external connections.

Due to inconsistent netmasks , the Windows machine was on network 192.168.1.0/24, while the Samba server was on network 192.168.1.128/25 ” logically a different network.

25.5.2 Very Slow Network Connections

A common cause of slow network response includes:

  • Client is configured to use DNS and the DNS server is down.

  • Client is configured to use remote DNS server, but the remote connection is down.

  • Client is configured to use a WINS server, but there is no WINS server.

  • Client is not configured to use a WINS server, but there is a WINS server.

  • Firewall is filtering our DNS or WINS traffic.

25.5.3 Samba Server Name Change Problem

" The name of the Samba server was changed, Samba was restarted, Samba server cannot be pinged by new name from MS Windows NT4 Workstation, but it does still respond to ping using the old name. Why? "

From this description, three things are obvious:

  • WINS is not in use, only broadcast-based name resolution is used.

  • The Samba server was renamed and restarted within the last 10-15 minutes.

  • The old Samba server name is still in the NetBIOS name cache on the MS Windows NT4 Workstation.

To find what names are present in the NetBIOS name cache on the MS Windows NT4 machine, open a cmd shell and then:

 
 C:\> nbtstat -n NetBIOS Local Name Table Name Type Status --------------------------------------------------- FRODO <03> UNIQUE Registered ADMINSTRATOR <03> UNIQUE Registered FRODO <00> UNIQUE Registered SARDON <00> GROUP Registered FRODO <20> UNIQUE Registered FRODO <1F> UNIQUE Registered C:\> nbtstat -c NetBIOS Remote Cache Name Table Name Type Host Address Life [sec] --------------------------------------------------------------- GANDALF <20> UNIQUE 192.168.1.1 240 C:\> 

In the above example, GANDALF is the Samba server and FRODO is the MS Windows NT4 Workstation. The first listing shows the contents of the Local Name Table (i.e., Identity information on the MS Windows workstation) and the second shows the NetBIOS name in the NetBIOS name cache. The name cache contains the remote machines known to this workstation.



Official Samba-3 HOWTO and Reference Guide
The Official Samba-3 HOWTO and Reference Guide, 2nd Edition
ISBN: 0131882228
EAN: 2147483647
Year: 2005
Pages: 297

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net