BackupPC-users

[BackupPC-users] NT_STATUS_ACCESS_DENIED but smbclient works!

2014-03-03 03:32:15
Subject: [BackupPC-users] NT_STATUS_ACCESS_DENIED but smbclient works!
From: Christian Völker <chrischan AT knebb DOT de>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 03 Mar 2014 09:13:07 +0100
Hi all,

well, I've seen a lot of posts from people getting the
"NT_STATUS_ACCESS_DENIED" error message trying to backup their windows
machines.

Nearly all of the solutions go into the direction of re-checking the
password in $Conf{SmbSharePasswd} = 'password;. I did this.
Next hints are to to see if smbclient works on the command line. it does:
=========================================================================
[root@backuppc pc]# smbclient -L ad -U DOM\\backuppc
Enter DOM\backuppc's password:
Domain=[DOM] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1]
Server=[Windows Server 2008 R2 Standard 6.1]

        Sharename       Type      Comment
        ---------       ----      -------
        ADMIN$          Disk      Remote Admin
        C$               Disk      Default share
        IPC$            IPC       Remote IPC
        NETLOGON        Disk      Logon server share
        print$          Disk      Printer Drivers
        prnproc$        Disk      Printer Drivers
        SYSVOL          Disk      Logon server share
Domain=[DOM] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1]
Server=[Windows Server 2008 R2 Standard 6.1]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
=========================================================================

Even directly accessing the configured share works fine:
===============================================================
smbclient //ad/C\$ -U backuppc
Enter backuppc's password:
Domain=[DOM] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1]
Server=[Windows Server 2008 R2 Standard 6.1]
smb: \> ls
  $Recycle.Bin                      DHS        0  Tue Dec 13 21:54:00 2011
  Documents and Settings            DHS        0  Tue Jul 14 07:06:44 2009
  HP Universal Print Driver           D        0  Wed Apr 25 22:26:13 2012
  pagefile.sys                      AHS 4294500352  Fri Feb 14 03:08:09 2014
  PerfLogs                            D        0  Tue Jul 14 05:20:08 2009
  Program Files                      DR        0  Wed Apr 25 22:28:54 2012
  Program Files (x86)                DR        0  Tue Oct 16 11:46:37 2012
  ProgramData                        DH        0  Fri May  4 21:14:48 2012
  Recovery                          DHS        0  Fri Dec  9 11:35:05 2011
  System Volume Information         DHS        0  Fri Dec  9 11:48:01 2011
  Users                              DR        0  Tue Dec 13 21:53:49 2011
  Windows                             D        0  Wed Dec  4 03:00:21 2013

                40857 blocks of size 1048576. 18195 blocks available
smb: \>
========================================================================
So I can access the share through command line.

I thought it might be reltated to Bugzilla 8922, but even removing
excluded directories does not change.

This is the logfile:
=============================================

Running: /usr/bin/smbclient //ad/C\$ -U DOM\\backuppc -E -N -d 1 -c tarmode\ 
full -Tc -
full backup started for share C$
Xfer PIDs are now 10691,10690
Anonymous login successful
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
Anonymous login successful
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share C$)
Backup aborted (No files dumped for share C$)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 0 and 0 files versus 0)

=================================================

But I have no clue why BackuPC gets "NT_STATUS_ACCESS_DENIED". Any idea?

Thanks

Christian


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>