----- Original Message ----- From: "Les Mikesell" <lesmikes...@gmail.com> To: "Jeff Boyce" <jbo...@meridianenv.com> Cc: "General list for user discussion, questions and support" <backuppc-users@lists.sourceforge.net> Sent: Friday, March 08, 2013 4:05 PM Subject: Re: [BackupPC-users] Connection failed, nt status bad network name
> On Fri, Mar 8, 2013 at 5:57 PM, Jeff Boyce <jbo...@meridianenv.com> wrote: >> >>> 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 > > You probably don't have a 'root' user on the windows box. Try: > smbclient '//jab-opti755/c$' -UAdministrator > or something that matches your shares. > [root@bacteria ~]# smbclient '//jab-opti755/c$' -UAdministrator Enter Administrator's password: Anonymous login successful Domain=[WORKGROUP] OS=[Windows Vista (TM) Ultimate 6002 Service Pack 2] Server=[Windows Vista (TM) Ultimate 6.0] tree connect failed: NT_STATUS_ACCESS_DENIED Ok, that one didn't work. But if I switch to the user that is common between Bacteria and jab-opti755, I can connect and see the desired share that I want to backup. What does this tell me? Where do I go from here? [jeffb@bacteria root]$ smbclient '//jab-opti755/f$' Enter jeffb's password: Domain=[JAB-OPTI755] OS=[Windows Vista (TM) Ultimate 6002 Service Pack 2] Server=[Windows Vista (TM) Ultimate 6.0] smb: \> smb: \> smb: \> dir $RECYCLE.BIN DHS 0 Sat Feb 23 16:58:00 2013 01 Cull Files DA 0 Mon Mar 4 15:00:22 2013 010 DVD TempWrite DA 0 Mon Mar 4 12:43:14 2013 011 ExportedEmail DA 0 Sun Feb 24 12:16:51 2013 012 QBTimer DA 0 Sun Feb 24 12:06:24 2013 013 Email D 0 Fri Mar 8 15:57:22 2013 02 Office Home Transfer DA 0 Sun Feb 24 11:04:21 2013 03 Office Projects DA 0 Sun Feb 24 11:04:13 2013 04GISData DA 0 Sun Feb 24 11:39:09 2013 05GISArchiveData DA 0 Sun Feb 24 12:05:05 2013 06 Office Reference DA 0 Tue Mar 5 10:10:49 2013 07 Home Projects DA 0 Sun Feb 24 12:07:03 2013 08 OpenSource DA 0 Mon Feb 25 16:16:32 2013 09 CD-DVD TempWrite DA 0 Mon Mar 4 12:49:25 2013 System Volume Information DHS 0 Sat Feb 23 16:57:54 2013 48078 blocks of size 4194304. 24409 blocks available >> 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 > > None of that should matter if your DNS works. > > -- > Les Mikesell > lesmikes...@gmail.com > Jeff Jeff Boyce Meridian Environmental ------------------------------------------------------------------------------ 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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/