Page 1 of 1

Windows Server 2022 and QNap user error

Posted: 19 Jan 2022, 00:46
by BeppeCTO
Hello

When try to backup to nas qnap set user and password but user is sended like

.\<username>

QNap not recognize this user

ERR 2022-01-19 00:32:35 L'utente .\xxxxx non รจ riuscito ad accedere: Nome utente o password non corretta

Tnx, Beppe

Re: Windows Server 2022 and QNap user error

Posted: 19 Jan 2022, 01:01
by cobian
If you are using impersonation with ".", then this is used to impersonate a user *on your computer". If the user is on the nas, then you should use the Nas name instead for "."

Re: Windows Server 2022 and QNap user error

Posted: 19 Jan 2022, 23:12
by BeppeCTO
Hi Cobian
If you are using impersonation with ".", then this is used to impersonate a user *on your computer". If the user is on the nas, then you should use the Nas name instead for "."
Oh yes, but with "nas//beppe" it doesn't work, even with ".//beppe" it doesn't work
I think that only "beppe" works without ".//" you can't avoid adding it.

Using FTP the backup works, unfortunately it puts all the dates of the files to the day of the Backup and does not keep the creation date

ciao, Beppe

Re: Windows Server 2022 and QNap user error

Posted: 19 Jan 2022, 23:56
by cobian
You need then to run the program as an application and not use impersonation.

Re: Windows Server 2022 and QNap user error

Posted: 20 Jan 2022, 00:03
by BeppeCTO
Cobian

Ok, but when my pc restarts I have to worry about restarting Cobian Reflector :(

Re: Windows Server 2022 and QNap user error

Posted: 20 Jan 2022, 00:46
by cobian
Another think you can do is to mount the share as a drive with a "Pre-backup event" and logs in the current user. Then with a Post backup event unmount the drive.

Google NET USE