Problem accessing QNAP using alias instead of hostname from Windows 2012 R2 Server

whenz
whenz used Ask the Experts™
on
We have QNAP in place with the hostname QNAP01.  The Qnap has the latest firmware and is joined to the AD Domain.  We have the DNS entry for QNAP01 and also a CNAME ARCHIV in DNS.  From our Windows 7 and Windows 2008 R2 the users connect to the Qnap using the name \\archiv.  

Now we have a Windows 2012 R2 Citrix farm where the users can't connect using the alias \\archiv.  They get a authentication prompt.  When they enter their credentials they still cannot connect to the Qnap.  But when they enter the hostname \\qnap01 they can connect without any issues.

Please advise.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Architect
Distinguished Expert 2018
Commented:
TRY below
Connect to the NAS via SSH with the user admin.
Edit the file /etc/config/smb.conf and add the line :
netbios aliases = newalias
You can add it after [global]
save the file and restart samba by : /etc/init.d/smb.sh restart

After that, you should be able to access with alias

Also make sure there will be dns entry for above alias

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial