Can't backup to network share without credentials on Windows

Backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)

Can't backup to network share without credentials on Windows

Veeam Logoby sirdeekay » Wed Aug 05, 2015 11:16 pm

I do backups to a shared folder on my Synology NAS - this folder is unprotected meaning I can access it without a username and password (both read and write). This worked fine in Windows 8.1 and VEB 1.0.

Now with Windows 10 and VEB 1.1 I can no longer do so. When I configure the Backup and click the "Polulate" button it says: Failed to get disk free space
I can enter my admin account in the credentials field below to get it to work - but I should not have to.

Same is true for restoring/browsing backups - the Backup browser asks for User/Password despite me being able to access the files without a password through windows explorer for example.

Case # 00985863
sirdeekay
Novice
 
Posts: 6
Liked: never
Joined: Wed Aug 05, 2015 10:59 pm
Full Name: Dee Kay

Re: Can't backup to network share without credentials on Win

Veeam Logoby Dima P. » Thu Aug 06, 2015 12:20 pm

Hello sirdeekay,
I do backups to a shared folder on my Synology NAS - this folder is unprotected meaning I can access it without a username and password (both read and write)

To clarify, the shared folder is accessible via regular windows browser? Can you copy/paste any file inside?
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Can't backup to network share without credentials on Win

Veeam Logoby sirdeekay » Thu Aug 06, 2015 12:42 pm

Yes I can create new files and also delete them. Just tried it with a SMB browser on my phone to be extra sure I haven't saved any credentials.
sirdeekay
Novice
 
Posts: 6
Liked: never
Joined: Wed Aug 05, 2015 10:59 pm
Full Name: Dee Kay

Re: Can't backup to network share without credentials on Win

Veeam Logoby Dima P. » Thu Aug 06, 2015 12:47 pm

Thanks for checking! And what happens if you leave the checkbox ‘This share requires access credentials’ unchecked? Are you able to finalize the configuration and complete the backup successfully?
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Can't backup to network share without credentials on Win

Veeam Logoby sirdeekay » Thu Aug 06, 2015 12:57 pm

No, when I click Next it says: The specified server cannot perform the requested operation. Failed to create or open file.
sirdeekay
Novice
 
Posts: 6
Liked: never
Joined: Wed Aug 05, 2015 10:59 pm
Full Name: Dee Kay

Re: Can't backup to network share without credentials on Win

Veeam Logoby Dima P. » Thu Aug 06, 2015 1:43 pm

sirdeekay,
Thanks. Unfortunately, I got nothing to add, so lets await for the investigation results: I’ve asked QA team to take a look at your case.
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Can't backup to network share without credentials on Win

Veeam Logoby Dima P. » Thu Aug 06, 2015 1:53 pm

UPDATE: I was told that we've seen this issue before and proposed to check if this solution helps, so kindly review and let me know if it works.
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Can't backup to network share without credentials on Win

Veeam Logoby sirdeekay » Thu Aug 06, 2015 2:04 pm

I disabled the Security Signature, rebooted and confirmed it was off via a Get-SmbClientConfiguration:
RequireSecuritySignature : False

Unfortunately I still get the same error. I just tried switching my NAS back to SMB 2 (from 3) to be sure it's not related to SMB 3 - still get the same error messages though.

Thanks for the suggestions though!
sirdeekay
Novice
 
Posts: 6
Liked: never
Joined: Wed Aug 05, 2015 10:59 pm
Full Name: Dee Kay

Re: Can't backup to network share without credentials on Win

Veeam Logoby sirdeekay » Thu Aug 06, 2015 2:06 pm

I just found out I can enter random stuff into the credentials field - it'll accept anything. Which further confirms I shouldn't need credentials I guess.
sirdeekay
Novice
 
Posts: 6
Liked: never
Joined: Wed Aug 05, 2015 10:59 pm
Full Name: Dee Kay

Re: Can't backup to network share without credentials on Win

Veeam Logoby Dima P. » Thu Aug 06, 2015 2:10 pm

Thanks for the heads up - getting back to QA team.
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Can't backup to network share without credentials on Win

Veeam Logoby sirdeekay » Thu Aug 06, 2015 2:22 pm

Did some more testing. If I enter something into the credentials field and click populate it works. I can then proceed to uncheck the credentials and it will still work. Even after restarting Veeam. Restarting the computer breaks it again though.
sirdeekay
Novice
 
Posts: 6
Liked: never
Joined: Wed Aug 05, 2015 10:59 pm
Full Name: Dee Kay

Re: Can't backup to network share without credentials on Win

Veeam Logoby Dima P. » Thu Aug 06, 2015 2:24 pm

Looks like a bug (definitely not a feature :mrgreen: ). I'll follow up shortly.
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Can't backup to network share without credentials on Win

Veeam Logoby clifton23 » Mon Aug 10, 2015 3:09 pm

I too have this issue. I know not much of a help by stating that but I am willing to help any way I can!
clifton23
Lurker
 
Posts: 1
Liked: never
Joined: Mon Aug 10, 2015 3:07 pm
Full Name: Clifton

Re: Can't backup to network share without credentials on Win

Veeam Logoby Dima P. » Tue Aug 11, 2015 11:08 am

Clifton,
The case is still under investigation. Can you clarify, have you tried the workaround described above?
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Can't backup to network share without credentials on Win

Veeam Logoby GBsysman » Tue Jul 12, 2016 7:25 pm 1 person likes this post

Configuring a Dell DR6300 with Veeam 9UP1 on WinSvr 2012 I had this happing. Was resolved by editing the registry and changing the credential format. I used hostIP\sharename for mine. See the instructions below:

These registry values must be created on the the SMB client, which is specified in the repository settings as “Gateway server”. If the gateway is set to “automatic”, add these registry values to all Windows servers managed by Veeam Backup & Replication.

NetUseShareAccess:
For Veeam B&R 8.0.0.917 or later, the following registry value allows Data Movers to open backup files by a resilient method similar to the Windows net use command.

Key: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
DWORD: NetUseShareAccess
Value: 1

Note: If credentials are required, specify Domain\User or Host\User in the repository settings. .\User credentials are not supported with NetUseShareAccess. For example, specify “NAS-01\Admin” instead of “.\Admin”.
GBsysman
Lurker
 
Posts: 1
Liked: 1 time
Joined: Tue Jul 12, 2016 7:19 pm
Full Name: Grant Booth

Next

Return to Veeam Agent for Windows



Who is online

Users browsing this forum: No registered users and 9 guests