BackupPC-users

Re: [BackupPC-users] Connection failed, nt status bad network name

2013-03-08 18:59:05
Subject: Re: [BackupPC-users] Connection failed, nt status bad network name
From: "Jeff Boyce" <jboyce AT meridianenv DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>, "Les Mikesell" <lesmikesell AT gmail DOT com>
Date: Fri, 8 Mar 2013 15:57:43 -0800
----- Original Message ----- 
From: "Les Mikesell" <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" 
<backuppc-users AT lists.sourceforge DOT net>
Cc: "Jeff Boyce" <jboyce AT meridianenv DOT com>
Sent: Friday, March 08, 2013 3:28 PM
Subject: Re: [BackupPC-users] Connection failed, nt status bad network name


> On Fri, Mar 8, 2013 at 3:35 PM, Jeff Boyce <jboyce AT meridianenv DOT com> 
> wrote:
>>
>> I am setting up BackupPC for the first time and it is failing to connect 
>> to
>> the first test client.  The error that BackupPC is giving me is shown 
>> below.
>>
>> Error:
>> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
>>
>> Then later I see this at the top of the Host Summary Page:
>> Pings to jab-opti755 have failed 23 consecutive times.
>
> Do the target's have their host firewalls enabled?
>
>> My hypothesis, is that I do not have proper NetBios name resolution (or
>> caching) occurring within my network.
>
> If you have fixed IP's and they are in DNS it shouldn't matter.
>
>>
>> However, from Bacteria I can't get a listing of NetBios names.
>>
>> [root@bacteria ~]# findsmb
>
> Will this show netbios name?
> nmblookup -A 192.168.112.125
>

Yes, this appears to show netbios name.
[root@bacteria ~]# nmblookup -A 192.168.112.125
Looking up status of 192.168.112.125
        JAB-OPTI755     <00> -         M <ACTIVE>
        WORKGROUP       <00> - <GROUP> M <ACTIVE>
        JAB-OPTI755     <20> -         M <ACTIVE>
        WORKGROUP       <1e> - <GROUP> M <ACTIVE>


>> If there is any additional information that is needed to help pinpoint 
>> the
>> problem, or identify a solution, let me know.  My knowledge of NetBios
>> naming is pretty limited, so I am looking for some expert guidance to
>> resolve this issue.
>
> Try using smbclient to connect to the shares you are trying to back
> up, using the same names and credentials.  You might get better error
> messages in an interactive mode.
>

I am not familiar with smbclient options and example usage.  Will have to 
look this up more, but a basic query gives the same error as BackupPC.

[root@bacteria ~]# smbclient -L jab-opti755
Enter root's password:
session setup failed: NT_STATUS_LOGON_FAILURE

I have been reviewing Chapter 10 (Network Browsing) of the Samba documents, 
and here is something that caught my attention.  I am not sure if this is 
something relevant to my issue, so I am hoping someone can enlighten me.

My Samba config does not include a name resolve order setting.  And looking 
at the original Samba config that came with the CentOS 6 installation, there 
was not one in that either.  I checked my old Samba Server (RHEL 3) and it 
was in the original config for that one, but commented out.  Is this maybe 
my problem, do I need to include the following line in my Samba config to 
complete a proper configuration?

name resolve order = wins lmhosts bcast host

Jeff

Jeff Boyce
Meridian Environmental
www.meridianenv.com



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/