Link to home
Start Free TrialLog in
Avatar of clayperez1
clayperez1

asked on

Ping <samba PDC> returning incorrect IP address

When I execute the following command: PING smbserver
I get: Reply from 10.0.0.67: bytes=32 time<1ms TTL=64

However, the server's actual LAN IP address is 10.0.0.11, and this is listed in the server's etc\hosts and samba\lmhosts files as well as bound to the eth0 interface.  It is also reserved on the Linksys Wireless-G router which acts as the DHCP server for the entire network (both ethernet and wireless).

I have been trying to decipher the log files with debug level = 3, but nothing in there makes any sense to me.  The one thing I did notice is that on one of the client log files (JAKEVOSTRO) seems to have some errors, but I don't know what they mean, and could be indicative of the problem (log file attached)
[2008/03/12 15:03:55, 3] nmbd/nmbd_sendannounce.c:send_local_master_announcement(166)
  send_local_master_announcement: type 8c9b2b for name SMBSERVER on subnet 10.0.0.11 for workgroup SMBMARIETTA
[2008/03/12 15:03:55, 3] nmbd/nmbd_sendannounce.c:send_workgroup_announcement(185)
  send_workgroup_announcement: on subnet 10.0.0.11 for workgroup SMBMARIETTA
[2008/03/12 15:03:55, 3] nmbd/nmbd_winsserver.c:wins_multihomed_register_query_fail(1466)
  wins_multihomed_register_query_fail: Registering machine at IP 10.0.0.109 failed to answer query successfully for name JAKEVOSTRO<00>.
[2008/03/12 15:03:55, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1138)
  wins_process_name_registration_request: Group name registration for name SMBMARIETTA<00> IP 10.0.0.109
[2008/03/12 15:03:55, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1222)
  wins_process_name_registration_request: Adding IP 255.255.255.255 to group name SMBMARIETTA<00>.
[2008/03/12 15:03:55, 3] nmbd/nmbd_winsserver.c:wins_process_multihomed_name_registration_request(1520)
  wins_process_multihomed_name_registration_request: name registration for name JAKEVOSTRO<20> IP 10.0.0.109
[2008/03/12 15:03:55, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1138)
  wins_process_name_registration_request: Group name registration for name SMBMARIETTA<1e> IP 10.0.0.109
[2008/03/12 15:03:55, 3] nmbd/nmbd_winsserver.c:wins_process_name_registration_request(1222)
  wins_process_name_registration_request: Adding IP 255.255.255.255 to group name SMBMARIETTA<1e>.
[2008/03/12 15:03:55, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
  process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/03/12 15:03:55, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
  process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/03/12 15:03:59, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
  process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/03/12 15:04:03, 3] nmbd/nmbd_processlogon.c:process_logon_packet(358)
  process_logon_packet: SAMLOGON sidsize 0 ntv 11
[2008/03/12 15:04:16, 3] nmbd/nmbd_winsserver.c:wins_multihomed_register_query_fail(1466)
  wins_multihomed_register_query_fail: Registering machine at IP 10.0.0.109 failed to answer query successfully for name JAKEVOSTRO<20>.
[2008/03/12 15:04:16, 3] nmbd/nmbd_incomingdgrams.c:process_host_announce(117)
  process_host_announce: from JAKEVOSTRO<00> IP 10.0.0.109 to SMBMARIETTA<1d> for server JAKEVOSTRO.
[2008/03/12 15:04:16, 3] nmbd/nmbd_incomingdgrams.c:process_announce_request(788)
  process_announce_request: Announce request from JAKEVOSTRO<00> IP 10.0.0.109 to SMBMARIETTA<1d>.
[2008/03/12 15:04:16, 3] nmbd/nmbd_sendannounce.c:send_local_master_announcement(166)
  send_local_master_announcement: type 8c9b2b for name SMBSERVER on subnet 10.0.0.11 for workgroup SMBMARIETTA
[2008/03/12 15:04:16, 3] nmbd/nmbd_sendannounce.c:send_workgroup_announcement(185)
  send_workgroup_announcement: on subnet 10.0.0.11 for workgroup SMBMARIETTA
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_release_request(2020)
  wins_process_name_release_request: Unique name release for name JAKEVOSTRO<20> IP 10.0.0.109
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_release_request(2063)
  wins_process_name_release_request: Refusing request to release name JAKEVOSTRO<20> as IP 10.0.0.109 is not one of the known IP's for this name.
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_release_request(2020)
  wins_process_name_release_request: Unique name release for name JAKEVOSTRO<00> IP 10.0.0.109
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_release_request(2063)
  wins_process_name_release_request: Refusing request to release name JAKEVOSTRO<00> as IP 10.0.0.109 is not one of the known IP's for this name.
[2008/03/12 15:04:25, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(419)
  write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_release_request(2020)
  wins_process_name_release_request: Group name release for name SMBMARIETTA<1e> IP 10.0.0.109
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_release_request(2020)
  wins_process_name_release_request: Group name release for name SMBMARIETTA<00> IP 10.0.0.109
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(836)
  wins_process_name_refresh_request: Name refresh for name JAKEVOSTRO<20> IP 10.0.0.109
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(960)
  wins_process_name_refresh_request: Name refresh for name JAKEVOSTRO<20> with IP 10.0.0.109 and is IP is not known to the name.
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(836)
  wins_process_name_refresh_request: Name refresh for name JAKEVOSTRO<00> IP 10.0.0.109
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(960)
  wins_process_name_refresh_request: Name refresh for name JAKEVOSTRO<00> with IP 10.0.0.109 and is IP is not known to the name.
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(836)
  wins_process_name_refresh_request: Name refresh for name SMBMARIETTA<1e> IP 10.0.0.109
[2008/03/12 15:04:25, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(836)
  wins_process_name_refresh_request: Name refresh for name SMBMARIETTA<00> IP 10.0.0.109

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of SullyIT
SullyIT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Niels Huylebroeck
Niels Huylebroeck

Is it possible that you changed the IP address of PDC after installing it ?

Try these steps :

1) Shutdown all pc's in the domani
2) Stop your PDC smbd process
3) Delete / rename / move the wins.tdb file
4) Start your PDC
5) Start 1 pc to test.

If it still fails then, for all safety restore the wins.tdb to its original place/name.

Best of luck with this !
Avatar of clayperez1

ASKER

Here is something that seems to have been a major cause in all this hoopla...  The PDC is 10.0.0.11.  However, the WRT Router was broadcasting that it was also the local DNS, when really it was the router itself (which was also the gateway 10.0.0.1).  Whoever set up the router seems to have inadvertanlty indicated in its configuration that the local DNS was also the WINS server.  I have enabled DNSMasq and configured the router as the local DNS.  However, at the same time I have many clients with manual LMHOSTS settings to point to the appropriate WINS server.  Now I'm not sure whether it's safe to disable the manual settings in the LMHOSTS files on the computers.  i guess I'll have to try it.

Any more feedback?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial