First of all big thanks for everyone help and suggestions. The "estimate server" solved the problem, definitely the amsamba don't like in the estimate the NT_STATUS_ACCESS_DENIED even when is not in the PATH.
Cheers, Nuno On Tue, 2020-04-21 at 11:10 -0400, Nathan Stratton Treadway wrote: > On Tue, Apr 21, 2020 at 13:06:13 +0100, Nuno Dias wrote: > > I tried everything, I'm using the Administrator user in windows > > 10, I > > check and he has the rights to do everything, nevertheless in > > smbclient > > I have several ERRORS saying "NT_STATUS_ACCESS_DENIED listing" this > > is > > system files or system directories. > > > > The backup I want to do is the users directories, and I can read > > that > > directories and files, it seems amanda fails because of the > > previous > > ERRORS. > > > > Even if I put something like this //pcwindows/c$/Users/user/files > > and > > I'm positive that I can read these dir and files, I still have > > error > > in //pcwindows/c$/Progranas > > NT_STATUS_ACCESS_DENIED listing \Programas\* > > > > And this is not in the PATH of the backup :( > > Yeah, that does seem wierd :( > > It may be that the estimate phase inadvertently tries to access files > that are outside the specified directory tree, or something. (In my > case we are only backing up "data file" shares on the Windows PC, so > the > system directories are not included anywhere on the shares in > question.) > > Windows clients are definitely not my strong point, but if you want > you > could go ahead and send me (off-list) the Amsamba.*debug file that > corresponds to the failed estimate (and probably your amanda.conf and > disklist files too) and I can see if I can determine anything by > comparing that with the logs from my working system.... > > The other thing that just occurred to me is that if it seems like its > the estimate phase that is failing, you could trying adding "estimate > server" to the amsamba dumptype to see if that at least allows Amanda > to > proceed to the dumping phase. > > > Nathan > > ------------------------------------------------------------------- > --------- > Nathan Stratton Treadway - [email protected] - Mid-Atlantic > region > Ray Ontko & Co. - Software consulting services - > http://www.ontko.com/ > GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: > 1023D/ECFB6239 > Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239 -- Nuno Dias <[email protected]> LIP
