[Samba] NetBIOS Name Resolution Problem?

2005-07-06 Thread Darryl G. Thomas

All,

1.  Here is my network configuration:

One NT4 PDC

One NT4 BDC

Two Sun boxes, both configured as Domain Member servers running Samba version
3.0.10 providing file and print  sharing.

Three Windows 2000 boxes configured as Citrix servers

Two Sun boxes configured as Sun  Ray servers (used in conjunction with the 
Citrix servers)

One UNIX box used as a DNS Master Server

One UNIX box used as a DNS Slave Server

One UNIX box used as an LDAP server

Several Mac OS 9 workstations

Several Mac OS X workstations

Several Sun workstations

Note:  At the moment there is no synchronization between the PDC/BDC and the
LDAP server.  All syncronization  (passwords, users, groups, etc are done 
manually).

2.  Problem:  My Windows 2000 clients can see and use all samba services
provided by both servers.  However, there appears to be NetBIOS resolution
problems at the PDC and BDC.

When running smbclient –L samba server on both samba servers, shares are listed.
 However, in the “work group” portion of the report I get the following result:

Session request to SAMBA_SERVER failed (Called name not present)
Session request to *SMBSERVER failed  (Called name not present)
NetBIOS over TCP disabled – workgroup unavailable.

The only reason I noticed this problem is that Mac OS X clients under
development could not connect to the samba shares.  However, Samba, as is, is
satisfying my user base with no problems.

3.  Troubleshooting

Both Samba servers passed ping tests.  To themselves, to the PDC and BDC, and
from the PDC and BDC to the Samba servers.

No firewalls are in use.

Ran testparm against the smb.conf file.  Passed.

Verified that the smbd and nmbd daemons were running on both Samba servers.

Ran nmblookup –B samba_server on both servers. Passed.

Ran nmblookup –B domain_controller ‘*’ on both the PDC and BDC.  Passed.

>From both Samba servers ran nmblookup –d 2 ‘*’.  Passed.

On both Samba servers, ran the smbclient test listed in the above problem
section with the noted results.

>From both the PDC and BDC, ran the net view command without any arguments.  
>Both
Samba servers were listed.

>From both the PDC and BDC ran net view \\samba _server and got the following 
>error:

“System error 53 has occurred
The network path was not found”

Finally, I ran the smbclient and nmblookup tests on both Samba servers with a
debugging level of 4.  The tests produced the following fatal error:
“Error loading module ‘/usr/local/smaba/charset/…..so’.  The modules each server
was attempting to load were not in the /usr/local/samba/charset directory.

4.  Questions

Is this a hostname resolution problem?

Are the missing charset modules causing my problem?

Will a recompilation fix the problem, or will I have to do a complete
de-installation?

Is there a work-around?








-
This mail sent through IMP: http://horde.org/imp/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] netbios name resolution problem

2003-05-29 Thread Russell, Toby
Hello all,

the subject is actually my guess as to the nature of the problem.

We have two Sun machines (Sol 8), both of which offer samba shares from
within the same workgroup. They are the only members of the group. One is a
produciton system, the other a test system. The company for whom we
administer these machines has the curious situation where they can browse
the production machine, but not the test machine, unless they use the test
machine's IP address when executing e.g. net view. They come from outside
the network via their own routers to us. We can browse both machines from
within the network, and another company (who administer the databases) can
also browse both machines, using the names. The problem for our client is
there regardless of where they attempt to log in from, within their company
networks.

I have reinstalled the latest version of samba on the test machine (2.2.8a),
and on the 'working' production we have 2.2.2. We have changed who should be
masterbrowser from production to test machine and back again, but this makes
no difference. We have even placed the machines in our client's workgroup,
although the two sun boxes have no way of conversing with our client's
PDC/masterbrowser. No matter what we do, the situation stays the same. 

The problem first reared its head on the 20th May. Before that date there
were no problems with samba. And it is the usual story; all relevant parties
have not changed a thing anywhere. All we have done is to reboot the test
machine due to a httpd problem. Strangely, having finally seen a broadcast
address error and fixed it, the problem has remained, despite reboots of the
relevant PC at our client's company.

For a while the following messages showed up in log.nmbd (I have the log
level at 6 on the test machine):

[2003/05/28 12:27:23, 4]
nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1664)
  retransmit_or_expire_response_records: timeout for packet id 1461 to IP *
on subnet *
[2003/05/28 12:54:52, 4]
nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1664)
  retransmit_or_expire_response_records: timeout for packet id 4343 to IP *
on subnet *
[2003/05/28 13:04:53, 4]
nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1664)
  retransmit_or_expire_response_records: timeout for packet id 4348 to IP *
on subnet *
[2003/05/28 13:04:53, 4]
nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1664)
  retransmit_or_expire_response_records: timeout for packet id 4349 to IP *
on subnet *
[2003/05/28 13:52:41, 4]
nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1664)
  retransmit_or_expire_response_records: timeout for packet id 8153 to IP *
on subnet *

However, those messages no longer seem to arise.

I have also tried setting bind interfaces only to yes, and listing the
interface in smb.conf.

On both machines smbclient returns the correct results, as does testparm.
The client can ping the test machine using the name, as well as ftp it. I
have spoken with the network people at the client's company, but they have
thrown up their hands and claimed to have changed nothing. In fact
everything works EXCEPT browsing by name on the test machine. I have been
working on this problem for days, have trawled google and am finally without
a clue as to how to proceed, other than to mail the people at the list here.
I hope you can help me.

Regards and thanks in advance

Toby Russell
(Applications Providing/UNIX)

Telefon  +49 (0) 30 72 62 3- 6669
Telefax  +49 (0) 30 72 62 3- 6689
Mobil +49 (0) 172 6847428
E-Mail[EMAIL PROTECTED]
Internet  www.BerlinDat.de
___

BerlinDat
Gesellschaft für Informationsverarbeitung und Systemtechnik mbH
Rohrdamm 7
13629 Berlin


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba